2007-07-08 20:28:08 +03:00
# ifndef CGENERALTEXTHANDLER_H
# define CGENERALTEXTHANDLER_H
# include <string>
2007-07-09 14:40:39 +03:00
# include <vector>
2007-07-08 20:28:08 +03:00
2007-07-09 14:40:39 +03:00
class CGeneralTextHandler //Handles general texts
2007-07-08 20:28:08 +03:00
{
public :
2007-07-09 14:40:39 +03:00
std : : vector < std : : string > allTexts ;
2007-11-19 00:58:28 +02:00
std : : vector < std : : string > arraytxt ;
2008-01-13 18:24:24 +02:00
std : : vector < std : : string > primarySkillNames ;
2008-01-15 20:50:52 +02:00
std : : vector < std : : string > jktexts ;
2008-01-31 14:10:59 +02:00
std : : vector < std : : string > heroscrn ;
2007-07-09 14:40:39 +03:00
/*std::string cantAddManager, experienceLimitScenarioReached, heroExperienceInfo, perDay, or, somethingVanquished, lastTownLostInfo, heroesAbandonedYou, heroesAbandonedHim;
2007-07-08 20:28:08 +03:00
std : : string couldNotSaveGame , errorOpeningFile , newgameUppercase , sureToDismissArmy , playersTurn , errorReceivingDataKeepTrying , somethingTheSomething , recruit , noRoomInGarrision , numberOFAdventuringHeroes , heroWithoutCreatures ;
std : : string videoQuality , itemCantBeTraded , sureDismissHero , selectSpellTarget , invalidTeleportDestination , teleportHere , castSomething , castSomethingOnSomething , sureRetreat , notEnoughGold , capturedEnemyArtifact , none ;
std : : string surrenderProposal , highMoraleNextAttack , lowMoraleFreeze , makeRoomInArmyForSomething , attackSomethingSomethingDamage , shootSomethingOneShootLeftSomethingDamage ;
std : : string campaignDescription , somethingIsActive , sessionName , userName , creature , creatures , badLuckOnSomething , goodLuckOnSomething , treasure , somethingSomethingsUnderAttack , town , hero , townScreen , cannotBuildBoat , requires , systemUppercase ;
2007-07-09 14:40:39 +03:00
std : : string worldMapHelp , sureEndTurnHeroMayMove , diggingArtifactWholeDay , noRoomForArtifact , heroUncoveredThe , diggingNothing , tryLookingOnLand , unchartedTerritory ;
std : : string month , week , day , enemyViewTip , pingInfo , sureToRestart , sureToStartNewGame , sureQuit , dimensionDoorFiled , chooseBonus , ping , pingSomething , pingEveryone , score , autosaveUppercase ;
std : : string startingHeroB , heroSpecialityB , associatedCreaturesB , townAlignmentB , errorSendingDataKeepTrying , tooFewPalyersForMultiGame , artifactBonusB , goldBonusB , resourceBonusB , randomBonusB ;
std : : string fiveHundredToOneThousand , armageddonDamages , woodOreBonus , randomlyChoosenArtifact , disruptingRayReducesDefence , goldStartingBonus , woodOreStartingBonus , randomStartingBonus ;
std : : string youEliminatedFormGame , scoreToHallOfFame , trySearchingOnClearGround , sendingData , receivingData , chaosMp2 , randomHeroB , randomStartingHeroInfo , randomTownB , randomStartingTownInfo , somethingSurrendersInfo ;
std : : string heroesCDNotFound , autosaving , playerexitUppercase , statusWindowTip , border , somethingAbsorbsMana , somethingsAbsorbMana , unableChangeHeroesDirectory , unableFindHeoresDataFiles , victoryAchievementText ;
std : : string somethingsRiseFromDeath , somethingRisesFormDeath , somethingDiesUnderGaze , somethingsDieUnderGaze , somethingTakesDefensiveStance , somethingsTakeDefensiveStance , somethingExp , nearestTownOccupied , noAvailableTown , heroTooTiredSpell , townGateCannotBeUsed , youHaveNoHeroes , heroHasCastSpell ;
std : : string doYouWishToSaveSomethingsArmy , problemsWithInputDevices , problemsWithSound , problemsWithMouse , problemsWithWindows , abandonedShipyard , spellFailed , somethingPauses , somethingsPause , somethingLevelSomething , somethingStudiedMagic , learnsSpeced , andSpaced , fromSomethingSpaced ; */
2007-07-08 20:28:08 +03:00
2007-08-04 22:01:22 +03:00
static void loadToIt ( std : : string & dest , std : : string & src , int & iter , int mode = 0 ) ; //mode 0 - dump to tab, dest to tab, dump to eol //mode 1 - dump to tab, src to eol //mode 2 - copy to tab, dump to eol //mode 3 - copy to eol //mode 4 - copy to tab
2007-07-08 20:28:08 +03:00
void load ( ) ;
} ;
# endif //CGENERALTEXTHANDLER_H