QTfrontend/game.h
changeset 213 c5480c5b11ff
parent 184 f97a7a3dc8f6
child 239 f9adf3c73bed
equal deleted inserted replaced
212:c8c650b23e32 213:c5480c5b11ff
    34 class HWGame : public TCPBase
    34 class HWGame : public TCPBase
    35 {
    35 {
    36 	Q_OBJECT
    36 	Q_OBJECT
    37 public:
    37 public:
    38 	HWGame(GameUIConfig * config, GameCFGWidget * gamecfg);
    38 	HWGame(GameUIConfig * config, GameCFGWidget * gamecfg);
    39 	void AddTeam(const QString & team, unsigned char numHedgedogs);
    39 	void AddTeam(const QString & team, HWTeamTempParams teamParams);
    40 	void PlayDemo(const QString & demofilename);
    40 	void PlayDemo(const QString & demofilename);
    41 	void StartLocal();
    41 	void StartLocal();
    42 	void StartQuick();
    42 	void StartQuick();
    43 	void StartNet();
    43 	void StartNet();
    44 
    44 
    62         gtDemo   = 3,
    62         gtDemo   = 3,
    63         gtNet    = 4
    63         gtNet    = 4
    64     };
    64     };
    65 	char msgbuf[MAXMSGCHARS];
    65 	char msgbuf[MAXMSGCHARS];
    66 	QString teams[5];
    66 	QString teams[5];
    67 	std::map<QString, unsigned char> hdNum;
    67 	std::map<QString, HWTeamTempParams> m_teamsParams;
    68 	QString seed;
    68 	QString seed;
    69 	int TeamCount;
    69 	int TeamCount;
    70 	GameUIConfig * config;
    70 	GameUIConfig * config;
    71 	GameCFGWidget * gamecfg;
    71 	GameCFGWidget * gamecfg;
    72 	GameType gameType;
    72 	GameType gameType;