2007-06-12 21:17:33 +03:00
# ifndef CPREGAMETEXTHANDLER_H
# define CPREGAMETEXTHANDLER_H
# include <string>
class CPreGameTextHandler //handles pre - game texts
{
public :
std : : string mainNewGame , mainLoadGame , mainHighScores , mainCredits , mainQuit ; //right - click texts in main menu
2007-06-13 23:17:48 +03:00
std : : string ngSingleScenario , ngCampain , ngMultiplayer , ngTutorial , ngBack ; //right - click texts in new game menu
2007-06-14 20:07:26 +03:00
std : : string singleChooseScenario , singleSetAdvOptions , singleRandomMap , singleScenarioName , singleDescriptionTitle , singleDescriptionText , singleEasy , singleNormal , singleHard , singleExpert , singleImpossible ; //main single scenario texts
std : : string singleAllyFlag [ 8 ] , singleEnemyFlag [ 8 ] ;
std : : string singleViewHideScenarioList , singleViewHideAdvOptions , singlePlayRandom , singleChatDesc , singleMapDifficulty , singleRating , singleMapPossibleDifficulties , singleVicCon , singleLossCon ;
std : : string singleSFilter , singleMFilter , singleLFilter , singleXLFilter , singleAllFilter ;
2007-06-13 17:02:43 +03:00
std : : string getTitle ( std : : string text ) ;
std : : string getDescr ( std : : string text ) ;
2007-06-12 21:17:33 +03:00
void loadTexts ( ) ;
2007-06-14 20:07:26 +03:00
void loadToIt ( std : : string & dest , std : : string & src , int & iter , int mode = 0 ) ; //mode 0 - dump to tab, destto tab, dump to eol //mode 1 - dump to tab, src to eol
2007-06-12 21:17:33 +03:00
} ;
# endif //CPREGAMETEXTHANDLER_H