From 31047c05a9b56c101566301d81931c66bc4b9ecd Mon Sep 17 00:00:00 2001 From: Yohann Ferreira Date: Sun, 9 Oct 2005 21:34:58 +0000 Subject: Corrected the white browser font bug and the black hp/mp bug which were linked. Added a debug window. --- src/engine.cpp | 15 --------------- 1 file changed, 15 deletions(-) (limited to 'src/engine.cpp') 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(); } -- cgit v1.2.3-70-g09d2