]> icculus.org git repositories - divverent/nexuiz.git/blob - menusrc/main.menu
marked two todo items as done (velocity for damage, blow away casings and gibs)
[divverent/nexuiz.git] / menusrc / 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 */
23 {
24         type            ITEM_WINDOW
25         name            mainframe
26         origin          "201 42"
27 }
28 // singleplayer
29 {
30         type            ITEM_BUTTON
31         name            mainframe_singleplayer
32         parent          mainframe
33         //pos                   "201 17"
34         pos                     "0 0"
35         size            "185 58"
36         picture         "gfx/m_top_singleplayer"
37         picture_selected "gfx/m_top_sel_singleplayer"
38         picture_pressed "gfx/m_top_sel_singleplayer"
39         drawflag_pressed 0
40 }
41 // multiplayer
42 {
43         type            ITEM_BUTTON
44         name            mainframe_multiplayer
45         parent          mainframe
46         pos                     "185 0"
47         size            "170 58"
48         picture         "gfx/m_top_multiplayer"
49         picture_selected "gfx/m_top_sel_multiplayer"
50         picture_pressed "gfx/m_top_sel_multiplayer"
51         drawflag_pressed 0
52 }
53 // options
54 {
55         type            ITEM_BUTTON
56         name            mainframe_options
57         parent          mainframe
58         pos                     "355 0"
59         size            "113 58"
60         picture         "gfx/m_top_options"
61         picture_selected "gfx/m_top_sel_options"
62         picture_pressed "gfx/m_top_sel_options"
63         drawflag_pressed 0
64         action          nex_display_options
65 }
66 // video
67 {
68         type            ITEM_BUTTON
69         name            mainframe_video
70         parent          mainframe
71         pos                     "469 0"
72         size            "84 58"
73         picture         "gfx/m_top_video"
74         picture_selected "gfx/m_top_sel_video"
75         picture_pressed "gfx/m_top_sel_video"
76         drawflag_pressed 0
77         action          nex_display_video
78 }
79 // quit
80 {
81         type            ITEM_BUTTON
82         name            mainframe_quit
83         parent          mainframe
84         pos                     "553 0"
85         size            "67 58"
86         picture         "gfx/m_top_quit"
87         picture_selected "gfx/m_top_sel_quit"
88         picture_pressed "gfx/m_top_sel_quit"
89         drawflag_pressed 0
90         action          nex_quit
91 }
92 // quit window
93 {
94         type            ITEM_WINDOW
95         name            quitbox
96 }
97 // nice hack so I dont have to change the menu manager
98 {
99         type            ITEM_REFERENCE
100         name            quitbox_ref
101         parent          quitbox
102         flag            1024    // FLAG_CHILDDRAWONLY
103 }
104 // quit stuff
105 {
106         type            ITEM_WINDOW
107         name            quitbox_wnd
108         parent          quitbox
109         origin          "407 344"
110 }
111 // quit box
112 {
113         type            ITEM_RECTANGLE
114         name            quitbox_wnd_bg
115         parent          quitbox_wnd
116         color           "0.1 0.1 0.1"
117         drawflag        2       // DRAWFLAG_MODULATE
118         size            "210 80"
119 }/*
120 {
121         type            ITEM_TEXT
122         name            quitbox_wnd_text1
123         parent          quitbox_wnd
124         pos                     "10 10"
125 }
126 {
127         type            ITEM_TEXT
128         name            quitbox_wnd_text2
129         parent          quitbox_wnd
130         pos                     "10 30"
131 }*/
132 {
133         type            ITEM_TEXT
134         name            quitbox_wnd_text
135         parent          quitbox_wnd
136         text            "Exit Game ?"
137         size            "200 13"
138         font_size       "13 13"
139         alignment       1
140         pos                     "10 10"
141 }
142 // yes
143 {
144         type            ITEM_TEXTBUTTON
145         name            quitbox_wnd_yes
146         parent          quitbox_wnd
147         pos                     "10 50"
148         text            "Yes"
149         action          nex_quit_yes
150         key                     nex_quit_key
151         orderpos        101
152 }
153 // no
154 {
155         type            ITEM_TEXTBUTTON
156         name            quitbox_wnd_no
157         parent          quitbox_wnd
158         pos                     "180 50"
159         text            "No"
160         action          nex_quit_no
161         key                     nex_quit_key
162         orderpos        100
163 }
164
165
166