From 027fbccdefe582bf22e28ae46fdee3fbf1af8d9a Mon Sep 17 00:00:00 2001 From: mateuszb Date: Tue, 19 Jun 2007 20:16:14 +0000 Subject: [PATCH] =?UTF-8?q?pozosta=C5=82e=20teksty=20do=20wybierania=20sce?= =?UTF-8?q?nariusza=20(tym=20razem=20to=20ju=C5=BC=20wszystkie)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CPreGameTextHandler.cpp | 36 ++++++++++++++++++++++++++++++++++++ CPreGameTextHandler.h | 6 ++++++ 2 files changed, 42 insertions(+) diff --git a/CPreGameTextHandler.cpp b/CPreGameTextHandler.cpp index 27075ef36..4b0233825 100644 --- a/CPreGameTextHandler.cpp +++ b/CPreGameTextHandler.cpp @@ -359,6 +359,42 @@ void CPreGameTextHandler::loadTexts() { loadToIt(singleConstNHumanTeams[vv], buf, i, 1); } + loadToIt(singleConstRandomHumanTeams, buf, i, 1); + loadToIt(singleConstComputerPositionsLabel, buf, i, 1); + loadToIt(singleConstNoComputers, buf, i, 1); + for(int vv=0; vv<7; ++vv) + { + loadToIt(singleConstNComputers[vv], buf, i, 1); + } + loadToIt(singleConstRandomComputers, buf, i, 1); + loadToIt(singleConstComputerTeamsLabel, buf, i, 1); + loadToIt(singleConstNoComputerTeams, buf, i, 1); + for(int vv=0; vv<6; ++vv) + { + loadToIt(singleConstNComputerTeams[vv], buf, i, 1); + } + loadToIt(singleConstRandomComputerTeams, buf, i, 1); + loadToIt(singleConstWaterLabel, buf, i, 1); + loadToIt(singleConstNoWater, buf, i, 1); + loadToIt(singleConstNormalWater, buf, i, 1); + loadToIt(singleConstIslands, buf, i, 1); + loadToIt(singleConstRandomWater, buf, i, 1); + loadToIt(singleConstMonsterStrengthLabel, buf, i, 1); + loadToIt(singleConstWeakMonsters, buf, i, 1); + loadToIt(singleConstNormalMonsters, buf, i, 1); + loadToIt(singleConstStrongMonsters, buf, i, 1); + loadToIt(singleConstRandomMonsters, buf, i, 1); + loadToIt(singleConstShowSavedRandomMaps, buf, i, 1); + loadToIt(singleSliderChatWindow, buf, i, 1); + loadToIt(singleSliderFileMenu, buf, i, 1); + loadToIt(singleSliderDuration, buf, i, 1); + + loadToIt(singlePlayerHandicapHeaderID, buf, i, 0); + loadToIt(singleTurnDurationHeaderID, buf, i, 0); + loadToIt(singleStartingTownHeaderID, buf, i, 0); + loadToIt(singleStartingTownHeaderWConfluxID, buf, i, 0); + loadToIt(singleStartingHeroHeaderID, buf, i, 0); + loadToIt(singleStartingBonusHeaderID, buf, i, 0); } void CPreGameTextHandler::loadToIt(std::string &dest, std::string &src, int &iter, int mode) diff --git a/CPreGameTextHandler.h b/CPreGameTextHandler.h index 09de5398e..452e71bd1 100644 --- a/CPreGameTextHandler.h +++ b/CPreGameTextHandler.h @@ -19,6 +19,12 @@ public: std::string singleConstNHumans[8]; std::string singleConstRandomHumans, singleConstHumanTeamsLabel, singleConstNoHumanTeams; std::string singleConstNHumanTeams[7]; + std::string singleConstRandomHumanTeams, singleConstComputerPositionsLabel, singleConstNoComputers; + std::string singleConstNComputers[7]; + std::string singleConstRandomComputers, singleConstComputerTeamsLabel, singleConstNoComputerTeams; + std::string singleConstNComputerTeams[6]; + std::string singleConstRandomComputerTeams, singleConstWaterLabel, singleConstNoWater, singleConstNormalWater, singleConstIslands, singleConstRandomWater, singleConstMonsterStrengthLabel, singleConstWeakMonsters, singleConstNormalMonsters, singleConstStrongMonsters, singleConstRandomMonsters, singleConstShowSavedRandomMaps, singleSliderChatWindow, singleSliderFileMenu, singleSliderDuration; + std::string singlePlayerHandicapHeaderID, singleTurnDurationHeaderID, singleStartingTownHeaderID, singleStartingTownHeaderWConfluxID, singleStartingHeroHeaderID, singleStartingBonusHeaderID; std::string getTitle(std::string text); std::string getDescr(std::string text); void loadTexts();