QTfrontend/game.h
changeset 339 7535ab6c3820
parent 324 f4c109c82a0c
child 341 184230eb4151
--- a/QTfrontend/game.h	Sun Jan 14 23:13:24 2007 +0000
+++ b/QTfrontend/game.h	Mon Jan 15 18:45:07 2007 +0000
@@ -30,6 +30,7 @@
 
 class GameUIConfig;
 class GameCFGWidget;
+class TeamSelWidget;
 
 enum GameState {
 	gsNotStarted = 0,
@@ -44,7 +45,7 @@
 {
 	Q_OBJECT
 public:
-	HWGame(GameUIConfig * config, GameCFGWidget * gamecfg);
+	HWGame(GameUIConfig * config, GameCFGWidget * gamecfg, TeamSelWidget* pTeamSelWidget=0);
 	void AddTeam(const QString & team, HWTeamTempParams teamParams);
 	void PlayDemo(const QString & demofilename);
 	void StartLocal();
@@ -79,6 +80,7 @@
 	int TeamCount;
 	GameUIConfig * config;
 	GameCFGWidget * gamecfg;
+	TeamSelWidget* m_pTeamSelWidget;
 	GameType gameType;
 
 	void commonConfig();