mirror of
https://github.com/dhewm/dhewm3-sdk.git
synced 2024-11-21 20:21:19 +00:00
s/WriteDeltaLong/WriteDeltaInt/
to match the return type
This commit is contained in:
parent
ae319dbe4a
commit
8cd1580d60
5 changed files with 8 additions and 8 deletions
|
@ -676,7 +676,7 @@ void idGameLocal::ServerWriteSnapshot( int clientNum, int sequence, idBitMsg &ms
|
|||
gameLocal.pvs.WritePVS( pvsHandle, msg );
|
||||
#endif
|
||||
for ( i = 0; i < ENTITY_PVS_SIZE; i++ ) {
|
||||
msg.WriteDeltaLong( clientPVS[clientNum][i], snapshot->pvs[i] );
|
||||
msg.WriteDeltaInt( clientPVS[clientNum][i], snapshot->pvs[i] );
|
||||
}
|
||||
|
||||
// free the PVS
|
||||
|
|
|
@ -2012,7 +2012,7 @@ void idPhysics_Player::WriteToSnapshot( idBitMsgDelta &msg ) const {
|
|||
msg.WriteDeltaFloat( 0.0f, current.stepUp );
|
||||
msg.WriteBits( current.movementType, PLAYER_MOVEMENT_TYPE_BITS );
|
||||
msg.WriteBits( current.movementFlags, PLAYER_MOVEMENT_FLAGS_BITS );
|
||||
msg.WriteDeltaLong( 0, current.movementTime );
|
||||
msg.WriteDeltaInt( 0, current.movementTime );
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
|
@ -662,7 +662,7 @@ void idGameLocal::ServerWriteSnapshot( int clientNum, int sequence, idBitMsg &ms
|
|||
gameLocal.pvs.WritePVS( pvsHandle, msg );
|
||||
#endif
|
||||
for ( i = 0; i < ENTITY_PVS_SIZE; i++ ) {
|
||||
msg.WriteDeltaLong( clientPVS[clientNum][i], snapshot->pvs[i] );
|
||||
msg.WriteDeltaInt( clientPVS[clientNum][i], snapshot->pvs[i] );
|
||||
}
|
||||
|
||||
// free the PVS
|
||||
|
|
|
@ -2012,7 +2012,7 @@ void idPhysics_Player::WriteToSnapshot( idBitMsgDelta &msg ) const {
|
|||
msg.WriteDeltaFloat( 0.0f, current.stepUp );
|
||||
msg.WriteBits( current.movementType, PLAYER_MOVEMENT_TYPE_BITS );
|
||||
msg.WriteBits( current.movementFlags, PLAYER_MOVEMENT_FLAGS_BITS );
|
||||
msg.WriteDeltaLong( 0, current.movementTime );
|
||||
msg.WriteDeltaInt( 0, current.movementTime );
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
|
@ -97,7 +97,7 @@ public:
|
|||
void WriteDeltaChar( int oldValue, int newValue );
|
||||
void WriteDeltaByte( int oldValue, int newValue );
|
||||
void WriteDeltaShort( int oldValue, int newValue );
|
||||
void WriteDeltaLong( int oldValue, int newValue );
|
||||
void WriteDeltaInt( int oldValue, int newValue );
|
||||
void WriteDeltaFloat( float oldValue, float newValue );
|
||||
void WriteDeltaFloat( float oldValue, float newValue, int exponentBits, int mantissaBits );
|
||||
void WriteDeltaByteCounter( int oldValue, int newValue );
|
||||
|
@ -333,7 +333,7 @@ ID_INLINE void idBitMsg::WriteDeltaShort( int oldValue, int newValue ) {
|
|||
WriteDelta( oldValue, newValue, -16 );
|
||||
}
|
||||
|
||||
ID_INLINE void idBitMsg::WriteDeltaLong( int oldValue, int newValue ) {
|
||||
ID_INLINE void idBitMsg::WriteDeltaInt( int oldValue, int newValue ) {
|
||||
WriteDelta( oldValue, newValue, 32 );
|
||||
}
|
||||
|
||||
|
@ -467,7 +467,7 @@ public:
|
|||
void WriteDeltaChar( int oldValue, int newValue );
|
||||
void WriteDeltaByte( int oldValue, int newValue );
|
||||
void WriteDeltaShort( int oldValue, int newValue );
|
||||
void WriteDeltaLong( int oldValue, int newValue );
|
||||
void WriteDeltaInt( int oldValue, int newValue );
|
||||
void WriteDeltaFloat( float oldValue, float newValue );
|
||||
void WriteDeltaFloat( float oldValue, float newValue, int exponentBits, int mantissaBits );
|
||||
void WriteDeltaByteCounter( int oldValue, int newValue );
|
||||
|
@ -592,7 +592,7 @@ ID_INLINE void idBitMsgDelta::WriteDeltaShort( int oldValue, int newValue ) {
|
|||
WriteDelta( oldValue, newValue, -16 );
|
||||
}
|
||||
|
||||
ID_INLINE void idBitMsgDelta::WriteDeltaLong( int oldValue, int newValue ) {
|
||||
ID_INLINE void idBitMsgDelta::WriteDeltaInt( int oldValue, int newValue ) {
|
||||
WriteDelta( oldValue, newValue, 32 );
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue