diff --git a/JGE/include/DebugRoutines.h b/JGE/include/DebugRoutines.h index 5fe025a07..944d4e7a1 100644 --- a/JGE/include/DebugRoutines.h +++ b/JGE/include/DebugRoutines.h @@ -32,7 +32,7 @@ std::string ToHex(T* pointer) #define DebugTrace(inString) \ { \ std::ostringstream stream; \ - stream << inString << std::endl; \ + stream << inString; \ qDebug("%s", stream.str().c_str()); \ } #elif defined (ANDROID) diff --git a/projects/mtg/src/GameObserver.cpp b/projects/mtg/src/GameObserver.cpp index 8a851acc1..b7dcda29c 100644 --- a/projects/mtg/src/GameObserver.cpp +++ b/projects/mtg/src/GameObserver.cpp @@ -383,8 +383,8 @@ void GameObserver::resetStartupGame() startupGameSerialized = ""; stream << *this; startupGameSerialized = stream.str(); - DebugTrace("startGame\n"); - DebugTrace(startupGameSerialized); +// DebugTrace("startGame\n"); +// DebugTrace(startupGameSerialized); } void GameObserver::startGame(GameType gtype, Rules * rules) diff --git a/projects/mtg/src/MTGDeck.cpp b/projects/mtg/src/MTGDeck.cpp index c3a5ed55b..20580dc14 100644 --- a/projects/mtg/src/MTGDeck.cpp +++ b/projects/mtg/src/MTGDeck.cpp @@ -357,7 +357,6 @@ void MTGAllCards::loadFolder(const string& infolder, const string& filename ) for (size_t i = 0; i < files.size(); ++i) { - DebugTrace("MTGAllCards::loadFolder: checking folder" << folder << " file " << files[i]); string afile = folder; afile.append(files[i]); @@ -397,7 +396,6 @@ int MTGAllCards::load(const char * config_file, const char * set_name, int) return total_cards; } - DebugTrace("MTGAllCards::load: loading: " << config_file); string s; while (getline(file,s)) diff --git a/projects/mtg/src/TestSuiteAI.cpp b/projects/mtg/src/TestSuiteAI.cpp index 98b8c8106..80c930ef8 100644 --- a/projects/mtg/src/TestSuiteAI.cpp +++ b/projects/mtg/src/TestSuiteAI.cpp @@ -114,7 +114,7 @@ int TestSuiteAI::Act(float) timer = 0; string action = suite->getNextAction(); - observer->mLayers->stackLayer()->Dump(); +// observer->mLayers->stackLayer()->Dump(); DebugTrace("TESTSUITE command: " << action); if (observer->mLayers->stackLayer()->askIfWishesToInterrupt == this)