StringConstants.h 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120
  1. /*
  2. * StringConstants.h, part of VCMI engine
  3. *
  4. * Authors: listed in file AUTHORS in main folder
  5. *
  6. * License: GNU General Public License v2.0 or later
  7. * Full text of license available in license.txt file, in main folder
  8. *
  9. */
  10. #pragma once
  11. #include "GameConstants.h"
  12. VCMI_LIB_NAMESPACE_BEGIN
  13. ///
  14. /// String ID which are pointless to move to config file - these types are mostly hardcoded
  15. ///
  16. namespace GameConstants
  17. {
  18. const std::string RESOURCE_NAMES [RESOURCE_QUANTITY] = {
  19. "wood", "mercury", "ore", "sulfur", "crystal", "gems", "gold", "mithril"
  20. };
  21. const std::string PLAYER_COLOR_NAMES [PlayerColor::PLAYER_LIMIT_I] = {
  22. "red", "blue", "tan", "green", "orange", "purple", "teal", "pink"
  23. };
  24. }
  25. namespace EAlignment
  26. {
  27. const std::string names [3] = {"good", "evil", "neutral"};
  28. }
  29. namespace PrimarySkill
  30. {
  31. const std::string names [GameConstants::PRIMARY_SKILLS] = { "attack", "defence", "spellpower", "knowledge" };
  32. }
  33. namespace NSecondarySkill
  34. {
  35. const std::string names [GameConstants::SKILL_QUANTITY] =
  36. {
  37. "pathfinding", "archery", "logistics", "scouting", "diplomacy", // 5
  38. "navigation", "leadership", "wisdom", "mysticism", "luck", // 10
  39. "ballistics", "eagleEye", "necromancy", "estates", "fireMagic", // 15
  40. "airMagic", "waterMagic", "earthMagic", "scholar", "tactics", // 20
  41. "artillery", "learning", "offence", "armorer", "intelligence", // 25
  42. "sorcery", "resistance", "firstAid"
  43. };
  44. const std::vector<std::string> levels =
  45. {
  46. "none", "basic", "advanced", "expert"
  47. };
  48. }
  49. namespace EBuildingType
  50. {
  51. const std::string names [44] =
  52. {
  53. "mageGuild1", "mageGuild2", "mageGuild3", "mageGuild4", "mageGuild5",
  54. "tavern", "shipyard", "fort", "citadel", "castle",
  55. "villageHall", "townHall", "cityHall", "capitol", "marketplace",
  56. "resourceSilo", "blacksmith", "special1", "horde1", "horde1Upgr",
  57. "ship", "special2", "special3", "special4", "horde2",
  58. "horde2Upgr", "grail", "extraTownHall", "extraCityHall", "extraCapitol",
  59. "dwellingLvl1", "dwellingLvl2", "dwellingLvl3", "dwellingLvl4", "dwellingLvl5",
  60. "dwellingLvl6", "dwellingLvl7", "dwellingUpLvl1", "dwellingUpLvl2", "dwellingUpLvl3",
  61. "dwellingUpLvl4", "dwellingUpLvl5", "dwellingUpLvl6", "dwellingUpLvl7"
  62. };
  63. }
  64. namespace ETownType
  65. {
  66. const std::string names [GameConstants::F_NUMBER] =
  67. {
  68. "castle", "rampart", "tower",
  69. "inferno", "necropolis", "dungeon",
  70. "stronghold", "fortress", "conflux"
  71. };
  72. }
  73. namespace NArtifactPosition
  74. {
  75. const std::string namesHero [19] =
  76. {
  77. "head", "shoulders", "neck", "rightHand", "leftHand", "torso", //5
  78. "rightRing", "leftRing", "feet", //8
  79. "misc1", "misc2", "misc3", "misc4", //12
  80. "mach1", "mach2", "mach3", "mach4", //16
  81. "spellbook", "misc5" //18
  82. };
  83. const std::string namesCreature[1] =
  84. {
  85. "creature1"
  86. };
  87. const std::string namesCommander[6] =
  88. {
  89. "commander1", "commander2", "commander3", "commander4", "commander5", "commander6",
  90. };
  91. const std::string backpack = "backpack";
  92. }
  93. namespace NMetaclass
  94. {
  95. const std::string names [16] =
  96. {
  97. "",
  98. "artifact", "creature", "faction", "experience", "hero",
  99. "heroClass", "luck", "mana", "morale", "movement",
  100. "object", "primarySkill", "secondarySkill", "spell", "resource"
  101. };
  102. }
  103. VCMI_LIB_NAMESPACE_END