- did a bit of header cleanup to reduce the dependency on dobject.h.
This commit is contained in:
parent
1c81c40c59
commit
a4710bcdb0
48 changed files with 226 additions and 274 deletions
|
|
@ -229,7 +229,15 @@ int UnpackUserCmd (usercmd_t *ucmd, const usercmd_t *basis, uint8_t **stream);
|
|||
int PackUserCmd (const usercmd_t *ucmd, const usercmd_t *basis, uint8_t **stream);
|
||||
int WriteUserCmdMessage (usercmd_t *ucmd, const usercmd_t *basis, uint8_t **stream);
|
||||
|
||||
struct ticcmd_t;
|
||||
// The data sampled per tick (single player)
|
||||
// and transmitted to other peers (multiplayer).
|
||||
// Mainly movements/button commands per game tick,
|
||||
// plus a checksum for internal state consistency.
|
||||
struct ticcmd_t
|
||||
{
|
||||
usercmd_t ucmd;
|
||||
int16_t consistancy; // checks for net game
|
||||
};
|
||||
|
||||
int SkipTicCmd (uint8_t **stream, int count);
|
||||
void ReadTicCmd (uint8_t **stream, int player, int tic);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue