diff options
author | Andrey Nazarov <skuller@skuller.net> | 2008-10-25 16:43:39 +0000 |
---|---|---|
committer | Andrey Nazarov <skuller@skuller.net> | 2008-10-25 16:43:39 +0000 |
commit | 8a4e5f5516e94fe901a332bce7eef9b824f225c6 (patch) | |
tree | 93d64ca93047c6b1c1b59658e950ab0062544fe9 /source/q_msg.c | |
parent | b7d3939f3f68617f80d74d0a2bf6ea34ddea1065 (diff) |
Progress meter now works for local MVDs again.
Implemented `mvdskip' command which allows one jump to the next map in a MVD.
Removed `mvd_shownet' debugging stuff from dedicated server build.
Dropped packets no longer have maximum height on the lagometer.
Diffstat (limited to 'source/q_msg.c')
-rw-r--r-- | source/q_msg.c | 14 |
1 files changed, 4 insertions, 10 deletions
diff --git a/source/q_msg.c b/source/q_msg.c index c1ca775..16985dd 100644 --- a/source/q_msg.c +++ b/source/q_msg.c @@ -2359,6 +2359,8 @@ void MSG_ParseDeltaPlayerstate_Packet( const player_state_t *from, } +#if USE_CLIENT + #define SHOWBITS( data ) \ do { Com_Printf( "%s ", data ); } while( 0 ) @@ -2437,11 +2439,8 @@ void MSG_ShowDeltaEntityBits( int bits ) { if( bits & U_SOLID ) { SHOWBITS( "solid" ); } - } -#if USE_CLIENT - void MSG_ShowDeltaPlayerstateBits_Default( int flags ) { if( flags & PS_M_TYPE ) { SHOWBITS( "pmove.pm_type" ); @@ -2502,7 +2501,6 @@ void MSG_ShowDeltaPlayerstateBits_Default( int flags ) { if( flags & PS_RDFLAGS ) { SHOWBITS( "rdflags" ); } - } void MSG_ShowDeltaPlayerstateBits_Enhanced( int flags ) { @@ -2596,8 +2594,6 @@ void MSG_ShowDeltaPlayerstateBits_Enhanced( int flags ) { } } -#endif // USE_CLIENT - void MSG_ShowDeltaPlayerstateBits_Packet( int flags ) { if( flags & PPS_M_TYPE ) { SHOWBITS( "pmove.pm_type" ); @@ -2660,8 +2656,6 @@ void MSG_ShowDeltaPlayerstateBits_Packet( int flags ) { } } -#if USE_CLIENT - void MSG_ShowDeltaUsercmdBits_Enhanced( int bits ) { if( !bits ) { SHOWBITS( "<none>" ); @@ -2687,8 +2681,6 @@ void MSG_ShowDeltaUsercmdBits_Enhanced( int bits ) { SHOWBITS( "msec" ); } -#endif // USE_CLIENT - static const char *const svc_strings[svc_num_types] = { "svc_bad", @@ -2738,6 +2730,8 @@ const char *MSG_ServerCommandString( int cmd ) { return s; } +#endif // USE_CLIENT + //=========================================================================== void SZ_TagInit( sizebuf_t *buf, void *data, size_t length, uint32_t tag ) { |