HDB: Add additional debug output

This commit is contained in:
Nipun Garg 2019-07-26 09:02:11 +05:30 committed by Eugene Sandulenko
parent 2bb60c69cd
commit 1edab20e02

View File

@ -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) {