]> icculus.org git repositories - divverent/nexuiz.git/blob - menu/normal.menu
grappling hook
[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_BUTTON
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_creategame
62         sound_pressed   "misc/menu2.wav"
63 }
64 // multiplayer
65 {
66         type            ITEM_BUTTON
67         name            mainmenu_joingame
68         parent          mainmenu
69         pos             "185 0"
70         size            "170 58"
71         //text          "Join Game"
72         picture         "gfx/m_top_multiplayer"
73         picture_selected "gfx/m_top_sel_multiplayer"
74         picture_pressed "gfx/m_top_sel_multiplayer"
75         drawflag_pressed 0
76         //action                nex_display_multiplayer
77         action          nex_display_serverlist
78         sound_pressed   "misc/menu2.wav"
79 }
80 // options
81 {
82         type            ITEM_BUTTON
83         name            mainmenu_options
84         parent          mainmenu
85         pos             "355 0"
86         size            "113 58"
87         picture         "gfx/m_top_options"
88         picture_selected "gfx/m_top_sel_options"
89         picture_pressed "gfx/m_top_sel_options"
90         drawflag_pressed 0
91         action          nex_display_options
92         sound_pressed   "misc/menu2.wav"
93 }
94 // video
95 {
96         type            ITEM_BUTTON
97         name            mainmenu_video
98         parent          mainmenu
99         pos             "469 0"
100         size            "84 58"
101         picture         "gfx/m_top_video"
102         picture_selected "gfx/m_top_sel_video"
103         picture_pressed "gfx/m_top_sel_video"
104         drawflag_pressed 0
105         action          nex_display_video
106         sound_pressed   "misc/menu2.wav"
107 }
108 // quit
109 {
110         type            ITEM_BUTTON
111         name            mainmenu_quit
112         parent          mainmenu
113         pos             "553 0"
114         size            "67 58"
115         picture         "gfx/m_top_quit"
116         picture_selected "gfx/m_top_sel_quit"
117         picture_pressed "gfx/m_top_sel_quit"
118         drawflag_pressed 0
119         action          nex_quit
120 }
121 // frame windows
122 {
123         type            ITEM_PICTURE
124         name            main_strength
125         parent          mainframe
126         picture         "gfx/m_strength"
127         pos             "220 72 0"
128         size            "577 533 0"
129         drawflag        1
130         reinit          nex_makeselfonlyvisible
131 }
132 {
133         type            ITEM_WINDOW
134         name            singleplayer
135         parent          mainframe
136         origin          "500 175"
137 }
138 {
139         type            ITEM_WINDOW
140         name            creategame
141         parent          mainframe
142         //origin                "350 100"
143         origin          "210 155"
144 }
145 {
146         type            ITEM_WINDOW
147         name            options
148         parent          mainframe
149 }
150 {
151         type            ITEM_WINDOW
152         name            video
153         parent          mainframe
154         origin          "512 200"
155 }
156 // quit window
157 {
158         type            ITEM_WINDOW
159         name            quitbox
160 }
161 // nice hack so I dont have to change the menu manager
162 {
163         type            ITEM_REFERENCE
164         name            quitbox_ref
165         parent          quitbox
166         flag            1024    // FLAG_CHILDDRAWONLY
167 }
168 // quit stuff
169 {
170         type            ITEM_WINDOW
171         name            quitbox_wnd
172         parent          quitbox
173         origin          "407 344"
174 }
175 // quit box
176 {
177         type            ITEM_RECTANGLE
178         name            quitbox_wnd_bg
179         parent          quitbox_wnd
180         color           "0.0 0.0 0.1"
181         alpha           0.5
182         drawflag        0       // DRAWFLAG_MODULATE
183         size            "210 80"
184 }/*
185 {
186         type            ITEM_TEXT
187         name            quitbox_wnd_text1
188         parent          quitbox_wnd
189         pos                     "10 10"
190 }
191 {
192         type            ITEM_TEXT
193         name            quitbox_wnd_text2
194         parent          quitbox_wnd
195         pos                     "10 30"
196 }*/
197 {
198         type            ITEM_TEXT
199         name            quitbox_wnd_text
200         parent          quitbox_wnd
201         text            "Exit Game ?"
202         size            "200 13"
203         font_size       "13 13"
204         alignment       1
205         pos                     "10 10"
206 }
207 // yes
208 {
209         type            ITEM_TEXTBUTTON
210         name            quitbox_wnd_yes
211         parent          quitbox_wnd
212         pos                     "10 50"
213         text            "Yes"
214         action          nex_quit_yes
215         key                     nex_quit_key
216         orderpos        101
217 }
218 // no
219 {
220         type            ITEM_TEXTBUTTON
221         name            quitbox_wnd_no
222         parent          quitbox_wnd
223         pos                     "180 50"
224         text            "No"
225         action          nex_quit_no
226         key                     nex_quit_key
227         orderpos        100
228 }
229
230