StringConstants.h 2.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  1. #pragma once
  2. #include "GameConstants.h"
  3. /*
  4. * GameConstants.h, part of VCMI engine
  5. *
  6. * Authors: listed in file AUTHORS in main folder
  7. *
  8. * License: GNU General Public License v2.0 or later
  9. * Full text of license available in license.txt file, in main folder
  10. *
  11. */
  12. ///
  13. /// String ID which are pointless to move to config file - these types are mostly hardcoded
  14. ///
  15. namespace GameConstants
  16. {
  17. const std::string TERRAIN_NAMES [TERRAIN_TYPES] = {
  18. "dirt", "sand", "grass", "snow", "swamp", "rough", "subterra", "lava", "water", "rock"
  19. };
  20. const std::string RESOURCE_NAMES [RESOURCE_QUANTITY] = {
  21. "wood", "mercury", "ore", "sulfur", "crystal", "gems", "gold", "mithril"
  22. };
  23. const std::string PLAYER_COLOR_NAMES [PlayerColor::PLAYER_LIMIT_I] = {
  24. "red", "blue", "tan", "green", "orange", "purple", "teal", "pink"
  25. };
  26. }
  27. namespace EAlignment
  28. {
  29. const std::string names [3] = {"good", "evil", "neutral"};
  30. }
  31. namespace PrimarySkill
  32. {
  33. const std::string names [GameConstants::PRIMARY_SKILLS] = { "attack", "defence", "spellpower", "knowledge" };
  34. }
  35. namespace NSecondarySkill
  36. {
  37. const std::string names [GameConstants::SKILL_QUANTITY] =
  38. {
  39. "pathfinding", "archery", "logistics", "scouting", "diplomacy", // 5
  40. "navigation", "leadership", "wisdom", "mysticism", "luck", // 10
  41. "ballistics", "eagleEye", "necromancy", "estates", "fireMagic", // 15
  42. "airMagic", "waterMagic", "earthMagic", "scholar", "tactics", // 20
  43. "artillery", "learning", "offence", "armorer", "intelligence", // 25
  44. "sorcery", "resistance", "firstAid"
  45. };
  46. const std::string levels [4] =
  47. {
  48. "none", "basic", "advanced", "expert"
  49. };
  50. }
  51. namespace EBuildingType
  52. {
  53. const std::string names [44] =
  54. {
  55. "mageGuild1", "mageGuild2", "mageGuild3", "mageGuild4", "mageGuild5",
  56. "tavern", "shipyard", "fort", "citadel", "castle",
  57. "villageHall", "townHall", "cityHall", "capitol", "marketplace",
  58. "resourceSilo", "blacksmith", "special1", "horde1", "horde1Upgr",
  59. "ship", "special2", "special3", "special4", "horde2",
  60. "horde2Upgr", "grail", "extraTownHall", "extraCityHall", "extraCapitol",
  61. "dwellingLvl1", "dwellingLvl2", "dwellingLvl3", "dwellingLvl4", "dwellingLvl5",
  62. "dwellingLvl6", "dwellingLvl7", "dwellingUpLvl1", "dwellingUpLvl2", "dwellingUpLvl3",
  63. "dwellingUpLvl4", "dwellingUpLvl5", "dwellingUpLvl6", "dwellingUpLvl7"
  64. };
  65. }
  66. namespace ETownType
  67. {
  68. const std::string names [GameConstants::F_NUMBER] =
  69. {
  70. "castle", "rampart", "tower",
  71. "inferno", "necropolis", "dungeon",
  72. "stronghold", "fortress", "conflux"
  73. };
  74. }