QTfrontend/game.h
changeset 180 ea83b9e9057f
parent 178 efdc2a63be8e
child 183 57c2ef19f719
--- a/QTfrontend/game.h	Sun Oct 01 20:31:48 2006 +0000
+++ b/QTfrontend/game.h	Mon Oct 02 18:09:39 2006 +0000
@@ -35,21 +35,14 @@
 #define GAME_H
 
 #include <QObject>
-#include <QTcpServer>
-#include <QTcpSocket>
 #include <QByteArray>
 #include <QString>
-#include <QDir>
-#include <QProcess>
 #include "team.h"
 
 #include <map>
 
 #include "tcpBase.h"
 
-#define MAXMSGCHARS 255
-#define SENDIPC(a) SendIPC(a, sizeof(a) - 1)
-
 class GameUIConfig;
 class GameCFGWidget;
 
@@ -89,8 +82,6 @@
 	std::map<QString, unsigned char> hdNum;
 	QString seed;
 	int TeamCount;
-	QByteArray * demo;
-	QByteArray toSendBuf;
 	GameUIConfig * config;
 	GameCFGWidget * gamecfg;
 	GameType gameType;
@@ -99,10 +90,6 @@
 	void SendQuickConfig();
 	void SendTeamConfig(int index);
 	void ParseMessage(const QByteArray & msg);
-	void SendIPC(const char * msg, quint8 len);
-	void SendIPC(const QByteArray & buf);
-	void SendIPC(const QString & buf);
-	void RawSendIPC(const QByteArray & buf);
 	void SaveDemo(const QString & filename);
 };