--- a/QTfrontend/game.cpp Tue Feb 20 21:33:49 2007 +0000
+++ b/QTfrontend/game.cpp Tue Feb 20 22:34:42 2007 +0000
@@ -25,7 +25,6 @@
#include <QTextStream>
#include <QUuid>
#include <QTextStream>
-#include <QDebug>
#include "game.h"
#include "hwconsts.h"
@@ -70,18 +69,13 @@
gt = "TL";
}
HWProto::addStringToBuffer(buf, gt);
- qDebug() << "game type" << gt;
HWProto::addStringListToBuffer(buf, gamecfg->getFullConfig());
- qDebug() << "config" << gamecfg->getFullConfig();
if (m_pTeamSelWidget)
{
- qDebug() << "adding teams from teamselwidget...";
QList<HWTeam> teams = m_pTeamSelWidget->getPlayingTeams();
for(QList<HWTeam>::iterator it = teams.begin(); it != teams.end(); ++it)
{
- qDebug() << "a team...";
- //(*it).numHedgehogs = 4;
HWProto::addStringListToBuffer(buf,
(*it).TeamGameConfig(gamecfg->getInitHealth()));
}
@@ -127,7 +121,6 @@
break;
}
case 'C': {
- qDebug("ASK Config");
switch (gameType) {
case gtLocal: {
SendConfig();
@@ -152,7 +145,7 @@
case 'K': {
ulong kb = msg.mid(2).toULong();
if (kb==1) {
- qWarning("%s\n", KBMessages[kb - 1].toLocal8Bit().constData());
+ qWarning("%s", KBMessages[kb - 1].toLocal8Bit().constData());
return;
}
if (kb && kb <= KBmsgsCount)