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.

51 lines
2.6 KiB

  1. //========= Copyright Valve Corporation, All rights reserved. ============//
  2. //
  3. // Purpose: Hold definitions for all client animation events
  4. //
  5. // $Workfile: $
  6. // $Date: $
  7. // $NoKeywords: $
  8. //=============================================================================//
  9. #if !defined( CL_ANIMEVENT_H )
  10. #define CL_ANIMEVENT_H
  11. #ifdef _WIN32
  12. #pragma once
  13. #endif
  14. //Animation event codes
  15. #define CL_EVENT_MUZZLEFLASH0 5001 // Muzzleflash on attachment 0
  16. #define CL_EVENT_MUZZLEFLASH1 5011 // Muzzleflash on attachment 1
  17. #define CL_EVENT_MUZZLEFLASH2 5021 // Muzzleflash on attachment 2
  18. #define CL_EVENT_MUZZLEFLASH3 5031 // Muzzleflash on attachment 3
  19. #define CL_EVENT_SPARK0 5002 // Spark on attachment 0
  20. #define CL_EVENT_NPC_MUZZLEFLASH0 5003 // Muzzleflash on attachment 0 for third person views
  21. #define CL_EVENT_NPC_MUZZLEFLASH1 5013 // Muzzleflash on attachment 1 for third person views
  22. #define CL_EVENT_NPC_MUZZLEFLASH2 5023 // Muzzleflash on attachment 2 for third person views
  23. #define CL_EVENT_NPC_MUZZLEFLASH3 5033 // Muzzleflash on attachment 3 for third person views
  24. #define CL_EVENT_SOUND 5004 // Emit a sound // NOTE THIS MUST MATCH THE DEFINE AT CBaseEntity::PrecacheModel on the server!!!!!
  25. #define CL_EVENT_EJECTBRASS1 6001 // Eject a brass shell from attachment 1
  26. #define CL_EVENT_DISPATCHEFFECT0 9001 // Hook into a DispatchEffect on attachment 0
  27. #define CL_EVENT_DISPATCHEFFECT1 9011 // Hook into a DispatchEffect on attachment 1
  28. #define CL_EVENT_DISPATCHEFFECT2 9021 // Hook into a DispatchEffect on attachment 2
  29. #define CL_EVENT_DISPATCHEFFECT3 9031 // Hook into a DispatchEffect on attachment 3
  30. #define CL_EVENT_DISPATCHEFFECT4 9041 // Hook into a DispatchEffect on attachment 4
  31. #define CL_EVENT_DISPATCHEFFECT5 9051 // Hook into a DispatchEffect on attachment 5
  32. #define CL_EVENT_DISPATCHEFFECT6 9061 // Hook into a DispatchEffect on attachment 6
  33. #define CL_EVENT_DISPATCHEFFECT7 9071 // Hook into a DispatchEffect on attachment 7
  34. #define CL_EVENT_DISPATCHEFFECT8 9081 // Hook into a DispatchEffect on attachment 8
  35. #define CL_EVENT_DISPATCHEFFECT9 9091 // Hook into a DispatchEffect on attachment 9
  36. // These two events are used by c_env_spritegroup.
  37. // FIXME: Should this be local to c_env_spritegroup?
  38. #define CL_EVENT_SPRITEGROUP_CREATE 6002
  39. #define CL_EVENT_SPRITEGROUP_DESTROY 6003
  40. #define CL_EVENT_FOOTSTEP_LEFT 6004
  41. #define CL_EVENT_FOOTSTEP_RIGHT 6005
  42. #define CL_EVENT_MFOOTSTEP_LEFT 6006 // Footstep sounds based on material underfoot.
  43. #define CL_EVENT_MFOOTSTEP_RIGHT 6007
  44. #define CL_EVENT_MFOOTSTEP_LEFT_LOUD 6008 // Loud material impact sounds from feet attachments
  45. #define CL_EVENT_MFOOTSTEP_RIGHT_LOUD 6009
  46. #endif // CL_ANIMEVENT_H