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.

49 lines
1.2 KiB

  1. //========= Copyright Valve Corporation, All rights reserved. ============//
  2. //
  3. // Purpose:
  4. //
  5. // $NoKeywords: $
  6. //=============================================================================//
  7. #ifndef HL2_SHAREDDEFS_H
  8. #define HL2_SHAREDDEFS_H
  9. #ifdef _WIN32
  10. #pragma once
  11. #endif
  12. #include "const.h"
  13. //--------------------------------------------------------------------------
  14. // Collision groups
  15. //--------------------------------------------------------------------------
  16. enum
  17. {
  18. HL2COLLISION_GROUP_PLASMANODE = LAST_SHARED_COLLISION_GROUP,
  19. HL2COLLISION_GROUP_SPIT,
  20. HL2COLLISION_GROUP_HOMING_MISSILE,
  21. HL2COLLISION_GROUP_COMBINE_BALL,
  22. HL2COLLISION_GROUP_FIRST_NPC,
  23. HL2COLLISION_GROUP_HOUNDEYE,
  24. HL2COLLISION_GROUP_CROW,
  25. HL2COLLISION_GROUP_HEADCRAB,
  26. HL2COLLISION_GROUP_STRIDER,
  27. HL2COLLISION_GROUP_GUNSHIP,
  28. HL2COLLISION_GROUP_ANTLION,
  29. HL2COLLISION_GROUP_LAST_NPC,
  30. HL2COLLISION_GROUP_COMBINE_BALL_NPC,
  31. };
  32. //--------------
  33. // HL2 SPECIFIC
  34. //--------------
  35. #define DMG_SNIPER (DMG_LASTGENERICFLAG<<1) // This is sniper damage
  36. #define DMG_MISSILEDEFENSE (DMG_LASTGENERICFLAG<<2) // The only kind of damage missiles take. (special missile defense)
  37. #endif // HL2_SHAREDDEFS_H