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

pozostałe teksty do wybierania scenariusza (tym razem to już wszystkie)

This commit is contained in:
mateuszb 2007-06-19 20:16:14 +00:00
parent a096360953
commit 027fbccdef
2 changed files with 42 additions and 0 deletions

View File

@ -359,6 +359,42 @@ void CPreGameTextHandler::loadTexts()
{ {
loadToIt(singleConstNHumanTeams[vv], buf, i, 1); 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) void CPreGameTextHandler::loadToIt(std::string &dest, std::string &src, int &iter, int mode)

View File

@ -19,6 +19,12 @@ public:
std::string singleConstNHumans[8]; std::string singleConstNHumans[8];
std::string singleConstRandomHumans, singleConstHumanTeamsLabel, singleConstNoHumanTeams; std::string singleConstRandomHumans, singleConstHumanTeamsLabel, singleConstNoHumanTeams;
std::string singleConstNHumanTeams[7]; 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 getTitle(std::string text);
std::string getDescr(std::string text); std::string getDescr(std::string text);
void loadTexts(); void loadTexts();