StringConstants.h 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  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 HERO_CLASSES_NAMES [F_NUMBER * 2] = {
  24. "knight", "cleric", "ranger", "druid", "alchemist", "wizard",
  25. "demoniac", "heretic", "deathknight", "necromancer", "warlock", "overlord",
  26. "barbarian", "battlemage", "beastmaster", "witch", "planeswalker", "elementalist"
  27. };
  28. const std::string PLAYER_COLOR_NAMES [PlayerColor::PLAYER_LIMIT_I] = {
  29. "red", "blue", "tan", "green", "orange", "purple", "teal", "pink"
  30. };
  31. }
  32. namespace EAlignment
  33. {
  34. const std::string names [3] = {"good", "evil", "neutral"};
  35. }
  36. namespace PrimarySkill
  37. {
  38. const std::string names [GameConstants::PRIMARY_SKILLS] = { "attack", "defence", "spellpower", "knowledge" };
  39. }
  40. namespace NSecondarySkill
  41. {
  42. const std::string names [GameConstants::SKILL_QUANTITY] =
  43. {
  44. "pathfinding", "archery", "logistics", "scouting", "diplomacy", // 5
  45. "navigation", "leadership", "wisdom", "mysticism", "luck", // 10
  46. "ballistics", "eagleEye", "necromancy", "estates", "fireMagic", // 15
  47. "airMagic", "waterMagic", "earthMagic", "scholar", "tactics", // 20
  48. "artillery", "learning", "offence", "armorer", "intelligence", // 25
  49. "sorcery", "resistance", "firstAid"
  50. };
  51. const std::string levels [4] =
  52. {
  53. "none", "basic", "advanced", "expert"
  54. };
  55. }
  56. namespace ETownType
  57. {
  58. const std::string names [GameConstants::F_NUMBER] =
  59. {
  60. "castle", "rampart", "tower",
  61. "inferno", "necropolis", "dungeon",
  62. "stronghold", "fortress", "conflux"
  63. };
  64. }