diff options
author | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2005-06-14 09:27:43 +0000 |
---|---|---|
committer | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2005-06-14 09:27:43 +0000 |
commit | d7904f7b7e25bbdd7205e5c18e06d184b2078732 (patch) | |
tree | 7f19693da61eb4a5944c220d3085530fd2e2a407 /src/engine.cpp | |
parent | 24b1c618a11170e825598c5e22bf71f9238eae52 (diff) | |
download | mana-d7904f7b7e25bbdd7205e5c18e06d184b2078732.tar.gz mana-d7904f7b7e25bbdd7205e5c18e06d184b2078732.tar.bz2 mana-d7904f7b7e25bbdd7205e5c18e06d184b2078732.tar.xz mana-d7904f7b7e25bbdd7205e5c18e06d184b2078732.zip |
Added support for map properties, which minimap and background music
functionality can be based upon.
Diffstat (limited to 'src/engine.cpp')
-rw-r--r-- | src/engine.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/engine.cpp b/src/engine.cpp index 973523ed..9c39b3aa 100644 --- a/src/engine.cpp +++ b/src/engine.cpp @@ -492,6 +492,8 @@ void Engine::draw() std::stringstream debugStream; debugStream << "[" << fps << " fps] " << (mouseX / 32 + camera_x) << ", " << (mouseY / 32 + camera_y); + debugStream << " [music: " << tiledMap->getProperty("music") << "]"; + debugStream << " [minimap: " << tiledMap->getProperty("minimap") << "]"; debugInfo->setCaption(debugStream.str()); debugInfo->adjustSize(); } |