summaryrefslogtreecommitdiff
path: root/src/engine.cpp
diff options
context:
space:
mode:
authorYohann Ferreira <bertram@cegetel.net>2005-10-09 21:34:58 +0000
committerYohann Ferreira <bertram@cegetel.net>2005-10-09 21:34:58 +0000
commit31047c05a9b56c101566301d81931c66bc4b9ecd (patch)
tree8646f4383a0297732e76227bc601cd0f80ec5151 /src/engine.cpp
parent2327c5a7c3b054e52b69286da906f8e5c4432d1c (diff)
downloadMana-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.cpp15
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();
}