1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-12-24 22:14:36 +02:00

Remove unused code

This commit is contained in:
Ivan Savenko 2023-01-19 00:23:02 +02:00
parent 5a9ffb8e95
commit 27442e2950
3 changed files with 1 additions and 11 deletions

View File

@ -33,10 +33,6 @@ class DLL_LINKAGE CCreature : public Creature, public CBonusSystemNode
std::string modScope;
std::string identifier;
// std::string nameRef; // reference name, stringID
// std::string nameSing;// singular name, e.g. Centaur
// std::string namePl; // plural name, e.g. Centaurs
std::string getNameTranslated() const override;
std::string getNameTextID() const override;

View File

@ -63,8 +63,6 @@ class DLL_LINKAGE CHero : public HeroType
HeroTypeID ID;
std::string identifier;
std::string modScope;
std::string nameTextID; //name of hero
std::string biographyTextID;
public:
struct InitialArmyStack
@ -137,8 +135,6 @@ public:
h & haveSpellBook;
h & sex;
h & special;
h & nameTextID;
h & biographyTextID;
h & iconSpecSmall;
h & iconSpecLarge;
h & portraitSmall;
@ -159,7 +155,6 @@ class DLL_LINKAGE CHeroClass : public HeroClass
HeroClassID id; // use getId instead
std::string modScope;
std::string identifier; // use getJsonKey instead
std::string nameTextID;
public:
enum EClassAffinity
@ -212,7 +207,6 @@ public:
{
h & modScope;
h & identifier;
h & nameTextID;
h & faction;
h & id;
h & defaultTavernChance;

View File

@ -186,7 +186,7 @@ class DLL_LINKAGE CFaction : public Faction
friend class CBuilding;
friend class CTown;
std::string modScope; //town name, by default - from TownName.txt
std::string modScope;
std::string identifier;
TFaction index;