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.

277 lines
6.1 KiB

  1. //========= Copyright � 1996-2005, 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. // set below to 1 to enable
  15. #define ALL_WEARING_SAME_UNIFORM_ACHIEVEMENT 0
  16. typedef enum
  17. {
  18. CSInvalidAchievement = -1,
  19. // Bomb-related Achievements
  20. CSBombAchievementsStart = 1000, // First bomb-related achievement
  21. CSWinBombPlant,
  22. CSWinBombDefuse,
  23. CSDefuseAndNeededKit,
  24. CSBombDefuseCloseCall,
  25. CSKilledDefuser,
  26. CSPlantBombWithin25Seconds,
  27. CSKillBombPickup,
  28. CSBombMultikill,
  29. CSGooseChase,
  30. CSWinBombPlantAfterRecovery,
  31. CSDefuseDefense,
  32. CSPlantBombsLow,
  33. CSDefuseBombsLow,
  34. CSPlantBombsTRLow,
  35. CSDefuseBombsTRLow,
  36. CSBombAchievementsEnd, // Must be after last bomb-related achievement
  37. // Hostage-related Achievements
  38. CSHostageAchievementsStart = 2000, // First hostage-related achievement
  39. CSRescueAllHostagesInARound,
  40. CSKilledRescuer,
  41. CSFastHostageRescue,
  42. CSRescueHostagesLow,
  43. CSRescueHostagesMid,
  44. CSHostageAchievmentEnd, // Must be after last hostage-related achievement
  45. // General Kill Achievements
  46. CSKillAchievementsStart = 3000, // First kill-related achievement
  47. CSEnemyKillsLow,
  48. CSEnemyKillsMed,
  49. CSEnemyKillsHigh,
  50. CSSurvivedHeadshotDueToHelmet,
  51. CSKillEnemyReloading,
  52. CSKillingSpree,
  53. CSKillsWithMultipleGuns,
  54. CSHeadshots,
  55. CSAvengeFriend,
  56. CSSurviveGrenade,
  57. CSDominationsLow,
  58. CSDominationsHigh,
  59. CSRevengesLow,
  60. CSRevengesHigh,
  61. CSDominationOverkillsLow,
  62. CSDominationOverkillsHigh,
  63. CSDominationOverkillsMatch,
  64. CSExtendedDomination,
  65. CSConcurrentDominations,
  66. CSKillEnemyBlinded,
  67. CSKillEnemiesWhileBlind,
  68. CSKillEnemiesWhileBlindHard,
  69. CSKillsEnemyWeapon,
  70. CSKillWithEveryWeapon,
  71. CSWinKnifeFightsLow,
  72. CSWinKnifeFightsHigh,
  73. CSKilledDefuserWithGrenade,
  74. CSKillSniperWithSniper,
  75. CSKillSniperWithKnife,
  76. CSHipShot,
  77. CSKillSnipers,
  78. CSKillWhenAtLowHealth,
  79. CSPistolRoundKnifeKill,
  80. CSWinDualDuel,
  81. CSGrenadeMultikill,
  82. CSKillWhileInAir,
  83. CSKillEnemyInAir,
  84. CSKillerAndEnemyInAir,
  85. CSKillEnemyWithFormerGun,
  86. CSKillTwoWithOneShot,
  87. CSProgressiveGameKills,
  88. CSSelectGameKills,
  89. CSBombGameKills,
  90. CSGunGameKillKnifer,
  91. CSGunGameKnifeSuicide,
  92. CSGunGameKnifeKillKnifer,
  93. CSGunGameSMGKillKnifer,
  94. CSFirstBulletKills,
  95. CSSpawnCamper,
  96. CSBornReady,
  97. CSKillAchievementEnd, // Must be after last kill-related achievement
  98. // Weapon-related Achievements
  99. CSWeaponAchievementsStart = 4000, // First weapon-related achievement
  100. CSEnemyKillsDeagle,
  101. CSEnemyKillsUSP,
  102. CSEnemyKillsGlock,
  103. CSEnemyKillsP228,
  104. CSEnemyKillsElite,
  105. CSEnemyKillsFiveSeven,
  106. CSEnemyKillsBizon,
  107. CSEnemyKillsTec9,
  108. CSEnemyKillsTaser,
  109. CSEnemyKillsHKP2000,
  110. CSEnemyKillsP250,
  111. CSEnemyKillsAWP,
  112. CSEnemyKillsAK47,
  113. CSEnemyKillsM4A1,
  114. CSEnemyKillsAUG,
  115. CSEnemyKillsSG552,
  116. CSEnemyKillsSG550,
  117. CSEnemyKillsGALIL,
  118. CSEnemyKillsGALILAR,
  119. CSEnemyKillsFAMAS,
  120. CSEnemyKillsScout,
  121. CSEnemyKillsG3SG1,
  122. CSEnemyKillsSCAR17,
  123. CSEnemyKillsSCAR20,
  124. CSEnemyKillsSG556,
  125. CSEnemyKillsSSG08,
  126. CSEnemyKillsP90,
  127. CSEnemyKillsMP5NAVY,
  128. CSEnemyKillsTMP,
  129. CSEnemyKillsMAC10,
  130. CSEnemyKillsUMP45,
  131. CSEnemyKillsMP7,
  132. CSEnemyKillsMP9,
  133. CSEnemyKillsM3,
  134. CSEnemyKillsXM1014,
  135. CSEnemyKillsMag7,
  136. CSEnemyKillsSawedoff,
  137. CSEnemyKillsNova,
  138. CSEnemyKillsM249,
  139. CSEnemyKillsNegev,
  140. CSEnemyKillsKnife,
  141. CSEnemyKillsHEGrenade,
  142. CSEnemyKillsMolotov,
  143. CSMetaPistol,
  144. CSMetaRifle,
  145. CSMetaSMG,
  146. CSMetaShotgun,
  147. CSMetaWeaponMaster,
  148. CSWeaponAchievementsEnd, // Must be after last weapon-related achievement
  149. // General Achievements
  150. CSGeneralAchievementsStart = 5000, // First general achievement
  151. CSWinRoundsLow,
  152. CSWinRoundsMed,
  153. CSWinRoundsHigh,
  154. CSGGWinRoundsLow,
  155. CSGGWinRoundsMed,
  156. CSGGWinRoundsHigh,
  157. CSGGWinRoundsExtreme,
  158. CSGGWinRoundsUltimate,
  159. CSGGRoundsLow,
  160. CSGGRoundsMed,
  161. CSGGRoundsHigh,
  162. CSMoneyEarnedLow,
  163. CSMoneyEarnedMed,
  164. CSMoneyEarnedHigh,
  165. CSGiveDamageLow,
  166. CSGiveDamageMed,
  167. CSGiveDamageHigh,
  168. CSPosthumousGrenadeKill,
  169. CSKillEnemyTeam,
  170. CSLastPlayerAlive,
  171. CSKillEnemyLastBullet,
  172. CSKillingSpreeEnder,
  173. CSDamageNoKill,
  174. CSKillLowDamage,
  175. CSSurviveManyAttacks,
  176. CSLosslessExtermination,
  177. CSFlawlessVictory,
  178. CSDecalSprays,
  179. CSBreakWindows,
  180. CSBreakProps,
  181. CSUnstoppableForce,
  182. CSImmovableObject,
  183. CSHeadshotsInRound,
  184. CSWinPistolRoundsLow,
  185. CSWinPistolRoundsMed,
  186. CSWinPistolRoundsHigh,
  187. CSFastRoundWin,
  188. CSNightvisionDamage,
  189. CSSilentWin,
  190. CSBloodlessVictory,
  191. CSDonateWeapons,
  192. CSWinRoundsWithoutBuying,
  193. #if(ALL_WEARING_SAME_UNIFORM_ACHIEVEMENT)
  194. CSSameUniform,
  195. #endif
  196. CSFriendsSameUniform,
  197. CSCauseFriendlyFireWithFlashbang,
  198. CSGeneralAchievementsEnd, // Must be after last general achievement
  199. CSWinMapAchievementsStart = 6000,
  200. CSWinMapCS_ASSAULT,
  201. CSWinMapCS_COMPOUND,
  202. CSWinMapCS_HAVANA,
  203. CSWinMapCS_ITALY,
  204. CSWinMapCS_MILITIA,
  205. CSWinMapCS_OFFICE,
  206. CSWinMapDE_AZTEC,
  207. CSWinMapDE_CBBLE,
  208. CSWinMapDE_CHATEAU,
  209. CSWinMapDE_DUST,
  210. CSWinMapDE_DUST2,
  211. CSWinMapDE_INFERNO,
  212. CSWinMapDE_NUKE,
  213. CSWinMapDE_PIRANESI,
  214. CSWinMapDE_PORT,
  215. CSWinMapDE_PRODIGY,
  216. CSWinMapDE_TIDES,
  217. CSWinMapDE_TRAIN,
  218. CSWinMatchDE_SHORTTRAIN,
  219. CSWinMatchDE_LAKE,
  220. CSWinMatchDE_SAFEHOUSE,
  221. CSWinMatchDE_SUGARCANE,
  222. CSWinMatchDE_STMARC,
  223. CSWinMatchDE_BANK,
  224. CSWinMatchDE_EMBASSY,
  225. CSWinMatchDE_DEPOT,
  226. CSWinMatchDE_VERTIGO,
  227. CSWinMatchDE_BALKAN,
  228. CSWinMatchAR_MONASTERY,
  229. CSWinMatchAR_SHOOTS,
  230. CSWinMatchAR_BAGGAGE,
  231. CSWinEveryGGMap,
  232. CSPlayEveryGGMap,
  233. CSGunGameProgressiveRampage,
  234. CSGunGameFirstKill,
  235. CSKillEnemyTerrTeamBeforeBombPlant,
  236. CSKillEnemyCTTeamBeforeBombPlant,
  237. CSGunGameConservationist,
  238. CSStillAlive,
  239. CSMedalist,
  240. CSWinMapAchievementsEnd, //Must be after last map-based achievement
  241. CSSeason1_Start = 6200,
  242. CSSeason1_Bronze,
  243. CSSeason1_Silver,
  244. CSSeason1_Gold,
  245. CSSeason1_End // Must be after last season 1 achievement
  246. } eCSAchievementType;
  247. #endif // CS_ACHIEVEMENTDEFS_H