From abaf1336a72453b42d2e7f955ec548f952f8e6a4 Mon Sep 17 00:00:00 2001 From: Eugene Sandulenko Date: Wed, 31 Jul 2019 13:26:28 +0200 Subject: HDB: Hid noisy debug messages, removed one unneeded stub --- engines/hdb/ai-cinematic.cpp | 4 ++-- engines/hdb/hdb.cpp | 12 +++++------- 2 files changed, 7 insertions(+), 9 deletions(-) diff --git a/engines/hdb/ai-cinematic.cpp b/engines/hdb/ai-cinematic.cpp index 572f05901a..d2ce89a6cd 100644 --- a/engines/hdb/ai-cinematic.cpp +++ b/engines/hdb/ai-cinematic.cpp @@ -108,7 +108,7 @@ void AI::processCines() { g_hdb->_lua->callFunction(func, 0); } break; - case C_STARTMAP: + case C_STARTMAP: { const char *title = _cine[i]->title; // free all gfx alloc'ed during cine @@ -709,7 +709,7 @@ void AI::cineDialog(const char *title, const char *string, int seconds) { if (!title || !string) warning("cineDialog: Missing Title or Text"); cmd->cmdType = C_DIALOG; - debug("In cineDialog: C_DIALOG created. cmd->start: %d, cmd->title: %s", cmd->start, cmd->title); + debug(6, "In cineDialog: C_DIALOG created. cmd->start: %d, cmd->title: %s", cmd->start, cmd->title); _cine.push_back(cmd); } diff --git a/engines/hdb/hdb.cpp b/engines/hdb/hdb.cpp index 3d2bf3b3b2..5cd561542c 100644 --- a/engines/hdb/hdb.cpp +++ b/engines/hdb/hdb.cpp @@ -285,14 +285,12 @@ bool HDBGame::restartMap() { _ai->getPlayerXY(&x, &y); _map->centerMapXY(x + 16, y + 16); - warning("STUB: Cheating - Lua Validation"); - - debug(1, "Action List Info:"); + debug(5, "Action List Info:"); for (int k = 0; k < 20; k++) { - debug(1, "Action %d: entityName: %s", k, _ai->_actions[k].entityName); - debug(1, "Action %d: x1: %d, y1: %d", k, _ai->_actions[k].x1, _ai->_actions[k].y1); - debug(1, "Action %d: x2: %d, y2: %d", k, _ai->_actions[k].x2, _ai->_actions[k].y2); - debug(1, "Action %d: luaFuncInit: %s, luaFuncUse: %s", k, _ai->_actions[k].luaFuncInit, _ai->_actions[k].luaFuncUse); + debug(5, "Action %d: entityName: %s", k, _ai->_actions[k].entityName); + debug(5, "Action %d: x1: %d, y1: %d", k, _ai->_actions[k].x1, _ai->_actions[k].y1); + debug(5, "Action %d: x2: %d, y2: %d", k, _ai->_actions[k].x2, _ai->_actions[k].y2); + debug(5, "Action %d: luaFuncInit: %s, luaFuncUse: %s", k, _ai->_actions[k].luaFuncInit, _ai->_actions[k].luaFuncUse); } return true; -- cgit v1.2.3