]> icculus.org git repositories - divverent/nexuiz.git/blob - menu/normal.menu
-Added support to some of Toddd's sounds.
[divverent/nexuiz.git] / menu / normal.menu
1 /*
2 Property of Alientrap
3
4 Normal main menu
5 */
6 {
7         type            ITEM_WINDOW
8         name            main
9         parent          normal
10         origin          "0 0 0"
11 }
12 {
13         type            ITEM_WINDOW
14         name            background
15         parent          main
16         origin          "0 0 0"
17 }
18 // main menu
19 {
20         type            ITEM_WINDOW
21         name            mainmenu
22         parent          main
23         origin          "201 42"
24 }
25 {
26         type            ITEM_WINDOW
27         name            mainframe
28         parent          mainmenu
29         origin          "-201 -42"      
30         orderpos        1
31 }
32 /*
33 template
34
35 // nnn
36 {
37         type            ITEM_BUTTON
38         name            mainframe_nnn
39         parent          mainframe
40         pos             "0 0"
41         size            "185 58"
42         picture         "gfx/m_top_nnn"
43         picture_selected "gfx/m_top_sel_nnn"
44         picture_pressed "gfx/m_top_sel_nnn"
45         drawflag_pressed 1 // DRAWFLAG_ADD
46 }
47 */
48 // singleplayer
49 {
50         type            ITEM_TEXTBUTTON
51         name            mainmenu_creategame
52         parent          mainmenu
53         //pos                   "201 17"
54         pos             "0 0"
55         size            "185 58"
56         text            "Create Game"
57         /*picture               "gfx/m_top_singleplayer"
58         picture_selected "gfx/m_top_sel_singleplayer"
59         picture_pressed "gfx/m_top_sel_singleplayer"*/
60         drawflag_pressed 0
61         action          nex_display_multiplayer
62 }
63 // multiplayer
64 {
65         type            ITEM_TEXTBUTTON
66         name            mainmenu_joingame
67         parent          mainmenu
68         pos             "185 0"
69         size            "170 58"
70         text            "Join Game"
71         /*picture               "gfx/m_top_multiplayer"
72         picture_selected "gfx/m_top_sel_multiplayer"
73         picture_pressed "gfx/m_top_sel_multiplayer"*/
74         drawflag_pressed 0
75         //action                nex_display_multiplayer
76         action          nex_display_serverlist
77 }
78 // options
79 {
80         type            ITEM_BUTTON
81         name            mainmenu_options
82         parent          mainmenu
83         pos             "355 0"
84         size            "113 58"
85         picture         "gfx/m_top_options"
86         picture_selected "gfx/m_top_sel_options"
87         picture_pressed "gfx/m_top_sel_options"
88         drawflag_pressed 0
89         action          nex_display_options
90 }
91 // video
92 {
93         type            ITEM_BUTTON
94         name            mainmenu_video
95         parent          mainmenu
96         pos             "469 0"
97         size            "84 58"
98         picture         "gfx/m_top_video"
99         picture_selected "gfx/m_top_sel_video"
100         picture_pressed "gfx/m_top_sel_video"
101         drawflag_pressed 0
102         action          nex_display_video
103 }
104 // quit
105 {
106         type            ITEM_BUTTON
107         name            mainmenu_quit
108         parent          mainmenu
109         pos             "553 0"
110         size            "67 58"
111         picture         "gfx/m_top_quit"
112         picture_selected "gfx/m_top_sel_quit"
113         picture_pressed "gfx/m_top_sel_quit"
114         drawflag_pressed 0
115         action          nex_quit
116 }
117 // frame windows
118 {
119         type            ITEM_PICTURE
120         name            main_strength
121         parent          mainframe
122         picture         "gfx/m_strength"
123         pos             "220 72 0"
124         size            "577 533 0"
125         drawflag        1
126         reinit          nex_makeselfonlyvisible
127 }
128 {
129         type            ITEM_WINDOW
130         name            singleplayer
131         parent          mainframe
132         origin          "500 175"
133 }
134 {
135         type            ITEM_WINDOW
136         name            multiplayer
137         parent          mainframe
138         //origin                "350 100"
139         origin          "210 125"
140 }
141 {
142         type            ITEM_WINDOW
143         name            options
144         parent          mainframe
145 }
146 {
147         type            ITEM_WINDOW
148         name            video
149         parent          mainframe
150         origin          "512 200"
151 }
152 // quit window
153 {
154         type            ITEM_WINDOW
155         name            quitbox
156 }
157 // nice hack so I dont have to change the menu manager
158 {
159         type            ITEM_REFERENCE
160         name            quitbox_ref
161         parent          quitbox
162         flag            1024    // FLAG_CHILDDRAWONLY
163 }
164 // quit stuff
165 {
166         type            ITEM_WINDOW
167         name            quitbox_wnd
168         parent          quitbox
169         origin          "407 344"
170 }
171 // quit box
172 {
173         type            ITEM_RECTANGLE
174         name            quitbox_wnd_bg
175         parent          quitbox_wnd
176         color           "0.0 0.0 0.1"
177         alpha           0.5
178         drawflag        0       // DRAWFLAG_MODULATE
179         size            "210 80"
180 }/*
181 {
182         type            ITEM_TEXT
183         name            quitbox_wnd_text1
184         parent          quitbox_wnd
185         pos                     "10 10"
186 }
187 {
188         type            ITEM_TEXT
189         name            quitbox_wnd_text2
190         parent          quitbox_wnd
191         pos                     "10 30"
192 }*/
193 {
194         type            ITEM_TEXT
195         name            quitbox_wnd_text
196         parent          quitbox_wnd
197         text            "Exit Game ?"
198         size            "200 13"
199         font_size       "13 13"
200         alignment       1
201         pos                     "10 10"
202 }
203 // yes
204 {
205         type            ITEM_TEXTBUTTON
206         name            quitbox_wnd_yes
207         parent          quitbox_wnd
208         pos                     "10 50"
209         text            "Yes"
210         action          nex_quit_yes
211         key                     nex_quit_key
212         orderpos        101
213 }
214 // no
215 {
216         type            ITEM_TEXTBUTTON
217         name            quitbox_wnd_no
218         parent          quitbox_wnd
219         pos                     "180 50"
220         text            "No"
221         action          nex_quit_no
222         key                     nex_quit_key
223         orderpos        100
224 }
225
226