QTfrontend/game.cpp
changeset 395 641ed71c7c93
parent 379 e4cd3cd209c6
child 397 d9bb21b4400d
--- a/QTfrontend/game.cpp	Mon Feb 05 20:26:13 2007 +0000
+++ b/QTfrontend/game.cpp	Mon Feb 05 22:39:01 2007 +0000
@@ -50,11 +50,6 @@
 	emit GameStateChanged(gsStopped);
 }
 
-void HWGame::SendTeamConfig(int index)
-{
-	LocalCFG(teams[index]);
-}
-
 void HWGame::commonConfig()
 {
 	QByteArray buf;
@@ -123,10 +118,7 @@
 {
 	switch(msg.at(1)) {
 		case '?': {
-			if (gameType == gtNet)
-				emit SendNet(QByteArray("\x01""?"));
-			else
-				SendIPC("!");
+			SendIPC("!");
 			break;
 		}
 		case 'C': {
@@ -320,16 +312,3 @@
 	Start();
 	emit GameStateChanged(gsStarted);
 }
-
-
-void HWGame::LocalCFG(const QString & teamname)
-{
-	qDebug("HWGame::LocalCFG is UNIMPLEMENTED");
-/*	QByteArray teamcfg;
-	HWTeam team(teamname);
-	team.LoadFromFile();
-	RawSendIPC(HWProto::addStringListToBuffer(teamcfg,
-			team.TeamGameConfig(16776960, 4, gamecfg->getInitHealth())));
-*/
-}
-