mirror of
				https://github.com/vcmi/vcmi.git
				synced 2025-10-31 00:07:39 +02:00 
			
		
		
		
	Remove unused code
This commit is contained in:
		| @@ -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; | ||||
|  | ||||
|   | ||||
| @@ -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; | ||||
|   | ||||
| @@ -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; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user