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.

31 lines
913 B

  1. //========= Copyright Valve Corporation, All rights reserved. ============//
  2. #ifndef C_ZOMBIE_H
  3. #define C_ZOMBIE_H
  4. #include "c_ai_basenpc.h"
  5. #include "props_shared.h"
  6. //--------------------------------------------------------------------------------------------------------
  7. /**
  8. * The client-side implementation of the Halloween Zombie
  9. */
  10. class C_Zombie : public C_NextBotCombatCharacter
  11. {
  12. public:
  13. DECLARE_CLASS( C_Zombie, C_NextBotCombatCharacter );
  14. DECLARE_CLIENTCLASS();
  15. C_Zombie();
  16. virtual bool IsNextBot() { return true; }
  17. virtual bool ShouldCollide( int collisionGroup, int contentsMask ) const;
  18. virtual void BuildTransformations( CStudioHdr *hdr, Vector *pos, Quaternion q[], const matrix3x4_t& cameraTransform, int boneMask, CBoneBitList &boneComputed ) OVERRIDE;
  19. private:
  20. C_Zombie( const C_Zombie & ); // not defined, not accessible
  21. float m_flHeadScale;
  22. };
  23. #endif // C_EYEBALL_BOSS_H