|
|
|
@ -45,8 +45,6 @@ extern DLL_GLOBAL BOOL g_fDrawLines;
@@ -45,8 +45,6 @@ extern DLL_GLOBAL BOOL g_fDrawLines;
|
|
|
|
|
int gEvilImpulse101; |
|
|
|
|
extern DLL_GLOBAL int g_iSkillLevel, gDisplayTitle; |
|
|
|
|
|
|
|
|
|
extern "C" int g_bhopcap; |
|
|
|
|
|
|
|
|
|
BOOL gInitHUD = TRUE; |
|
|
|
|
|
|
|
|
|
extern void CopyToBodyQue( entvars_t *pev); |
|
|
|
@ -183,7 +181,6 @@ int gmsgSetFOV = 0;
@@ -183,7 +181,6 @@ int gmsgSetFOV = 0;
|
|
|
|
|
int gmsgShowMenu = 0; |
|
|
|
|
int gmsgGeigerRange = 0; |
|
|
|
|
int gmsgTeamNames = 0; |
|
|
|
|
int gmsgBhopcap = 0; |
|
|
|
|
|
|
|
|
|
int gmsgStatusText = 0; |
|
|
|
|
int gmsgStatusValue = 0; |
|
|
|
@ -230,7 +227,6 @@ void LinkUserMessages( void )
@@ -230,7 +227,6 @@ void LinkUserMessages( void )
|
|
|
|
|
gmsgFade = REG_USER_MSG( "ScreenFade", sizeof(ScreenFade) ); |
|
|
|
|
gmsgAmmoX = REG_USER_MSG( "AmmoX", 2 ); |
|
|
|
|
gmsgTeamNames = REG_USER_MSG( "TeamNames", -1 ); |
|
|
|
|
gmsgBhopcap = REG_USER_MSG( "Bhopcap", 1 ); |
|
|
|
|
|
|
|
|
|
gmsgStatusText = REG_USER_MSG( "StatusText", -1 ); |
|
|
|
|
gmsgStatusValue = REG_USER_MSG( "StatusValue", 3 ); |
|
|
|
@ -2816,6 +2812,7 @@ void CBasePlayer::Spawn( void )
@@ -2816,6 +2812,7 @@ void CBasePlayer::Spawn( void )
|
|
|
|
|
g_engfuncs.pfnSetPhysicsKeyValue( edict(), "slj", "0" ); |
|
|
|
|
g_engfuncs.pfnSetPhysicsKeyValue( edict(), "hl", "1" ); |
|
|
|
|
g_engfuncs.pfnSetPhysicsKeyValue( edict(), "fr", "1" ); |
|
|
|
|
g_engfuncs.pfnSetPhysicsKeyValue( edict(), "bj", bhopcap.value ? "0" : "1" ); |
|
|
|
|
|
|
|
|
|
pev->fov = m_iFOV = 0;// init field of view.
|
|
|
|
|
m_iClientFOV = -1; // make sure fov reset is sent
|
|
|
|
@ -3347,7 +3344,6 @@ void CBasePlayer::ForceClientDllUpdate( void )
@@ -3347,7 +3344,6 @@ void CBasePlayer::ForceClientDllUpdate( void )
|
|
|
|
|
m_fWeapon = FALSE; // Force weapon send
|
|
|
|
|
m_fKnownItem = FALSE; // Force weaponinit messages.
|
|
|
|
|
m_fInitHUD = TRUE; // Force HUD gmsgResetHUD message
|
|
|
|
|
m_bSentBhopcap = true; // a1ba: Update bhopcap state
|
|
|
|
|
memset( m_rgAmmoLast, 0, sizeof( m_rgAmmoLast )); // a1ba: Force update AmmoX
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -4114,15 +4110,6 @@ void CBasePlayer::UpdateClientData( void )
@@ -4114,15 +4110,6 @@ void CBasePlayer::UpdateClientData( void )
|
|
|
|
|
UpdateStatusBar(); |
|
|
|
|
m_flNextSBarUpdateTime = gpGlobals->time + 0.2f; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
// Send the current bhopcap state.
|
|
|
|
|
if( !m_bSentBhopcap ) |
|
|
|
|
{ |
|
|
|
|
m_bSentBhopcap = true; |
|
|
|
|
MESSAGE_BEGIN( MSG_ONE, gmsgBhopcap, NULL, pev ); |
|
|
|
|
WRITE_BYTE( g_bhopcap ); |
|
|
|
|
MESSAGE_END(); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
//=========================================================
|
|
|
|
|