summaryrefslogtreecommitdiff
path: root/source/q_msg.h
diff options
context:
space:
mode:
authorAndrey Nazarov <skuller@skuller.net>2008-01-13 02:35:32 +0000
committerAndrey Nazarov <skuller@skuller.net>2008-01-13 02:35:32 +0000
commit8c44753f1294c3ad4fbf64c8c3b390d06cdc99d9 (patch)
tree6f9655701256d79cd33914c23be03b64ca261af6 /source/q_msg.h
parenta0db25a7e12f83e46787f09eca5ec9e4a3de640a (diff)
New minor Q2PRO protocol version, 1012.
Save up to 6 bits on each usercmd vector component. Measure frame duration more accurately in CL_UpdateCmd.
Diffstat (limited to 'source/q_msg.h')
-rw-r--r--source/q_msg.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/q_msg.h b/source/q_msg.h
index 4abdf98..92a73b6 100644
--- a/source/q_msg.h
+++ b/source/q_msg.h
@@ -100,7 +100,7 @@ void MSG_WriteAngle( float f );
void MSG_WriteAngle16( float f );
void MSG_WriteBits( int value, int bits );
int MSG_WriteDeltaUsercmd( const usercmd_t *from, const usercmd_t *cmd, int version );
-int MSG_WriteDeltaUsercmd_Enhanced( const usercmd_t *from, const usercmd_t *cmd );
+int MSG_WriteDeltaUsercmd_Enhanced( const usercmd_t *from, const usercmd_t *cmd, int version );
void MSG_WriteDir ( const vec3_t vector);
void MSG_WriteDeltaEntity( const entity_state_t *from, const entity_state_t *to, msgEsFlags_t flags );
void MSG_WriteDeltaPlayerstate_Default( const player_state_t *from, const player_state_t *to );
@@ -129,7 +129,7 @@ float MSG_ReadAngle16 ( void );
int MSG_ReadBits( int bits );
void MSG_ReadDeltaUsercmd( const usercmd_t *from, usercmd_t *cmd );
void MSG_ReadDeltaUsercmd_Hacked( const usercmd_t *from, usercmd_t *to );
-void MSG_ReadDeltaUsercmd_Enhanced( const usercmd_t *from, usercmd_t *to );
+void MSG_ReadDeltaUsercmd_Enhanced( const usercmd_t *from, usercmd_t *to, int version );
void MSG_ReadDir( vec3_t vector );
void MSG_ReadData( void *buffer, int size );
int MSG_ParseEntityBits( int *bits );