summaryrefslogtreecommitdiff
path: root/assets/ui/ingame.menu
blob: 033e6f1278c1869e87518cd639c185dd266444df (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
#include "ui/menudef.h"
{
#define W       640
#define H       480
menuDef
  {
    name "ingame"
    visible 1
	outOfBoundsClick
    rect 0 0 640 480 
    focusColor 1 1 1 1
    style WINDOW_STYLE_FILLED
	onOpen { uiScript stopRefresh ; }
    onESC
    {
      play "sound/misc/menu1.wav";
      close ingame
    }
	
	itemDef
    {
      name "aurora_add"
      style WINDOW_STYLE_SHADER
      rect -180 0 1000 480
      visible 1
	  background "ui/menu_main_aurora_base_stars"
      decoration
    }
	
	itemDef
    {
      name "aurora"
      style WINDOW_STYLE_SHADER
      rect -160 0 1000 480
      visible 1
	  background "ui/menu_main_aurora_base"
      decoration
    }
	
	itemDef
    {
      name "dist"
      style WINDOW_STYLE_SHADER
      rect -250 0 1000 480
      visible 1
	  background "gfx/edge/basi_invisble_overlay"
      decoration
    }
	
	itemDef
    {
      name "edgesplash"
      rect 250 50 680 680
      type ITEM_TYPE_MODEL
      style WINDOW_STYLE_FILLED
      asset_model "ui/assets/e6.md3"
      model_fovx 30.0
      model_fovy 30.0
      model_angle 180
      visible 1
      decoration
    }
	itemDef
    {
      name "menu"
      style WINDOW_STYLE_SHADER
      rect 270 160 110 190
      visible 1
	  background "ui/assets/main_base.png"
      decoration
    }
	itemDef
    {
      name "menu_add"
      style WINDOW_STYLE_SHADER
      rect 245 132 160 238
      visible 1
	  background "scripts/main_add"
      decoration
    }	
	itemDef
    {
      name "menu_add_pulse"
      style WINDOW_STYLE_SHADER
      rect 245 132 160 238
      visible 1
	  background "scripts/main_add_pulse"
      decoration
    }
	itemDef
    {
      name "bu1"
      type ITEM_TYPE_BUTTON
      text "MANUAL"
      style WINDOW_STYLE_EMPTY
      textscale .3
      rect 300 190 50 20
      textalign ALIGN_CENTER
      textvalign VALIGN_CENTER
      forecolor 0 0.8 1 1
      visible 1
      action
    {
      play "sound/misc/menu1.wav";
	  open ingame_yehelp
    }
    }
	itemDef
    {
      name "bu2"
      type ITEM_TYPE_BUTTON
      text "VOTE MAPS"
      style WINDOW_STYLE_EMPTY
      textscale .3
      rect 300 205 50 20
      textalign ALIGN_CENTER
      textvalign VALIGN_CENTER
      forecolor 0 0.8 1 1
      visible 1
      action
    {
      play "sound/misc/menu1.wav";
	  open ingame_map
    }
    }
	 itemDef
    {
      name "bu3"
      type ITEM_TYPE_BUTTON
      text "VOTE PLAYERS"
      style WINDOW_STYLE_EMPTY
      textscale .3
      rect 300 220 50 20
      textalign ALIGN_CENTER
      textvalign VALIGN_CENTER
      forecolor 0 0.8 1 1
      visible 1
      action
    {
      play "sound/misc/menu1.wav";
	  open ingame_game
    }
    }
	 itemDef
    {
      name "bu4"
      type ITEM_TYPE_TEXT
      text "IGNORE PLAYERS"
      style WINDOW_STYLE_EMPTY
      textscale .3
      rect 300 235 50 20
      textalign ALIGN_CENTER
      textvalign VALIGN_CENTER
      forecolor 0 0.8 1 1
      visible 1
      action
    {
      play "sound/misc/menu1.wav";
	  open ingame_ignore
    }
    }
    itemDef
    {
      name "bu5x"
      type ITEM_TYPE_BUTTON
      text "SERVER BROWSER"
      style WINDOW_STYLE_EMPTY
      textscale .3
      rect 300 250 50 20
      textalign ALIGN_CENTER
      textvalign VALIGN_CENTER
      forecolor 0 0.8 1 1
      visible 1
      action
    {
      play "sound/misc/menu1.wav";
	  open ingame_sbrowser
    }
    }
    itemDef
    {
      name "bu5"
      type ITEM_TYPE_BUTTON
      text "ROBOT HELPER"
      style WINDOW_STYLE_EMPTY
      textscale .3
	  rect 300 265 50 20
      textalign ALIGN_CENTER
      textvalign VALIGN_CENTER
      forecolor 0 0.8 1 1
      visible 1
      action
    {
      play "sound/misc/menu1.wav";
	  open ingame_robot
    }
    }
	 itemDef
    {
      name "bu6"
      type ITEM_TYPE_BUTTON
      text "OPTIONS"
      style WINDOW_STYLE_EMPTY
      textscale .3
      rect 300 280 50 20
      textalign ALIGN_CENTER
      textvalign VALIGN_CENTER
      forecolor 0 0.8 1 1
      visible 1
      action
    {
      play "sound/misc/menu1.wav";
	  open ingame_options
    }
    }
	itemDef
    {
      name "bu7"
      type ITEM_TYPE_TEXT
      text "EXIT"
      style WINDOW_STYLE_EMPTY
      textscale .3
      rect 300 295 50 20
      textalign ALIGN_CENTER
      textvalign VALIGN_CENTER
      forecolor 0 0.8 1 1
      visible 1
      action
    {
      play "sound/misc/menu1.wav";
	  open ingame_leave
    }
	}
}