3
#include <engine/e_common_interface.h>
4
#include "g_protocol.h"
6
#include "g_protocol_ids.h"
8
#define max_int 2147483647
24
PLAYERSTATE_UNKNOWN=0,
37
INPUT_STATE_MASK=0x1f,
67
range(0, NUM_WEAPONS-1) type
68
range(0, max_int) start_tick
76
range(0, max_int) eval_tick
81
range(0, max_int) type
82
range(0, max_int) subtype
88
range(-2,MAX_CLIENTS-1) carried_by // -2 == at stand -1 == on the field
92
range(0, max_int) round_start_tick
95
range(0, 1) sudden_death
98
range(0, max_int) score_limit
99
range(0, max_int) time_limit
100
range(0, NUM_GAMETYPES-1) gametype
102
range(0, max_int) warmup
108
// core object needed for physics
116
range(-1,MAX_CLIENTS-1) hooked_player
117
range(-1,5) hook_state
118
range(0, max_int) hook_tick
126
// info about the player that is only needed when it's on screen
127
object player_character extends player_core
128
range(0, NUM_PLAYERSTATES-1) player_state
130
range(-1, 1) wanted_direction
134
range(0, 10) ammocount
136
range(0, NUM_WEAPONS-1) weapon
137
range(0, NUM_EMOTES-1) emote
139
range(0, max_int) attacktick
142
// information about the player that is always needed
145
range(0,MAX_CLIENTS-1) cid
168
range(0,MAX_CLIENTS-1) cid
177
range(0, NUM_SOUNDS-1) soundid
182
range(0, NUM_SOUNDS-1) soundid
201
range(-1,MAX_CLIENTS-1) cid
210
range(0,MAX_CLIENTS-1) cid
213
range(0,1) use_custom_color
219
range(-1,MAX_CLIENTS-1) killer
220
range(-1,MAX_CLIENTS-1) victim
221
range(-1,NUM_WEAPONS-1) weapon
229
message sv_ready_to_ender
232
message sv_sound_global
233
range(0, NUM_SOUNDS-1) soundid
239
range(0,1) use_custom_color
244
message cl_changeinfo
247
range(0,1) use_custom_color
252
message sv_weapon_pickup
253
range(0,NUM_WEAPONS-1) weapon
257
range(0,MAX_CLIENTS-1) cid
258
range(0,NUM_EMOTICONS-1) emoticon
262
range(0,NUM_EMOTICONS-1) emoticon
268
message sv_tune_params
271
message sv_extra_projectile
274
message sv_ready_to_enter