StringConstants.h 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  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. }
  29. namespace EAlignment
  30. {
  31. const std::string names [3] = {"good", "evil", "neutral"};
  32. }
  33. namespace PrimarySkill
  34. {
  35. const std::string names [GameConstants::PRIMARY_SKILLS] = { "attack", "defence", "spellpower", "knowledge" };
  36. }
  37. namespace SecondarySkill
  38. {
  39. const std::string names [GameConstants::SKILL_QUANTITY] =
  40. {
  41. "pathfinding", "archery", "logistics", "scouting", "diplomacy", // 5
  42. "navigation", "leadership", "wisdom", "mysticism", "luck", // 10
  43. "ballistics", "eagleEye", "necromancy", "estates", "fireMagic", // 15
  44. "airMagic", "waterMagic", "earthMagic", "scholar", "tactics", // 20
  45. "artillery", "learning", "offence", "armorer", "intelligence", // 25
  46. "sorcery", "resistance", "firstAid"
  47. };
  48. const std::string levels [4] =
  49. {
  50. "none", "basic", "advanced", "expert"
  51. };
  52. }
  53. namespace ETownType
  54. {
  55. const std::string names [GameConstants::F_NUMBER] =
  56. {
  57. "castle", "rampart", "tower",
  58. "inferno", "necropolis", "dungeon",
  59. "stronghold", "fortress", "conflux"
  60. };
  61. }