QTfrontend/game.h
changeset 11973 1de4d6b35748
parent 11046 47a8c19ecb60
child 13828 d012948b1eda
equal deleted inserted replaced
11972:7dd85fe00de3 11973:1de4d6b35748
    62 bool checkForDir(const QString & dir);
    62 bool checkForDir(const QString & dir);
    63 
    63 
    64 // last game info
    64 // last game info
    65 extern QList<QVariant> lastGameStartArgs;
    65 extern QList<QVariant> lastGameStartArgs;
    66 extern GameType lastGameType;
    66 extern GameType lastGameType;
       
    67 extern QString lastTrainingSubFolder;
    67 extern GameCFGWidget * lastGameCfg;
    68 extern GameCFGWidget * lastGameCfg;
    68 extern QString lastGameAmmo;
    69 extern QString lastGameAmmo;
    69 extern TeamSelWidget * lastGameTeamSel;
    70 extern TeamSelWidget * lastGameTeamSel;
    70 
    71 
    71 class HWGame : public TCPBase
    72 class HWGame : public TCPBase
    77         void AddTeam(const QString & team);
    78         void AddTeam(const QString & team);
    78         void PlayDemo(const QString & demofilename, bool isSave);
    79         void PlayDemo(const QString & demofilename, bool isSave);
    79         void StartLocal();
    80         void StartLocal();
    80         void StartQuick();
    81         void StartQuick();
    81         void StartNet();
    82         void StartNet();
    82         void StartTraining(const QString & file);
    83         void StartTraining(const QString & file, const QString & subFolder);
    83         void StartCampaign(const QString & camp, const QString & campScript, const QString & campTeam);
    84         void StartCampaign(const QString & camp, const QString & campScript, const QString & campTeam);
    84         void abort();
    85         void abort();
    85         GameState gameState;
    86         GameState gameState;
    86         bool netSuspend;
    87         bool netSuspend;
    87 
    88