blob: ec56a3a816654408d4f7b785d26cee6a67fc3d37 (
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
|
#include "ui/menudef.h"
{
\\ INGAME GAME BOX \\
#define X 10
#define Y 60
#define BORDER 10
#define TOPBUTT_W 80
#define TOPBUTT_H 30
#define SIDEBUTT_W 50
#define SIDEBUTT_H 25
#define MAP_X (SIDEBUTT_W+BORDER)
#define MAP_Y ((2*BORDER)+TOPBUTT_H)
#define MAP_W 124
#define MAP_H 93
#define MAPLIST_X MAP_X
#define MAPLIST_Y ((3*BORDER)+TOPBUTT_H+MAP_H)
#define MAPLIST_W (W-((2*BORDER)+SIDEBUTT_W))
#define MAPLIST_H (H-((4*BORDER)+MAP_H+TOPBUTT_H))
#define MAPBUTT_X (MAP_X+MAP_W+BORDER)
#define MAPBUTT_Y MAP_Y
#define MAPBUTT_W (W-(MAPBUTT_X+BORDER))
#define MAPBUTT_H 20
#define PBUTT_X MAP_X
#define PBUTT_Y (H-((2*PBUTT_H)+BORDER))
#define PBUTT_W (W-((2*BORDER)+SIDEBUTT_W))
#define PBUTT_H 45
#define PLIST_X PBUTT_X
#define PLIST_Y ((2*BORDER)+TOPBUTT_H)
#define PLIST_W PBUTT_W
#define PLIST_H ((H-((4*BORDER)+(2*PBUTT_H)+TOPBUTT_H)))
#define PLAYER_C 0.7
#define IGN_C 0.15
#define IGNY_C 0.15
#define IGNHEAD_H 15
#define IGNHEAD_Y ((2*BORDER)+TOPBUTT_H)
#define IGNBUTT_W ((W-(2*BORDER))/2)
#define IGNBUTT_H 25
#define IGNBUTT_X BORDER
#define IGNBUTT_Y (H-(BORDER+IGNBUTT_H))
#define IGNORE_W (W-(2*BORDER))
#define IGNORE_W2 ((W-(2*BORDER))-15)
#define IGNORE_H (H-((4*BORDER)+TOPBUTT_H+IGNHEAD_H+IGNBUTT_H))
#define IGNORE_X BORDER
#define IGNORE_Y ((2*BORDER)+TOPBUTT_H+IGNHEAD_H)
#define IGNORE_TOFF 5
#define INFO_Y ((2*BORDER)+TOPBUTT_H+10)
#define INFOELEM_H 15
#define INFO_OFF (0-(W-90))
#define W 999
#define H 210
#define A 200
assetGlobalDef
{
font "fonts/font" 26 // font
smallFont "fonts/smallfont" 20 // font
bigFont "fonts/bigfont" 34 // font
cursor "ui/assets/3_cursor3" // cursor
gradientBar "ui/assets/gradientbar2.tga" // gradient bar
itemFocusSound "sound/misc/menu2.wav" // sound for item getting focus (via keyboard or mouse )
fadeClamp 1.0 // sets the fadeup alpha
fadeCycle 1 // how often fade happens in milliseconds
fadeAmount 0.1 // amount to adjust alpha per cycle
shadowColor 0.1 0.1 0.1 0.25 // shadow color
}
menuDef
{
name "ingame_ignore"
visible MENU_FALSE
fullscreen MENU_FALSE
outOfBoundsClick
rect (320-(W/2)) (240-(H/2)) W H
focusColor 0 0 0 1
style WINDOW_STYLE_FILLED
border WINDOW_BORDER_FULL
popup
onESC
{
play "sound/misc/menu1.wav";
close ingame_ignore
open ingame
}
onopen
{
uiScript InitIgnoreList;
show vote;
close ingame;
setitemcolor voteBtn forecolor 0.2 0.2 0.2 1.0;
setitemcolor ignoreBtn forecolor 1.0 1.0 1.0 1.0;
setitemcolor infoBtn forecolor 1.0 1.0 1.0 1.0
}
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 -50 1280 340
style WINDOW_STYLE_FILLED
backcolor 0 0 0 .9
visible 1
decoration
}
itemDef
{
name ignore
group gameGrp
rect 310 -40 80 25
text "Player Name"
textalign ALIGN_LEFT
textvalign VALIGN_CENTER
textalignx IGNORE_TOFF
visible MENU_TRUE
type ITEM_TYPE_TEXT
textscale .225
}
itemDef
{
name ignore
group gameGrp
rect 490 -40 80 25
text "Ignored by you"
textalign ALIGN_CENTER
textvalign VALIGN_CENTER
visible MENU_TRUE
type ITEM_TYPE_TEXT
textscale .225
}
itemDef
{
name ignore
group gameGrp
rect 595 -40 80 25
text "Ignoring you"
textalign ALIGN_CENTER
textvalign VALIGN_CENTER
visible MENU_TRUE
type ITEM_TYPE_TEXT
textscale .225
}
itemDef
{
name ignore
group gameGrp
rect 300 -20 400 260
type ITEM_TYPE_LISTBOX
style WINDOW_STYLE_EMPTY
elementwidth 120
elementheight 16
textscale .225
border WINDOW_BORDER_FULL
bordercolor 0.5 0.5 0.5 0.5
forecolor 1 1 1 1
backcolor 0.2 0.2 0.2 1
outlinecolor 0.1 0.1 0.1 0.5
elementtype LISTBOX_TEXT
feeder FEEDER_IGNORE_LIST
visible MENU_TRUE
columns 3
5 200 ALIGN_LEFT
300 50 ALIGN_CENTER
172 100 ALIGN_CENTER
doubleClick
{
play "sound/misc/menu1.wav";
uiScript ToggleIgnore
}
}
/////////////////////////////
itemDef
{
name ignore
text "Ignore Player"
style WINDOW_STYLE_EMPTY
rect 340 250 80 25
type ITEM_TYPE_BUTTON
textalign ALIGN_CENTER
textvalign VALIGN_CENTER
textscale .4
forecolor 0 0.8 1 1
visible MENU_TRUE
action
{
play "sound/misc/menu1.wav";
uiScript IgnorePlayer
}
}
itemDef
{
name ignore
text "Stop Ignoring Player"
group gameGrp
style WINDOW_STYLE_EMPTY
rect 570 250 80 25
type ITEM_TYPE_BUTTON
textalign ALIGN_CENTER
textvalign VALIGN_CENTER
textscale .4
forecolor 0 0.8 1 1
visible MENU_TRUE
action
{
play "sound/misc/menu1.wav";
uiScript UnIgnorePlayer
}
}
}
}
|