QTfrontend/game.h
changeset 43 e297fea1a2f3
parent 41 5d7a505875cd
child 55 e09f7c952a40
--- a/QTfrontend/game.h	Mon Jan 09 20:33:12 2006 +0000
+++ b/QTfrontend/game.h	Tue Jan 10 19:53:18 2006 +0000
@@ -73,8 +73,7 @@
     QTcpServer * IPCServer;
 	QTcpSocket * IPCSocket;
 	char msgbuf[MAXMSGCHARS];
-	quint8 msgbufsize;
-	quint8 msgsize;
+	QByteArray readbuffer;
 	QString teams[5];
 	QString seed;
 	int TeamCount;
@@ -89,7 +88,7 @@
 	void Start();
 	void SendConfig();
 	void SendTeamConfig(int index);
-	void ParseMessage();
+	void ParseMessage(const QByteArray & msg);
 	void SendIPC(const char * msg, quint8 len);
 	void SendIPC(const QByteArray & buf);
 	void RawSendIPC(const QByteArray & buf);