]> icculus.org git repositories - divverent/nexuiz.git/blob - menu/main.menu
grappling hook
[divverent/nexuiz.git] / menu / main.menu
1 /*
2 Property of Alientrap
3
4 Main frame
5 */
6 /*
7 template
8
9 // nnn
10 {
11         type            ITEM_BUTTON
12         name            mainframe_nnn
13         parent          mainframe
14         pos             "0 0"
15         size            "185 58"
16         picture         "gfx/m_top_nnn"
17         picture_selected "gfx/m_top_sel_nnn"
18         picture_pressed "gfx/m_top_sel_nnn"
19         drawflag_pressed 1 // DRAWFLAG_ADD
20 }
21 */
22 // singleplayer
23 {
24         type            ITEM_BUTTON
25         name            mainmenu_singleplayer
26         parent          mainmenu
27         //pos                   "201 17"
28         pos                     "0 0"
29         size            "185 58"
30         picture         "gfx/m_top_singleplayer"
31         picture_selected "gfx/m_top_sel_singleplayer"
32         picture_pressed "gfx/m_top_sel_singleplayer"
33         drawflag_pressed 0
34         action          nex_display_singleplayer
35 }
36 // multiplayer
37 {
38         type            ITEM_BUTTON
39         name            mainmenu_multiplayer
40         parent          mainmenu
41         pos                     "185 0"
42         size            "170 58"
43         picture         "gfx/m_top_multiplayer"
44         picture_selected "gfx/m_top_sel_multiplayer"
45         picture_pressed "gfx/m_top_sel_multiplayer"
46         drawflag_pressed 0
47         action          nex_display_multiplayer
48 }
49 // options
50 {
51         type            ITEM_BUTTON
52         name            mainmenu_options
53         parent          mainmenu
54         pos                     "355 0"
55         size            "113 58"
56         picture         "gfx/m_top_options"
57         picture_selected "gfx/m_top_sel_options"
58         picture_pressed "gfx/m_top_sel_options"
59         drawflag_pressed 0
60         action          nex_display_options
61 }
62 // video
63 {
64         type            ITEM_BUTTON
65         name            mainmenu_video
66         parent          mainmenu
67         pos                     "469 0"
68         size            "84 58"
69         picture         "gfx/m_top_video"
70         picture_selected "gfx/m_top_sel_video"
71         picture_pressed "gfx/m_top_sel_video"
72         drawflag_pressed 0
73         action          nex_display_video
74 }
75 // quit
76 {
77         type            ITEM_BUTTON
78         name            mainmenu_quit
79         parent          mainmenu
80         pos                     "553 0"
81         size            "67 58"
82         picture         "gfx/m_top_quit"
83         picture_selected "gfx/m_top_sel_quit"
84         picture_pressed "gfx/m_top_sel_quit"
85         drawflag_pressed 0
86         action          nex_quit
87 }
88 // quit window
89 {
90         type            ITEM_WINDOW
91         name            quitbox
92 }
93 // nice hack so I dont have to change the menu manager
94 {
95         type            ITEM_REFERENCE
96         name            quitbox_ref
97         parent          quitbox
98         flag            1024    // FLAG_CHILDDRAWONLY
99 }
100 // quit stuff
101 {
102         type            ITEM_WINDOW
103         name            quitbox_wnd
104         parent          quitbox
105         origin          "407 344"
106 }
107 // quit box
108 {
109         type            ITEM_RECTANGLE
110         name            quitbox_wnd_bg
111         parent          quitbox_wnd
112         color           "0.0 0.0 0.1"
113         alpha           0.5
114         drawflag        0       // DRAWFLAG_MODULATE
115         size            "210 80"
116 }/*
117 {
118         type            ITEM_TEXT
119         name            quitbox_wnd_text1
120         parent          quitbox_wnd
121         pos                     "10 10"
122 }
123 {
124         type            ITEM_TEXT
125         name            quitbox_wnd_text2
126         parent          quitbox_wnd
127         pos                     "10 30"
128 }*/
129 {
130         type            ITEM_TEXT
131         name            quitbox_wnd_text
132         parent          quitbox_wnd
133         text            "Exit Game ?"
134         size            "200 13"
135         font_size       "13 13"
136         alignment       1
137         pos                     "10 10"
138 }
139 // yes
140 {
141         type            ITEM_TEXTBUTTON
142         name            quitbox_wnd_yes
143         parent          quitbox_wnd
144         pos                     "10 50"
145         text            "Yes"
146         action          nex_quit_yes
147         key                     nex_quit_key
148         orderpos        101
149 }
150 // no
151 {
152         type            ITEM_TEXTBUTTON
153         name            quitbox_wnd_no
154         parent          quitbox_wnd
155         pos                     "180 50"
156         text            "No"
157         action          nex_quit_no
158         key                     nex_quit_key
159         orderpos        100
160 }
161
162
163