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.

210 lines
5.0 KiB

  1. //========= Copyright Valve Corporation, All rights reserved. ============//
  2. //
  3. // Purpose: Shared CS definitions.
  4. //
  5. //=============================================================================//
  6. #ifndef CS_ACHIEVEMENTDEFS_H
  7. #define CS_ACHIEVEMENTDEFS_H
  8. #ifdef _WIN32
  9. #pragma once
  10. #endif
  11. //=============================================================================
  12. // Achievement ID Definitions
  13. //=============================================================================
  14. typedef enum
  15. {
  16. CSInvalidAchievement = -1,
  17. // Bomb-related Achievements
  18. CSBombAchievementsStart = 1000, // First bomb-related achievement
  19. CSWinBombPlant,
  20. CSWinBombDefuse,
  21. CSDefuseAndNeededKit,
  22. CSBombDefuseCloseCall,
  23. CSKilledDefuser,
  24. CSPlantBombWithin25Seconds,
  25. CSKillBombPickup,
  26. CSBombMultikill,
  27. CSGooseChase,
  28. CSWinBombPlantAfterRecovery,
  29. CSDefuseDefense,
  30. CSPlantBombsLow,
  31. CSDefuseBombsLow,
  32. CSBombAchievementsEnd, // Must be after last bomb-related achievement
  33. // Hostage-related Achievements
  34. CSHostageAchievementsStart = 2000, // First hostage-related achievement
  35. CSRescueAllHostagesInARound,
  36. CSKilledRescuer,
  37. CSFastHostageRescue,
  38. CSRescueHostagesLow,
  39. CSRescueHostagesMid,
  40. CSHostageAchievmentEnd, // Must be after last hostage-related achievement
  41. // General Kill Achievements
  42. CSKillAchievementsStart = 3000, // First kill-related achievement
  43. CSEnemyKillsLow,
  44. CSEnemyKillsMed,
  45. CSEnemyKillsHigh,
  46. CSSurvivedHeadshotDueToHelmet,
  47. CSKillEnemyReloading,
  48. CSKillingSpree,
  49. CSKillsWithMultipleGuns,
  50. CSHeadshots,
  51. CSAvengeFriend,
  52. CSSurviveGrenade,
  53. CSDominationsLow,
  54. CSDominationsHigh,
  55. CSRevengesLow,
  56. CSRevengesHigh,
  57. CSDominationOverkillsLow,
  58. CSDominationOverkillsHigh,
  59. CSDominationOverkillsMatch,
  60. CSExtendedDomination,
  61. CSConcurrentDominations,
  62. CSKillEnemyBlinded,
  63. CSKillEnemiesWhileBlind,
  64. CSKillEnemiesWhileBlindHard,
  65. CSKillsEnemyWeapon,
  66. CSKillWithEveryWeapon,
  67. CSWinKnifeFightsLow,
  68. CSWinKnifeFightsHigh,
  69. CSKilledDefuserWithGrenade,
  70. CSKillSniperWithSniper,
  71. CSKillSniperWithKnife,
  72. CSHipShot,
  73. CSKillSnipers,
  74. CSKillWhenAtLowHealth,
  75. CSPistolRoundKnifeKill,
  76. CSWinDualDuel,
  77. CSGrenadeMultikill,
  78. CSKillWhileInAir,
  79. CSKillEnemyInAir,
  80. CSKillerAndEnemyInAir,
  81. CSKillEnemyWithFormerGun,
  82. CSKillTwoWithOneShot,
  83. CSSnipeTwoFromSameSpot,
  84. CSKillAchievementEnd, // Must be after last kill-related achievement
  85. // Weapon-related Achievements
  86. CSWeaponAchievementsStart = 4000, // First weapon-related achievement
  87. CSEnemyKillsDeagle,
  88. CSEnemyKillsUSP,
  89. CSEnemyKillsGlock,
  90. CSEnemyKillsP228,
  91. CSEnemyKillsElite,
  92. CSEnemyKillsFiveSeven,
  93. CSEnemyKillsAWP,
  94. CSEnemyKillsAK47,
  95. CSEnemyKillsM4A1,
  96. CSEnemyKillsAUG,
  97. CSEnemyKillsSG552,
  98. CSEnemyKillsSG550,
  99. CSEnemyKillsGALIL,
  100. CSEnemyKillsFAMAS,
  101. CSEnemyKillsScout,
  102. CSEnemyKillsG3SG1,
  103. CSEnemyKillsP90,
  104. CSEnemyKillsMP5NAVY,
  105. CSEnemyKillsTMP,
  106. CSEnemyKillsMAC10,
  107. CSEnemyKillsUMP45,
  108. CSEnemyKillsM3,
  109. CSEnemyKillsXM1014,
  110. CSEnemyKillsM249,
  111. CSEnemyKillsKnife,
  112. CSEnemyKillsHEGrenade,
  113. CSMetaPistol,
  114. CSMetaRifle,
  115. CSMetaSMG,
  116. CSMetaShotgun,
  117. CSMetaWeaponMaster,
  118. CSWeaponAchievementsEnd, // Must be after last weapon-related achievement
  119. // General Achievements
  120. CSGeneralAchievementsStart = 5000, // First general achievement
  121. CSWinRoundsLow,
  122. CSWinRoundsMed,
  123. CSWinRoundsHigh,
  124. CSMoneyEarnedLow,
  125. CSMoneyEarnedMed,
  126. CSMoneyEarnedHigh,
  127. CSGiveDamageLow,
  128. CSGiveDamageMed,
  129. CSGiveDamageHigh,
  130. CSPosthumousGrenadeKill,
  131. CSKillEnemyTeam,
  132. CSLastPlayerAlive,
  133. CSKillEnemyLastBullet,
  134. CSKillingSpreeEnder,
  135. CSDamageNoKill,
  136. CSKillLowDamage,
  137. CSSurviveManyAttacks,
  138. CSLosslessExtermination,
  139. CSFlawlessVictory,
  140. CSDecalSprays,
  141. CSBreakWindows,
  142. CSBreakProps,
  143. CSUnstoppableForce,
  144. CSImmovableObject,
  145. CSHeadshotsInRound,
  146. CSWinPistolRoundsLow,
  147. CSWinPistolRoundsMed,
  148. CSWinPistolRoundsHigh,
  149. CSFastRoundWin,
  150. CSNightvisionDamage,
  151. CSSilentWin,
  152. CSBloodlessVictory,
  153. CSDonateWeapons,
  154. CSWinRoundsWithoutBuying,
  155. CSSameUniform,
  156. CSFriendsSameUniform,
  157. CSCauseFriendlyFireWithFlashbang,
  158. CSWinClanMatch,
  159. CSCollectHolidayGifts,
  160. CSGeneralAchievementsEnd, // Must be after last general achievement
  161. CSWinMapAchievementsStart = 6000,
  162. CSWinMapCS_ASSAULT,
  163. CSWinMapCS_COMPOUND,
  164. CSWinMapCS_HAVANA,
  165. CSWinMapCS_ITALY,
  166. CSWinMapCS_MILITIA,
  167. CSWinMapCS_OFFICE,
  168. CSWinMapDE_AZTEC,
  169. CSWinMapDE_CBBLE,
  170. CSWinMapDE_CHATEAU,
  171. CSWinMapDE_DUST,
  172. CSWinMapDE_DUST2,
  173. CSWinMapDE_INFERNO,
  174. CSWinMapDE_NUKE,
  175. CSWinMapDE_PIRANESI,
  176. CSWinMapDE_PORT,
  177. CSWinMapDE_PRODIGY,
  178. CSWinMapDE_TIDES,
  179. CSWinMapDE_TRAIN,
  180. CSWinMapAchievementsEnd //Must be after last map-based achievement
  181. } eCSAchievementType;
  182. #endif // CS_ACHIEVEMENTDEFS_H