summaryrefslogtreecommitdiff
path: root/assets/ui/ingame_game.menu
blob: 76d4ed65d7b7100cdb9ab1ae62f903b044d37666 (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
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
#include "ui/menudef.h"
{
#define W       999
#define H       210
  menuDef
  {
    name "ingame_game"
    visible MENU_FALSE
    fullscreen MENU_FALSE
	outOfBoundsClick
    rect (320-(W/2)) (240-(H/2)) W H
    focusColor 1 1 1 1
    style WINDOW_STYLE_FILLED
    popup
    onESC
    {
      play "sound/misc/menu1.wav";
      close ingame_game
    }
    onopen
    {
      uiScript InitIgnoreList;
      uiScript loadServerInfo;
	  show vote;
	  close ingame;
    }
	
	itemDef
    {
      name "aurora_add"
      style WINDOW_STYLE_SHADER
      rect 0 -125 1000 500
      visible 1
	  background "ui/menu_main_aurora_base_stars"
      decoration
    }
	
	itemDef
    {
      name "aurora"
      style WINDOW_STYLE_SHADER
      rect 0 0 1000 480
      visible 1
	  background "ui/menu_main_aurora_base"
      decoration
    }
	
	itemDef
    {
      name "dist"
      style WINDOW_STYLE_SHADER
      rect -50 -150 1000 600
      visible 1
	  background "gfx/edge/basi_invisble_overlay"
      decoration
    }

    itemDef
    {
    name "window"
      rect 0 -60 1280 340
      style WINDOW_STYLE_FILLED
      backcolor 0 0 0 .9
      visible 1
      decoration
    }
    itemDef
    {
      name "vote"
      text "List All Players"
      group gameGrp
      style WINDOW_STYLE_EMPTY
      rect 390 -50 80 25
      type ITEM_TYPE_BUTTON
      textalign ALIGN_RIGHT
      textvalign VALIGN_CENTER
      textscale .4
      forecolor 0 0.8 1 1
      visible MENU_TRUE
      action
      {
        play "sound/misc/menu1.wav";
        hide gameGrp;
        show playervote;
        show reasonfield;
        show vote;
      }
    }
    itemDef
    {
      name "vote"
      text "List Teammates"
      group gameGrp
      style WINDOW_STYLE_EMPTY
      rect 530 -50 80 25
      type ITEM_TYPE_BUTTON
      textalign ALIGN_RIGHT
      textvalign VALIGN_CENTER
      textscale .4
      forecolor 0 0.8 1 1
      visible MENU_TRUE
      action
      {
        play "sound/misc/menu1.wav";
        hide gameGrp;
        show teamvote;
        show reasonfield;
        show vote;
      }
    }
    itemDef
    {
      name "playervote"
      group gameGrp
      rect 300 -20 400 250
      style WINDOW_STYLE_EMPTY
      type ITEM_TYPE_LISTBOX
      elementwidth 120
      elementheight 15
      textscale .225
      elementtype LISTBOX_TEXT
      feeder FEEDER_PLAYER_LIST
      forecolor     1   1   1   1
      backcolor     0.2 0.2 0.2 1
      outlinecolor  0.1 0.1 0.1 0.5
      visible MENU_FALSE
    }
    itemDef
    {
      name "playervote"
      group gameGrp
      text "Mute Player"
      type ITEM_TYPE_BUTTON
      textscale .35
      rect 450 250 80 25
      textalign ALIGN_CENTER
      textvalign VALIGN_CENTER
      forecolor 0 0.8 1 1
      visible MENU_FALSE
      action
      {
        play "sound/misc/menu1.wav";
        uiScript voteMute;
        uiScript closeingame
      }
    }
    itemDef
    {
      name "playervote"
      group gameGrp
      text "Un-Mute Player"
      type ITEM_TYPE_BUTTON
      textscale .35
      rect 585 250 80 25
      textalign ALIGN_CENTER
      textvalign VALIGN_CENTER
      forecolor 0 0.8 1 1
      visible MENU_FALSE
      action
      {
        play "sound/misc/menu1.wav";
        uiScript voteUnMute;
        uiScript closeingame
      }
    }

    itemDef
    {
      name "playervote"
      group gameGrp
      text "Kick Player"
      type ITEM_TYPE_BUTTON
      textscale .35
      rect 315 250 80 25
      textalign ALIGN_CENTER
      textvalign VALIGN_CENTER
      forecolor 0 0.8 1 1
      visible MENU_FALSE
      action
      {
        play "sound/misc/menu1.wav";
        uiScript voteKick;
        uiScript closeingame
      }
    }
    itemDef
    {
      name "teamvote"
      group gameGrp
      rect 300 -20 400 250
      style WINDOW_STYLE_EMPTY
      type ITEM_TYPE_LISTBOX
      elementwidth 120
      elementheight 15
      textscale .225
      elementtype LISTBOX_TEXT
      feeder FEEDER_TEAM_LIST
      forecolor     1   1   1   1
      backcolor     0.2 0.2 0.2 1
      outlinecolor  0.1 0.1 0.1 0.5
      visible MENU_FALSE
    }
    itemDef
    {
      name "teamvote"
      group gameGrp
      text "Kick Teammate"
      type ITEM_TYPE_BUTTON
      textscale .35
      rect 325 250 80 25
      textalign ALIGN_CENTER
      textvalign VALIGN_CENTER
      forecolor 0 0.8 1 1
      visible MENU_FALSE
      action
      {
        play "sound/misc/menu1.wav";
        uiScript voteTeamKick;
        uiScript closeingame
      }
    }
    itemDef
    {
      name "teamvote"
      group gameGrp
      text "Deny Building"
      type ITEM_TYPE_BUTTON
      textscale .35
      rect 455 250 80 25
      textalign ALIGN_CENTER
      textvalign VALIGN_CENTER
      forecolor 0 0.8 1 1
      visible MENU_FALSE
      action
      {
        play "sound/misc/menu1.wav";
        uiScript voteTeamDenyBuild;
        uiScript closeingame
      }
    }
    itemDef
    {
      name "teamvote"
      group gameGrp
      text "Allow Building"
      type ITEM_TYPE_BUTTON
      textscale .35
      rect 595 250 80 25
      textalign ALIGN_CENTER
      textvalign VALIGN_CENTER
      forecolor 0 0.8 1 1
      visible MENU_FALSE
      action
      {
        play "sound/misc/menu1.wav";
        uiScript voteTeamAllowBuild;
        uiScript closeingame
      }
    }
	    itemDef
    {
      name "reasonfield"
      type ITEM_TYPE_EDITFIELD
      style WINDOW_STYLE_FILLED
      text "Reason:"
      cvar "ui_reason"
      maxChars 100
      rect 302 235 398 15
      textalign ALIGN_LEFT
      textvalign VALIGN_CENTER
      textscale .30
	  backcolor     1 1 1 0.2
      forecolor     1   1   1   1
      visible MENU_FALSE
    }
  }
}