163 |
|
|
164 |
|
//used for storing data about each player |
165 |
|
typedef struct { |
166 |
< |
int FLATLINE; |
167 |
< |
char id; |
166 |
> |
//int FLATLINE; |
167 |
> |
int id; |
168 |
|
int packet_index; |
169 |
|
union |
170 |
|
{ |
179 |
|
uint16_t sync_request; |
180 |
|
flatline_event flatline_event; |
181 |
|
uint32_t ping; |
182 |
< |
player_input all_input[32]; |
182 |
> |
player_input all_input[33]; |
183 |
|
}; |
184 |
|
} flatline_packet; |
185 |
|
#define FLATLINE_HEADER (sizeof(flatline_packet)-sizeof(char)*1080) |
212 |
|
|
213 |
|
enum FlatlineEvent { |
214 |
|
EV_RESPAWN, |
215 |
+ |
EV_KILLED, |
216 |
|
EV_DISCONNECT, |
217 |
|
EV_DOOR_OPEN, |
218 |
|
EV_CONSOLE_USE, |
269 |
|
int DeathTime; |
270 |
|
uint32_t Ping; |
271 |
|
bool DataApplied; |
272 |
< |
|
272 |
> |
bool NeedToSetFP; |
273 |
|
uint32_t ShapeshiftCooldown; |
274 |
|
} player_info; |
275 |
|
|