2012-12-14 18:32:53 +03:00
|
|
|
/*
|
2015-12-08 08:53:14 +02:00
|
|
|
* StringConstants.h, part of VCMI engine
|
2012-12-14 18:32:53 +03:00
|
|
|
*
|
|
|
|
* Authors: listed in file AUTHORS in main folder
|
|
|
|
*
|
|
|
|
* License: GNU General Public License v2.0 or later
|
|
|
|
* Full text of license available in license.txt file, in main folder
|
|
|
|
*
|
|
|
|
*/
|
2017-07-13 10:26:03 +02:00
|
|
|
#pragma once
|
2012-12-14 18:32:53 +03:00
|
|
|
|
2017-07-13 10:26:03 +02:00
|
|
|
#include "GameConstants.h"
|
2012-12-14 18:32:53 +03:00
|
|
|
|
2022-07-26 15:07:42 +02:00
|
|
|
VCMI_LIB_NAMESPACE_BEGIN
|
|
|
|
|
2012-12-14 18:32:53 +03:00
|
|
|
///
|
|
|
|
/// String ID which are pointless to move to config file - these types are mostly hardcoded
|
|
|
|
///
|
|
|
|
namespace GameConstants
|
|
|
|
{
|
|
|
|
const std::string RESOURCE_NAMES [RESOURCE_QUANTITY] = {
|
|
|
|
"wood", "mercury", "ore", "sulfur", "crystal", "gems", "gold", "mithril"
|
|
|
|
};
|
|
|
|
|
2013-03-03 20:06:03 +03:00
|
|
|
const std::string PLAYER_COLOR_NAMES [PlayerColor::PLAYER_LIMIT_I] = {
|
2013-01-06 22:30:12 +03:00
|
|
|
"red", "blue", "tan", "green", "orange", "purple", "teal", "pink"
|
|
|
|
};
|
2012-12-14 18:32:53 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
namespace EAlignment
|
|
|
|
{
|
|
|
|
const std::string names [3] = {"good", "evil", "neutral"};
|
|
|
|
}
|
|
|
|
|
|
|
|
namespace PrimarySkill
|
|
|
|
{
|
|
|
|
const std::string names [GameConstants::PRIMARY_SKILLS] = { "attack", "defence", "spellpower", "knowledge" };
|
|
|
|
}
|
|
|
|
|
2013-02-12 22:49:40 +03:00
|
|
|
namespace NSecondarySkill
|
2012-12-14 18:32:53 +03:00
|
|
|
{
|
|
|
|
const std::string names [GameConstants::SKILL_QUANTITY] =
|
|
|
|
{
|
|
|
|
"pathfinding", "archery", "logistics", "scouting", "diplomacy", // 5
|
|
|
|
"navigation", "leadership", "wisdom", "mysticism", "luck", // 10
|
|
|
|
"ballistics", "eagleEye", "necromancy", "estates", "fireMagic", // 15
|
|
|
|
"airMagic", "waterMagic", "earthMagic", "scholar", "tactics", // 20
|
|
|
|
"artillery", "learning", "offence", "armorer", "intelligence", // 25
|
|
|
|
"sorcery", "resistance", "firstAid"
|
|
|
|
};
|
2012-12-15 11:47:02 +03:00
|
|
|
|
2016-11-13 12:38:42 +02:00
|
|
|
const std::vector<std::string> levels =
|
2012-12-15 11:47:02 +03:00
|
|
|
{
|
|
|
|
"none", "basic", "advanced", "expert"
|
|
|
|
};
|
2012-12-14 18:32:53 +03:00
|
|
|
}
|
|
|
|
|
2013-04-21 15:49:26 +03:00
|
|
|
namespace EBuildingType
|
|
|
|
{
|
|
|
|
const std::string names [44] =
|
|
|
|
{
|
|
|
|
"mageGuild1", "mageGuild2", "mageGuild3", "mageGuild4", "mageGuild5",
|
|
|
|
"tavern", "shipyard", "fort", "citadel", "castle",
|
|
|
|
"villageHall", "townHall", "cityHall", "capitol", "marketplace",
|
|
|
|
"resourceSilo", "blacksmith", "special1", "horde1", "horde1Upgr",
|
|
|
|
"ship", "special2", "special3", "special4", "horde2",
|
|
|
|
"horde2Upgr", "grail", "extraTownHall", "extraCityHall", "extraCapitol",
|
|
|
|
"dwellingLvl1", "dwellingLvl2", "dwellingLvl3", "dwellingLvl4", "dwellingLvl5",
|
|
|
|
"dwellingLvl6", "dwellingLvl7", "dwellingUpLvl1", "dwellingUpLvl2", "dwellingUpLvl3",
|
|
|
|
"dwellingUpLvl4", "dwellingUpLvl5", "dwellingUpLvl6", "dwellingUpLvl7"
|
|
|
|
};
|
|
|
|
}
|
|
|
|
|
2012-12-14 18:32:53 +03:00
|
|
|
namespace ETownType
|
|
|
|
{
|
|
|
|
const std::string names [GameConstants::F_NUMBER] =
|
|
|
|
{
|
|
|
|
"castle", "rampart", "tower",
|
|
|
|
"inferno", "necropolis", "dungeon",
|
|
|
|
"stronghold", "fortress", "conflux"
|
|
|
|
};
|
|
|
|
}
|
2016-01-24 01:27:14 +02:00
|
|
|
|
|
|
|
namespace NArtifactPosition
|
|
|
|
{
|
2016-11-13 12:38:42 +02:00
|
|
|
const std::string namesHero [19] =
|
2016-01-24 01:27:14 +02:00
|
|
|
{
|
|
|
|
"head", "shoulders", "neck", "rightHand", "leftHand", "torso", //5
|
|
|
|
"rightRing", "leftRing", "feet", //8
|
|
|
|
"misc1", "misc2", "misc3", "misc4", //12
|
|
|
|
"mach1", "mach2", "mach3", "mach4", //16
|
|
|
|
"spellbook", "misc5" //18
|
|
|
|
};
|
|
|
|
|
2016-11-13 12:38:42 +02:00
|
|
|
const std::string namesCreature[1] =
|
|
|
|
{
|
|
|
|
"creature1"
|
|
|
|
};
|
|
|
|
|
|
|
|
const std::string namesCommander[6] =
|
|
|
|
{
|
|
|
|
"commander1", "commander2", "commander3", "commander4", "commander5", "commander6",
|
|
|
|
};
|
|
|
|
|
|
|
|
|
2016-01-24 01:27:14 +02:00
|
|
|
const std::string backpack = "backpack";
|
|
|
|
}
|
2016-11-13 12:38:42 +02:00
|
|
|
|
|
|
|
namespace NMetaclass
|
|
|
|
{
|
|
|
|
const std::string names [16] =
|
|
|
|
{
|
|
|
|
"",
|
|
|
|
"artifact", "creature", "faction", "experience", "hero",
|
|
|
|
"heroClass", "luck", "mana", "morale", "movement",
|
|
|
|
"object", "primarySkill", "secondarySkill", "spell", "resource"
|
|
|
|
};
|
|
|
|
}
|
2022-07-26 15:07:42 +02:00
|
|
|
|
|
|
|
VCMI_LIB_NAMESPACE_END
|