diff options
author | Yohann Ferreira <bertram@cegetel.net> | 2005-10-09 21:34:58 +0000 |
---|---|---|
committer | Yohann Ferreira <bertram@cegetel.net> | 2005-10-09 21:34:58 +0000 |
commit | 31047c05a9b56c101566301d81931c66bc4b9ecd (patch) | |
tree | 8646f4383a0297732e76227bc601cd0f80ec5151 /src/engine.cpp | |
parent | 2327c5a7c3b054e52b69286da906f8e5c4432d1c (diff) | |
download | mana-31047c05a9b56c101566301d81931c66bc4b9ecd.tar.gz mana-31047c05a9b56c101566301d81931c66bc4b9ecd.tar.bz2 mana-31047c05a9b56c101566301d81931c66bc4b9ecd.tar.xz mana-31047c05a9b56c101566301d81931c66bc4b9ecd.zip |
Corrected the white browser font bug and the black hp/mp bug which were linked. Added a debug window.
Diffstat (limited to 'src/engine.cpp')
-rw-r--r-- | src/engine.cpp | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/src/engine.cpp b/src/engine.cpp index 2175096d..ef5d8a7a 100644 --- a/src/engine.cpp +++ b/src/engine.cpp @@ -286,20 +286,5 @@ void Engine::draw() (*i)->drawSpeech(graphics, -map_x, -map_y); } -#ifdef DEBUG - std::stringstream debugStream; - debugStream << "[" << fps << " fps] " << mouseTileX << ", " << mouseTileY; - - if (mCurrentMap != NULL) - { - debugStream - << " [music: " << mCurrentMap->getProperty("music") << "]" - << " [minimap: " << mCurrentMap->getProperty("minimap") << "]"; - } - - debugInfo->setCaption(debugStream.str()); - debugInfo->adjustSize(); -#endif - gui->draw(); } |