HDB: Hid noisy debug messages, removed one unneeded stub

This commit is contained in:
Eugene Sandulenko 2019-07-31 13:26:28 +02:00
parent 02d855b066
commit abaf1336a7
2 changed files with 7 additions and 9 deletions

View File

@ -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);
}

View File

@ -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;