100 |
|
float MouseDeltaY; |
101 |
|
uint32_t Actions1; |
102 |
|
uint32_t Actions2; |
103 |
< |
unsigned int Time; |
103 |
> |
float DesiredFacing; |
104 |
> |
//unsigned int Time; |
105 |
|
} input_struct; |
106 |
|
|
107 |
|
//TODO: |
182 |
|
flatline_event flatline_event; |
183 |
|
uint32_t ping; |
184 |
|
//player_input all_input[33]; |
185 |
+ |
uint32_t integer; //generic integer ;) |
186 |
|
}; |
187 |
|
} flatline_packet; |
188 |
|
#define FLATLINE_HEADER (sizeof(flatline_packet)-sizeof(char)*1080) |
212 |
|
PK_PONG, |
213 |
|
//PK_ALL_INPUT, |
214 |
|
PK_PLAYER_DATA, |
215 |
+ |
PK_MISSING_PLAYER, |
216 |
|
}; |
217 |
|
|
218 |
|
enum FlatlineEvent { |
254 |
|
uint16_t list_slot; |
255 |
|
|
256 |
|
PlayerInput InputFromClient; |
257 |
+ |
float FacingFromClient; |
258 |
|
|
259 |
|
//////////////////////////// |
260 |
|
//Sync stuff |
266 |
|
PlayerFacing Facings; |
267 |
|
PlayerScore Score; |
268 |
|
void* Animation; |
269 |
+ |
char AnimationString[32]; |
270 |
|
uint16_t Frame; |
271 |
|
PlayerThrowData ThrowData; |
272 |
|
void* Class; |
273 |
+ |
char ClassString[32]; |
274 |
|
PlayerInventory Inventory; |
275 |
|
Vector3 Position; |
276 |
|
//////////////////////////// |
279 |
|
unsigned int LastInputTime; |
280 |
|
|
281 |
|
|
276 |
– |
|
282 |
|
uint16_t state; |
283 |
|
int flags; |
284 |
|
int DeathTime; |