From c77da2e4765f9ce7b3591d8af2fa0bb07f3916ae Mon Sep 17 00:00:00 2001 From: Ivan Savenko Date: Sun, 21 Jul 2024 14:31:09 +0000 Subject: [PATCH] Remove no longer used compatibility containers --- lib/texts/CGeneralTextHandler.cpp | 5 ----- lib/texts/CGeneralTextHandler.h | 5 ----- 2 files changed, 10 deletions(-) diff --git a/lib/texts/CGeneralTextHandler.cpp b/lib/texts/CGeneralTextHandler.cpp index 9cc3724c2..24041d8cc 100644 --- a/lib/texts/CGeneralTextHandler.cpp +++ b/lib/texts/CGeneralTextHandler.cpp @@ -120,21 +120,16 @@ void CGeneralTextHandler::readToVector(const std::string & sourceID, const std:: } CGeneralTextHandler::CGeneralTextHandler(): - victoryConditions(*this, "core.vcdesc" ), - lossConditions (*this, "core.lcdesc" ), - colors (*this, "core.plcolors" ), tcommands (*this, "core.tcommand" ), hcommands (*this, "core.hallinfo" ), fcommands (*this, "core.castinfo" ), advobtxt (*this, "core.advevent" ), restypes (*this, "core.restypes" ), - randsign (*this, "core.randsign" ), overview (*this, "core.overview" ), arraytxt (*this, "core.arraytxt" ), primarySkillNames(*this, "core.priskill" ), jktexts (*this, "core.jktext" ), tavernInfo (*this, "core.tvrninfo" ), - tavernRumors (*this, "core.randtvrn" ), turnDurations (*this, "core.turndur" ), heroscrn (*this, "core.heroscrn" ), tentColors (*this, "core.tentcolr" ), diff --git a/lib/texts/CGeneralTextHandler.h b/lib/texts/CGeneralTextHandler.h index ce5263ced..b312a1d0e 100644 --- a/lib/texts/CGeneralTextHandler.h +++ b/lib/texts/CGeneralTextHandler.h @@ -53,7 +53,6 @@ public: LegacyTextContainer jktexts; LegacyTextContainer heroscrn; LegacyTextContainer overview;//text for Kingdom Overview window - LegacyTextContainer colors; //names of player colors ("red",...) LegacyTextContainer capColors; //names of player colors with first letter capitalized ("Red",...) LegacyTextContainer turnDurations; //turn durations for pregame (1 Minute ... Unlimited) @@ -62,18 +61,14 @@ public: LegacyTextContainer hcommands; // town hall screen LegacyTextContainer fcommands; // fort screen LegacyTextContainer tavernInfo; - LegacyTextContainer tavernRumors; LegacyTextContainer qeModCommands; LegacyHelpContainer zelp; - LegacyTextContainer lossConditions; - LegacyTextContainer victoryConditions; //objects LegacyTextContainer advobtxt; LegacyTextContainer restypes; //names of resources - LegacyTextContainer randsign; LegacyTextContainer seerEmpty; LegacyTextContainer seerNames; LegacyTextContainer tentColors;