OpenMoHAA 0.82.0
Loading...
Searching...
No Matches
botmenudef.h
1
2#define ITEM_TYPE_TEXT 0 // simple text
3#define ITEM_TYPE_BUTTON 1 // button, basically text with a border
4#define ITEM_TYPE_RADIOBUTTON 2 // toggle button, may be grouped
5#define ITEM_TYPE_CHECKBOX 3 // check box
6#define ITEM_TYPE_EDITFIELD 4 // editable text, associated with a cvar
7#define ITEM_TYPE_COMBO 5 // drop down list
8#define ITEM_TYPE_LISTBOX 6 // scrollable list
9#define ITEM_TYPE_MODEL 7 // model
10#define ITEM_TYPE_OWNERDRAW 8 // owner draw, name specs what it is
11#define ITEM_TYPE_NUMERICFIELD 9 // editable text, associated with a cvar
12#define ITEM_TYPE_SLIDER 10 // mouse speed, volume, etc.
13#define ITEM_TYPE_YESNO 11 // yes no cvar setting
14#define ITEM_TYPE_MULTI 12 // multiple list setting, enumerated
15#define ITEM_TYPE_BIND 13 // multiple list setting, enumerated
16
17#define ITEM_ALIGN_LEFT 0 // left alignment
18#define ITEM_ALIGN_CENTER 1 // center alignment
19#define ITEM_ALIGN_RIGHT 2 // right alignment
20
21#define ITEM_TEXTSTYLE_NORMAL 0 // normal text
22#define ITEM_TEXTSTYLE_BLINK 1 // fast blinking
23#define ITEM_TEXTSTYLE_PULSE 2 // slow pulsing
24#define ITEM_TEXTSTYLE_SHADOWED 3 // drop shadow ( need a color for this )
25#define ITEM_TEXTSTYLE_OUTLINED 4 // drop shadow ( need a color for this )
26#define ITEM_TEXTSTYLE_OUTLINESHADOWED 5 // drop shadow ( need a color for this )
27#define ITEM_TEXTSTYLE_SHADOWEDMORE 6 // drop shadow ( need a color for this )
28
29#define WINDOW_BORDER_NONE 0 // no border
30#define WINDOW_BORDER_FULL 1 // full border based on border color ( single pixel )
31#define WINDOW_BORDER_HORZ 2 // horizontal borders only
32#define WINDOW_BORDER_VERT 3 // vertical borders only
33#define WINDOW_BORDER_KCGRADIENT 4 // horizontal border using the gradient bars
34
35#define WINDOW_STYLE_EMPTY 0 // no background
36#define WINDOW_STYLE_FILLED 1 // filled with background color
37#define WINDOW_STYLE_GRADIENT 2 // gradient bar based on background color
38#define WINDOW_STYLE_SHADER 3 // gradient bar based on background color
39#define WINDOW_STYLE_TEAMCOLOR 4 // team color
40#define WINDOW_STYLE_CINEMATIC 5 // cinematic
41
42#define MENU_TRUE 1 // uh.. true
43#define MENU_FALSE 0 // and false
44
45#define HUD_VERTICAL 0x00
46#define HUD_HORIZONTAL 0x01
47
48// list box element types
49#define LISTBOX_TEXT 0x00
50#define LISTBOX_IMAGE 0x01
51
52// list feeders
53#define FEEDER_HEADS 0x00 // model heads
54#define FEEDER_MAPS 0x01 // text maps based on game type
55#define FEEDER_SERVERS 0x02 // servers
56#define FEEDER_CLANS 0x03 // clan names
57#define FEEDER_ALLMAPS 0x04 // all maps available, in graphic format
58#define FEEDER_REDTEAM_LIST 0x05 // red team members
59#define FEEDER_BLUETEAM_LIST 0x06 // blue team members
60#define FEEDER_PLAYER_LIST 0x07 // players
61#define FEEDER_TEAM_LIST 0x08 // team members for team voting
62#define FEEDER_MODS 0x09 // team members for team voting
63#define FEEDER_DEMOS 0x0a // team members for team voting
64#define FEEDER_SCOREBOARD 0x0b // team members for team voting
65#define FEEDER_Q3HEADS 0x0c // model heads
66#define FEEDER_SERVERSTATUS 0x0d // server status
67#define FEEDER_FINDPLAYER 0x0e // find player
68#define FEEDER_CINEMATICS 0x0f // cinematics
69
70// display flags
71#define CG_SHOW_BLUE_TEAM_HAS_REDFLAG 0x00000001
72#define CG_SHOW_RED_TEAM_HAS_BLUEFLAG 0x00000002
73#define CG_SHOW_ANYTEAMGAME 0x00000004
74#define CG_SHOW_HARVESTER 0x00000008
75#define CG_SHOW_ONEFLAG 0x00000010
76#define CG_SHOW_CTF 0x00000020
77#define CG_SHOW_OBELISK 0x00000040
78#define CG_SHOW_HEALTHCRITICAL 0x00000080
79#define CG_SHOW_SINGLEPLAYER 0x00000100
80#define CG_SHOW_TOURNAMENT 0x00000200
81#define CG_SHOW_DURINGINCOMINGVOICE 0x00000400
82#define CG_SHOW_IF_PLAYER_HAS_FLAG 0x00000800
83#define CG_SHOW_LANPLAYONLY 0x00001000
84#define CG_SHOW_MINED 0x00002000
85#define CG_SHOW_HEALTHOK 0x00004000
86#define CG_SHOW_TEAMINFO 0x00008000
87#define CG_SHOW_NOTEAMINFO 0x00010000
88#define CG_SHOW_OTHERTEAMHASFLAG 0x00020000
89#define CG_SHOW_YOURTEAMHASENEMYFLAG 0x00040000
90#define CG_SHOW_ANYNONTEAMGAME 0x00080000
91#define CG_SHOW_2DONLY 0x10000000
92
93
94#define UI_SHOW_LEADER 0x00000001
95#define UI_SHOW_NOTLEADER 0x00000002
96#define UI_SHOW_FAVORITESERVERS 0x00000004
97#define UI_SHOW_ANYNONTEAMGAME 0x00000008
98#define UI_SHOW_ANYTEAMGAME 0x00000010
99#define UI_SHOW_NEWHIGHSCORE 0x00000020
100#define UI_SHOW_DEMOAVAILABLE 0x00000040
101#define UI_SHOW_NEWBESTTIME 0x00000080
102#define UI_SHOW_FFA 0x00000100
103#define UI_SHOW_NOTFFA 0x00000200
104#define UI_SHOW_NETANYNONTEAMGAME 0x00000400
105#define UI_SHOW_NETANYTEAMGAME 0x00000800
106#define UI_SHOW_NOTFAVORITESERVERS 0x00001000
107
108
109
110
111// owner draw types
112// ideally these should be done outside of this file but
113// this makes it much easier for the macro expansion to
114// convert them for the designers ( from the .menu files )
115#define CG_OWNERDRAW_BASE 1
116#define CG_PLAYER_ARMOR_ICON 1
117#define CG_PLAYER_ARMOR_VALUE 2
118#define CG_PLAYER_HEAD 3
119#define CG_PLAYER_HEALTH 4
120#define CG_PLAYER_AMMO_ICON 5
121#define CG_PLAYER_AMMO_VALUE 6
122#define CG_SELECTEDPLAYER_HEAD 7
123#define CG_SELECTEDPLAYER_NAME 8
124#define CG_SELECTEDPLAYER_LOCATION 9
125#define CG_SELECTEDPLAYER_STATUS 10
126#define CG_SELECTEDPLAYER_WEAPON 11
127#define CG_SELECTEDPLAYER_POWERUP 12
128
129#define CG_FLAGCARRIER_HEAD 13
130#define CG_FLAGCARRIER_NAME 14
131#define CG_FLAGCARRIER_LOCATION 15
132#define CG_FLAGCARRIER_STATUS 16
133#define CG_FLAGCARRIER_WEAPON 17
134#define CG_FLAGCARRIER_POWERUP 18
135
136#define CG_PLAYER_ITEM 19
137#define CG_PLAYER_SCORE 20
138
139#define CG_BLUE_FLAGHEAD 21
140#define CG_BLUE_FLAGSTATUS 22
141#define CG_BLUE_FLAGNAME 23
142#define CG_RED_FLAGHEAD 24
143#define CG_RED_FLAGSTATUS 25
144#define CG_RED_FLAGNAME 26
145
146#define CG_BLUE_SCORE 27
147#define CG_RED_SCORE 28
148#define CG_RED_NAME 29
149#define CG_BLUE_NAME 30
150#define CG_HARVESTER_SKULLS 31 // only shows in harvester
151#define CG_ONEFLAG_STATUS 32 // only shows in one flag
152#define CG_PLAYER_LOCATION 33
153#define CG_TEAM_COLOR 34
154#define CG_CTF_POWERUP 35
155
156#define CG_AREA_POWERUP 36
157#define CG_AREA_LAGOMETER 37 // painted with old system
158#define CG_PLAYER_HASFLAG 38
159#define CG_GAME_TYPE 39 // not done
160
161#define CG_SELECTEDPLAYER_ARMOR 40
162#define CG_SELECTEDPLAYER_HEALTH 41
163#define CG_PLAYER_STATUS 42
164#define CG_FRAGGED_MSG 43 // painted with old system
165#define CG_PROXMINED_MSG 44 // painted with old system
166#define CG_AREA_FPSINFO 45 // painted with old system
167#define CG_AREA_SYSTEMCHAT 46 // painted with old system
168#define CG_AREA_TEAMCHAT 47 // painted with old system
169#define CG_AREA_CHAT 48 // painted with old system
170#define CG_GAME_STATUS 49
171#define CG_KILLER 50
172#define CG_PLAYER_ARMOR_ICON2D 51
173#define CG_PLAYER_AMMO_ICON2D 52
174#define CG_ACCURACY 53
175#define CG_ASSISTS 54
176#define CG_DEFEND 55
177#define CG_EXCELLENT 56
178#define CG_IMPRESSIVE 57
179#define CG_PERFECT 58
180#define CG_GAUNTLET 59
181#define CG_SPECTATORS 60
182#define CG_TEAMINFO 61
183#define CG_VOICE_HEAD 62
184#define CG_VOICE_NAME 63
185#define CG_PLAYER_HASFLAG2D 64
186#define CG_HARVESTER_SKULLS2D 65 // only shows in harvester
187#define CG_CAPFRAGLIMIT 66
188#define CG_1STPLACE 67
189#define CG_2NDPLACE 68
190#define CG_CAPTURES 69
191
192
193
194
195#define UI_OWNERDRAW_BASE 200
196#define UI_HANDICAP 200
197#define UI_EFFECTS 201
198#define UI_PLAYERMODEL 202
199#define UI_CLANNAME 203
200#define UI_CLANLOGO 204
201#define UI_GAMETYPE 205
202#define UI_MAPPREVIEW 206
203#define UI_SKILL 207
204#define UI_BLUETEAMNAME 208
205#define UI_REDTEAMNAME 209
206#define UI_BLUETEAM1 210
207#define UI_BLUETEAM2 211
208#define UI_BLUETEAM3 212
209#define UI_BLUETEAM4 213
210#define UI_BLUETEAM5 214
211#define UI_REDTEAM1 215
212#define UI_REDTEAM2 216
213#define UI_REDTEAM3 217
214#define UI_REDTEAM4 218
215#define UI_REDTEAM5 219
216#define UI_NETSOURCE 220
217#define UI_NETMAPPREVIEW 221
218#define UI_NETFILTER 222
219#define UI_TIER 223
220#define UI_OPPONENTMODEL 224
221#define UI_TIERMAP1 225
222#define UI_TIERMAP2 226
223#define UI_TIERMAP3 227
224#define UI_PLAYERLOGO 228
225#define UI_OPPONENTLOGO 229
226#define UI_PLAYERLOGO_METAL 230
227#define UI_OPPONENTLOGO_METAL 231
228#define UI_PLAYERLOGO_NAME 232
229#define UI_OPPONENTLOGO_NAME 233
230#define UI_TIER_MAPNAME 234
231#define UI_TIER_GAMETYPE 235
232#define UI_ALLMAPS_SELECTION 236
233#define UI_OPPONENT_NAME 237
234#define UI_VOTE_KICK 238
235#define UI_BOTNAME 239
236#define UI_BOTSKILL 240
237#define UI_REDBLUE 241
238#define UI_CROSSHAIR 242
239#define UI_SELECTEDPLAYER 243
240#define UI_MAPCINEMATIC 244
241#define UI_NETGAMETYPE 245
242#define UI_NETMAPCINEMATIC 246
243#define UI_SERVERREFRESHDATE 247
244#define UI_SERVERMOTD 248
245#define UI_GLINFO 249
246#define UI_KEYBINDSTATUS 250
247#define UI_CLANCINEMATIC 251
248#define UI_MAP_TIMETOBEAT 252
249#define UI_JOINGAMETYPE 253
250#define UI_PREVIEWCINEMATIC 254
251#define UI_STARTMAPCINEMATIC 255
252#define UI_MAPS_SELECTION 256
253
254#define VOICECHAT_GETFLAG "getflag" // command someone to get the flag
255#define VOICECHAT_OFFENSE "offense" // command someone to go on offense
256#define VOICECHAT_DEFEND "defend" // command someone to go on defense
257#define VOICECHAT_DEFENDFLAG "defendflag" // command someone to defend the flag
258#define VOICECHAT_PATROL "patrol" // command someone to go on patrol (roam)
259#define VOICECHAT_CAMP "camp" // command someone to camp (we don't have sounds for this one)
260#define VOICECHAT_FOLLOWME "followme" // command someone to follow you
261#define VOICECHAT_RETURNFLAG "returnflag" // command someone to return our flag
262#define VOICECHAT_FOLLOWFLAGCARRIER "followflagcarrier" // command someone to follow the flag carrier
263#define VOICECHAT_YES "yes" // yes, affirmative, etc.
264#define VOICECHAT_NO "no" // no, negative, etc.
265#define VOICECHAT_ONGETFLAG "ongetflag" // I'm getting the flag
266#define VOICECHAT_ONOFFENSE "onoffense" // I'm on offense
267#define VOICECHAT_ONDEFENSE "ondefense" // I'm on defense
268#define VOICECHAT_ONPATROL "onpatrol" // I'm on patrol (roaming)
269#define VOICECHAT_ONCAMPING "oncamp" // I'm camping somewhere
270#define VOICECHAT_ONFOLLOW "onfollow" // I'm following
271#define VOICECHAT_ONFOLLOWCARRIER "onfollowcarrier" // I'm following the flag carrier
272#define VOICECHAT_ONRETURNFLAG "onreturnflag" // I'm returning our flag
273#define VOICECHAT_INPOSITION "inposition" // I'm in position
274#define VOICECHAT_IHAVEFLAG "ihaveflag" // I have the flag
275#define VOICECHAT_BASEATTACK "baseattack" // the base is under attack
276#define VOICECHAT_ENEMYHASFLAG "enemyhasflag" // the enemy has our flag (CTF)
277#define VOICECHAT_STARTLEADER "startleader" // I'm the leader
278#define VOICECHAT_STOPLEADER "stopleader" // I resign leadership
279#define VOICECHAT_TRASH "trash" // lots of trash talk
280#define VOICECHAT_WHOISLEADER "whoisleader" // who is the team leader
281#define VOICECHAT_WANTONDEFENSE "wantondefense" // I want to be on defense
282#define VOICECHAT_WANTONOFFENSE "wantonoffense" // I want to be on offense
283#define VOICECHAT_KILLINSULT "kill_insult" // I just killed you
284#define VOICECHAT_TAUNT "taunt" // I want to taunt you
285#define VOICECHAT_DEATHINSULT "death_insult" // you just killed me
286#define VOICECHAT_KILLGAUNTLET "kill_gauntlet" // I just killed you with the gauntlet
287#define VOICECHAT_PRAISE "praise" // you did something good