From 1edab20e026c63d986aedc59e0baa7a860b94df6 Mon Sep 17 00:00:00 2001 From: Nipun Garg Date: Fri, 26 Jul 2019 09:02:11 +0530 Subject: HDB: Add additional debug output --- engines/hdb/gfx.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) 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) { -- cgit v1.2.3