Counter Strike : Global Offensive Source Code
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.

92 lines
4.1 KiB

  1. //====== Copyright � 1996-2007, Valve Corporation, All rights reserved. =======
  2. //
  3. // Purpose:
  4. //
  5. //=============================================================================
  6. #ifndef MP_SHAREDDEFS_H
  7. #define MP_SHAREDDEFS_H
  8. #ifdef _WIN32
  9. #pragma once
  10. #endif
  11. #include "shareddefs.h"
  12. //-----------------------------------------------------------------------------
  13. // TF Concepts
  14. //-----------------------------------------------------------------------------
  15. #define MP_CONCEPT_NONE -1
  16. enum
  17. {
  18. MP_CONCEPT_FIREWEAPON = 0, // "TLK_FIREWEAPON"
  19. MP_CONCEPT_HURT, // "TLK_HURT"
  20. MP_CONCEPT_PLAYER_EXPRESSION, // "TLK_PLAYER_EXPRESSION"
  21. MP_CONCEPT_WINDMINIGUN, // "TLK_WINDMINIGUN"
  22. MP_CONCEPT_FIREMINIGUN, // "TLK_FIREMINIGUN"
  23. MP_CONCEPT_PLAYER_MEDIC, // "TLK_PLAYER_MEDIC"
  24. MP_CONCEPT_DETONATED_OBJECT, // "TLK_DETONATED_OBJECT"
  25. MP_CONCEPT_KILLED_PLAYER, // "TLK_KILLED_PLAYER"
  26. MP_CONCEPT_KILLED_OBJECT, // "TLK_KILLED_OBJECT"
  27. MP_CONCEPT_PLAYER_PAIN, // "TLK_PLAYER_PAIN"
  28. MP_CONCEPT_PLAYER_ATTACKER_PAIN, // "TLK_PLAYER_ATTACKER_PAIN"
  29. MP_CONCEPT_PLAYER_TAUNT, // "TLK_PLAYER_TAUNT"
  30. MP_CONCEPT_PLAYER_HELP, // "TLK_PLAYER_HELP"
  31. MP_CONCEPT_PLAYER_GO, // "TLK_PLAYER_GO"
  32. MP_CONCEPT_PLAYER_MOVEUP, // "TLK_PLAYER_MOVEUP"
  33. MP_CONCEPT_PLAYER_LEFT, // "TLK_PLAYER_LEFT"
  34. MP_CONCEPT_PLAYER_RIGHT, // "TLK_PLAYER_RIGHT"
  35. MP_CONCEPT_PLAYER_YES, // "TLK_PLAYER_YES"
  36. MP_CONCEPT_PLAYER_NO, // "TLK_PLAYER_NO"
  37. MP_CONCEPT_PLAYER_INCOMING, // "TLK_PLAYER_INCOMING"
  38. MP_CONCEPT_PLAYER_CLOAKEDSPY, // "TLK_PLAYER_CLOAKEDSPY"
  39. MP_CONCEPT_PLAYER_SENTRYAHEAD, // "TLK_PLAYER_SENTRYAHEAD"
  40. MP_CONCEPT_PLAYER_TELEPORTERHERE, // "TLK_PLAYER_TELEPORTERHERE"
  41. MP_CONCEPT_PLAYER_DISPENSERHERE, // "TLK_PLAYER_DISPENSERHERE"
  42. MP_CONCEPT_PLAYER_SENTRYHERE, // "TLK_PLAYER_SENTRYHERE"
  43. MP_CONCEPT_PLAYER_ACTIVATECHARGE, // "TLK_PLAYER_ACTIVATECHARGE"
  44. MP_CONCEPT_PLAYER_CHARGEREADY, // "TLK_PLAYER_CHARGEREADY"
  45. MP_CONCEPT_PLAYER_TAUNTS, // "TLK_PLAYER_TAUNTS"
  46. MP_CONCEPT_PLAYER_BATTLECRY, // "TLK_PLAYER_BATTLECRY"
  47. MP_CONCEPT_PLAYER_CHEERS, // "TLK_PLAYER_CHEERS"
  48. MP_CONCEPT_PLAYER_JEERS, // "TLK_PLAYER_JEERS"
  49. MP_CONCEPT_PLAYER_POSITIVE, // "TLK_PLAYER_POSITIVE"
  50. MP_CONCEPT_PLAYER_NEGATIVE, // "TLK_PLAYER_NEGATIVE"
  51. MP_CONCEPT_PLAYER_NICESHOT, // "TLK_PLAYER_NICESHOT"
  52. MP_CONCEPT_PLAYER_GOODJOB, // "TLK_PLAYER_GOODJOB"
  53. MP_CONCEPT_MEDIC_STARTEDHEALING, // "TLK_MEDIC_STARTEDHEALING"
  54. MP_CONCEPT_MEDIC_CHARGEREADY, // "TLK_MEDIC_CHARGEREADY"
  55. MP_CONCEPT_MEDIC_STOPPEDHEALING, // "TLK_MEDIC_STOPPEDHEALING"
  56. MP_CONCEPT_MEDIC_CHARGEDEPLOYED, // "TLK_MEDIC_CHARGEDEPLOYED"
  57. MP_CONCEPT_FLAGPICKUP, // "TLK_FLAGPICKUP"
  58. MP_CONCEPT_FLAGCAPTURED, // "TLK_FLAGCAPTURED"
  59. MP_CONCEPT_ROUND_START, // "TLK_ROUND_START"
  60. MP_CONCEPT_SUDDENDEATH_START, // "TLK_SUDDENDEATH_START"
  61. MP_CONCEPT_ONFIRE, // "TLK_ONFIRE"
  62. MP_CONCEPT_STALEMATE, // "TLK_STALEMATE"
  63. MP_CONCEPT_BUILDING_OBJECT, // "TLK_BUILDING_OBJECT"
  64. MP_CONCEPT_LOST_OBJECT, // "TLK_LOST_OBJECT"
  65. MP_CONCEPT_SPY_SAPPER, // "TLK_SPY_SAPPER"
  66. MP_CONCEPT_TELEPORTED, // "TLK_TELEPORTED"
  67. MP_CONCEPT_LOST_CONTROL_POINT, // "TLK_LOST_CONTROL_POINT"
  68. MP_CONCEPT_CAPTURED_POINT, // "TLK_CAPTURED_POINT"
  69. MP_CONCEPT_CAPTURE_BLOCKED, // "TLK_CAPTURE_BLOCKED"
  70. MP_CONCEPT_HEALTARGET_STARTEDHEALING, // "TLK_HEALTARGET_STARTEDHEALING"
  71. MP_CONCEPT_HEALTARGET_CHARGEREADY, // "TLK_HEALTARGET_CHARGEREADY"
  72. MP_CONCEPT_HEALTARGET_STOPPEDHEALING, // "TLK_HEALTARGET_STOPPEDHEALING"
  73. MP_CONCEPT_HEALTARGET_CHARGEDEPLOYED, // "TLK_HEALTARGET_CHARGEDEPLOYED"
  74. MP_CONCEPT_MINIGUN_FIREWEAPON, // "TLK_MINIGUN_FIREWEAPON"
  75. MP_CONCEPT_DIED, // "TLK_DIED"
  76. MP_CONCEPT_PLAYER_THANKS, // "TLK_PLAYER_THANKS"
  77. MP_CONCEPT_CART_MOVING_FORWARD, // "TLK_CART_MOVING_FORWARD"
  78. MP_CONCEPT_CART_MOVING_BACKWARD, // "TLK_CART_MOVING_BACKWARD"
  79. MP_CONCEPT_CART_STOP, // "TLK_CART_STOP"
  80. MP_CONCEPT_ATE_FOOD, // "TLK_ATE_FOOD"
  81. MP_TF_CONCEPT_COUNT
  82. // Other MP_CONCEPT_* start he using MP_TF_CONCEPT_COUNT + 1 as start.
  83. };
  84. extern const char *g_pszMPConcepts[];
  85. int GetMPConceptIndexFromString( const char *pszConcept );
  86. #endif // MP_SHAREDDEFS_H