aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNipun Garg2019-07-26 09:02:11 +0530
committerEugene Sandulenko2019-09-03 17:17:29 +0200
commit1edab20e026c63d986aedc59e0baa7a860b94df6 (patch)
tree02d90e1463d581a8a251a432dfc8a578a0cb370e
parent2bb60c69cd2a0bde98e3039e5b788fc2bced07b2 (diff)
downloadscummvm-rg350-1edab20e026c63d986aedc59e0baa7a860b94df6.tar.gz
scummvm-rg350-1edab20e026c63d986aedc59e0baa7a860b94df6.tar.bz2
scummvm-rg350-1edab20e026c63d986aedc59e0baa7a860b94df6.zip
HDB: Add additional debug output
-rw-r--r--engines/hdb/gfx.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/engines/hdb/gfx.cpp b/engines/hdb/gfx.cpp
index 7c83bf1def..87da3459cb 100644
--- a/engines/hdb/gfx.cpp
+++ b/engines/hdb/gfx.cpp
@@ -1055,6 +1055,14 @@ void Gfx::drawDebugInfo(Tile *_debugLogo, int fps) {
sprintf(buff, "Player height level: %d", p->level);
drawText(buff);
}
+
+ setCursor(0, 48);
+ sprintf(buff, "Map Name: %s", g_hdb->getInMapName());
+ drawText(buff);
+
+ setCursor(0, 64);
+ g_hdb->getActionMode() ? sprintf(buff, "Action Mode") : sprintf(buff, "Puzzle Mode");
+ drawText(buff);
}
Picture::Picture() : _width(0), _height(0) {