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.

96 lines
3.3 KiB

  1. //===== Copyright � 1996-2009, Valve Corporation, All rights reserved. ======//
  2. //
  3. // Purpose:
  4. //
  5. //===========================================================================//
  6. #ifndef _MM_TITLE_CONTEXTVALUES_H
  7. #define _MM_TITLE_CONTEXTVALUES_H
  8. #pragma once
  9. #include "csgo.spa.h"
  10. static ContextValue_t g_MapGroupContexts[] =
  11. {
  12. { "mg_bomb", CONTEXT_CSS_MAP_GROUP_BOMB_MG },
  13. { "mg_hostage", CONTEXT_CSS_MAP_GROUP_HOSTAGE_MG },
  14. { "mg_demolition", CONTEXT_CSS_MAP_GROUP_DEMOLITION_MG },
  15. { "mg_armsrace", CONTEXT_CSS_MAP_GROUP_ARMSRACE_MG },
  16. { "mg_de_aztec", CONTEXT_CSS_MAP_GROUP_AZTEC_MG },
  17. { "mg_ar_baggage", CONTEXT_CSS_MAP_GROUP_BAGGAGE_MG },
  18. { "mg_de_bank", CONTEXT_CSS_MAP_GROUP_BANK_MG },
  19. { "mg_de_dust", CONTEXT_CSS_MAP_GROUP_DUST_MG },
  20. { "mg_de_dust2", CONTEXT_CSS_MAP_GROUP_DUST2_MG },
  21. { "mg_de_inferno", CONTEXT_CSS_MAP_GROUP_INFERNO_MG },
  22. { "mg_cs_italy", CONTEXT_CSS_MAP_GROUP_ITALY_MG },
  23. { "mg_de_lake", CONTEXT_CSS_MAP_GROUP_LAKE_MG },
  24. { "mg_de_nuke", CONTEXT_CSS_MAP_GROUP_NUKE_MG },
  25. { "mg_cs_office", CONTEXT_CSS_MAP_GROUP_OFFICE_MG },
  26. { "mg_de_safehouse", CONTEXT_CSS_MAP_GROUP_SAFEHOUSE_MG },
  27. { "mg_ar_shoots", CONTEXT_CSS_MAP_GROUP_SHOOTS_MG },
  28. { "mg_de_shorttrain", CONTEXT_CSS_MAP_GROUP_SHORTTRAIN_MG },
  29. { "mg_de_stmarc", CONTEXT_CSS_MAP_GROUP_STMARC_MG },
  30. { "mg_de_sugarcane", CONTEXT_CSS_MAP_GROUP_SUGARCANE_MG },
  31. { "mg_de_train", CONTEXT_CSS_MAP_GROUP_TRAIN_MG },
  32. { "mg_training", CONTEXT_CSS_MAP_GROUP_TRAINING_MG },
  33. { NULL, 0xFFFF },
  34. };
  35. static ContextValue_t g_LevelContexts[] =
  36. {
  37. { "cs_italy", CONTEXT_CSS_LEVEL_ITALY },
  38. { "cs_office", CONTEXT_CSS_LEVEL_OFFICE },
  39. { "de_aztec", CONTEXT_CSS_LEVEL_AZTEC },
  40. { "de_dust", CONTEXT_CSS_LEVEL_DUST },
  41. { "de_dust2", CONTEXT_CSS_LEVEL_DUST2 },
  42. { "de_inferno", CONTEXT_CSS_LEVEL_INFERNO },
  43. { "de_nuke", CONTEXT_CSS_LEVEL_NUKE },
  44. { "ar_baggage", CONTEXT_CSS_LEVEL_BAGGAGE },
  45. { "ar_shoots", CONTEXT_CSS_LEVEL_SHOOTS },
  46. { "de_lake", CONTEXT_CSS_LEVEL_LAKE },
  47. { "de_bank", CONTEXT_CSS_LEVEL_BANK },
  48. { "de_safehouse", CONTEXT_CSS_LEVEL_SAFEHOUSE },
  49. { "de_sugarcane", CONTEXT_CSS_LEVEL_SUGARCANE },
  50. { "de_stmarc", CONTEXT_CSS_LEVEL_STMARC },
  51. { "de_shorttrain", CONTEXT_CSS_LEVEL_SHORTTRAIN },
  52. { "de_train", CONTEXT_CSS_LEVEL_TRAIN },
  53. { "training1", CONTEXT_CSS_LEVEL_TRAINING },
  54. { NULL, 0xFFFF },
  55. };
  56. static ContextValue_t g_GameModeContexts[] =
  57. {
  58. { "casual", CONTEXT_CSS_GAME_MODE_CASUAL },
  59. { "competitive", CONTEXT_CSS_GAME_MODE_COMPETITIVE },
  60. { "gungameprogressive", CONTEXT_CSS_GAME_MODE_GUNGAMEPROGRESSIVE },
  61. { "gungametrbomb", CONTEXT_CSS_GAME_MODE_GUNGAMEBOMB },
  62. { NULL, 0xFFFF },
  63. };
  64. static ContextValue_t g_GameModeAsNumberContexts[] =
  65. {
  66. { "casual", 0 },
  67. { "competitive", 1 },
  68. { "competitive_unranked", 2 },
  69. { "pro", 4 },
  70. { "gungameprogressive", 10 },
  71. { "gungameselect", 20 },
  72. { "gungametrbomb", 30 },
  73. { NULL, 0xFFFF },
  74. };
  75. static ContextValue_t g_GameTypeContexts[] =
  76. {
  77. { "classic", CONTEXT_CSS_GAME_TYPE_CLASSIC },
  78. { "gungame", CONTEXT_CSS_GAME_TYPE_GUNGAME },
  79. { NULL, 0xFFFF },
  80. };
  81. static ContextValue_t g_PrivacyContexts[] =
  82. {
  83. { "public", CONTEXT_CSS_PRIVACY_PUBLIC },
  84. { "private", CONTEXT_CSS_PRIVACY_INVITE_ONLY },
  85. { "friends", CONTEXT_CSS_PRIVACY_FRIENDS },
  86. { NULL, 0xFFFF },
  87. };
  88. #endif // _MM_TITLE_CONTEXTVALUES_H