diff options
| author | totycro <totycro@unknown-horizons.org> | 2011-04-19 22:01:41 +0200 |
|---|---|---|
| committer | totycro <totycro@unknown-horizons.org> | 2011-04-19 22:01:41 +0200 |
| commit | ad0db492c213302a627bb4190458ae66834e82d7 (patch) | |
| tree | 37cdcfb6a54bc705c8090e10617c9a68cabaed66 /pacman-c++ | |
| parent | eaf133fd08c9708fe718ef47451bed7ea803a46a (diff) | |
| download | foop-ad0db492c213302a627bb4190458ae66834e82d7.tar.gz foop-ad0db492c213302a627bb4190458ae66834e82d7.tar.bz2 foop-ad0db492c213302a627bb4190458ae66834e82d7.zip | |
removed some debug output
Diffstat (limited to 'pacman-c++')
| -rw-r--r-- | pacman-c++/sceneholder.cpp | 2 | ||||
| -rw-r--r-- | pacman-c++/server.cpp | 7 |
2 files changed, 0 insertions, 9 deletions
diff --git a/pacman-c++/sceneholder.cpp b/pacman-c++/sceneholder.cpp index 2fcfb37..4d71a15 100644 --- a/pacman-c++/sceneholder.cpp +++ b/pacman-c++/sceneholder.cpp | |||
| @@ -133,11 +133,9 @@ void SceneHolder::updateMap(const Transmission::map_t& map, const unsigned int x | |||
| 133 | m_actors[color] = actor; | 133 | m_actors[color] = actor; |
| 134 | addItem(actor); | 134 | addItem(actor); |
| 135 | actor->setPos(mapPositionToCoord(x, y)); | 135 | actor->setPos(mapPositionToCoord(x, y)); |
| 136 | qDebug() << endl << "create act " << endl; | ||
| 137 | } | 136 | } |
| 138 | else | 137 | else |
| 139 | { | 138 | { |
| 140 | qDebug() << endl << "act has pnts: " << actor->getRoundPoints() << actor->getGamePoints() << endl; | ||
| 141 | Actor::Movement direction = Util::transmissionMovementToActor( | 139 | Actor::Movement direction = Util::transmissionMovementToActor( |
| 142 | cur & Transmission::direction_mask); | 140 | cur & Transmission::direction_mask); |
| 143 | /* WARNING: do NOT add actor to visualMap as visualMap-items may | 141 | /* WARNING: do NOT add actor to visualMap as visualMap-items may |
diff --git a/pacman-c++/server.cpp b/pacman-c++/server.cpp index 3cb422b..cc69f08 100644 --- a/pacman-c++/server.cpp +++ b/pacman-c++/server.cpp | |||
| @@ -507,13 +507,6 @@ void Server::onRoundFinished() | |||
| 507 | 507 | ||
| 508 | void Server::initRoundMap(bool firstPacket) | 508 | void Server::initRoundMap(bool firstPacket) |
| 509 | { | 509 | { |
| 510 | qDebug() << endl; | ||
| 511 | qDebug() << endl; | ||
| 512 | qDebug() << "[Server] Creating map..."; | ||
| 513 | qDebug() << endl; | ||
| 514 | qDebug() << endl; | ||
| 515 | qDebug() << endl; | ||
| 516 | |||
| 517 | disconnect(this, SIGNAL(allPointsRemoved()), this, SLOT(onRoundFinished())); | 510 | disconnect(this, SIGNAL(allPointsRemoved()), this, SLOT(onRoundFinished())); |
| 518 | if (!firstPacket) { | 511 | if (!firstPacket) { |
| 519 | // clear old map | 512 | // clear old map |
