QTfrontend/game.h
changeset 681 7a20c50988ec
parent 588 b2e61fc49e5d
child 686 494b5880989a
equal deleted inserted replaced
680:8ef26c8e8aa7 681:7a20c50988ec
    39 
    39 
    40 class HWGame : public TCPBase
    40 class HWGame : public TCPBase
    41 {
    41 {
    42 	Q_OBJECT
    42 	Q_OBJECT
    43 public:
    43 public:
    44 	HWGame(GameUIConfig * config, GameCFGWidget * gamecfg, TeamSelWidget* pTeamSelWidget = 0);
    44 	HWGame(GameUIConfig * config, GameCFGWidget * gamecfg, QString ammo, TeamSelWidget* pTeamSelWidget = 0);
    45 	virtual ~HWGame();
    45 	virtual ~HWGame();
    46 	void AddTeam(const QString & team);
    46 	void AddTeam(const QString & team);
    47 	void PlayDemo(const QString & demofilename);
    47 	void PlayDemo(const QString & demofilename);
    48 	void StartLocal();
    48 	void StartLocal();
    49 	void StartQuick();
    49 	void StartQuick();
    74 	gtTraining = 5
    74 	gtTraining = 5
    75     };
    75     };
    76 	char msgbuf[MAXMSGCHARS];
    76 	char msgbuf[MAXMSGCHARS];
    77 	QString teams[5];
    77 	QString teams[5];
    78 	QString seed;
    78 	QString seed;
       
    79 	QString ammostr;
    79 	int TeamCount;
    80 	int TeamCount;
    80 	GameUIConfig * config;
    81 	GameUIConfig * config;
    81 	GameCFGWidget * gamecfg;
    82 	GameCFGWidget * gamecfg;
    82 	TeamSelWidget* m_pTeamSelWidget;
    83 	TeamSelWidget* m_pTeamSelWidget;
    83 	GameType gameType;
    84 	GameType gameType;