Team Fortress 2 Source Code as on 22/4/2020
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

30 lines
936 B

  1. //========= Copyright Valve Corporation, All rights reserved. ============//
  2. //
  3. // Purpose:
  4. //
  5. //=============================================================================//
  6. #include "cbase.h"
  7. #include "hl1_c_player.h"
  8. ConVar cl_npc_speedmod_intime( "cl_npc_speedmod_intime", "0.25", FCVAR_CLIENTDLL | FCVAR_ARCHIVE );
  9. ConVar cl_npc_speedmod_outtime( "cl_npc_speedmod_outtime", "1.5", FCVAR_CLIENTDLL | FCVAR_ARCHIVE );
  10. #if defined( CHL1_Player )
  11. #undef CHL1_Player
  12. #endif
  13. IMPLEMENT_CLIENTCLASS_DT( C_HL1_Player, DT_HL1Player, CHL1_Player )
  14. RecvPropInt( RECVINFO( m_bHasLongJump ) ),
  15. RecvPropInt( RECVINFO( m_nFlashBattery ) ),
  16. RecvPropBool( RECVINFO( m_bIsPullingObject ) ),
  17. RecvPropFloat( RECVINFO( m_flStartCharge ) ),
  18. RecvPropFloat( RECVINFO( m_flAmmoStartCharge ) ),
  19. RecvPropFloat( RECVINFO( m_flPlayAftershock ) ),
  20. RecvPropFloat( RECVINFO( m_flNextAmmoBurn ) )
  21. END_RECV_TABLE()
  22. C_HL1_Player::C_HL1_Player()
  23. {
  24. }