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.

37 lines
885 B

  1. //========= Copyright Valve Corporation, All rights reserved. ============//
  2. //
  3. // Purpose:
  4. //
  5. //=============================================================================
  6. #ifndef C_DOD_BOMBTARGET_H
  7. #define C_DOD_BOMBTARGET_H
  8. #ifdef _WIN32
  9. #pragma once
  10. #endif
  11. #include "c_baseanimating.h"
  12. class C_DODBombTarget : public C_BaseAnimating
  13. {
  14. DECLARE_CLASS( C_DODBombTarget, C_BaseAnimating );
  15. DECLARE_NETWORKCLASS();
  16. public:
  17. virtual int DrawModel( int flags );
  18. virtual void NotifyShouldTransmit( ShouldTransmitState_t state );
  19. virtual void ClientThink( void );
  20. // play the hint telling them how to defuse
  21. bool ShouldPlayDefuseHint( int team );
  22. bool ShouldPlayPlantHint( int team );
  23. private:
  24. CNetworkVar( int, m_iState );
  25. CNetworkVar( int, m_iBombingTeam );
  26. CNetworkVar( int, m_iTargetModel );
  27. CNetworkVar( int, m_iUnavailableModel );
  28. };
  29. #endif //C_DOD_BOMBTARGET_H