QTfrontend/game.h
changeset 84 0f6669da2fcb
parent 55 e09f7c952a40
child 85 44d9045b26ff
--- a/QTfrontend/game.h	Mon Jul 24 14:03:51 2006 +0000
+++ b/QTfrontend/game.h	Mon Jul 24 22:37:34 2006 +0000
@@ -47,11 +47,13 @@
 #define MAXMSGCHARS 255
 #define SENDIPC(a) SendIPC(a, sizeof(a) - 1)
 
+class GameConfig;
+
 class HWGame : public QObject
 {
 	Q_OBJECT
 public:
-	HWGame(int Resolution, bool Fullscreen);
+	HWGame(GameConfig * config);
 	void AddTeam(const QString & team);
 	void PlayDemo(const QString & demofilename);
 	void StartLocal();
@@ -80,10 +82,8 @@
 	RNDStr seedgen;
 	QByteArray * demo;
 	QByteArray toSendBuf;
-	int vid_Resolution;
-	bool vid_Fullscreen;
+	GameConfig * config;
 	GameType gameType;
-	QDir cfgdir;
 
 	void Start();
 	void SendConfig();