diff options
author | Nipun Garg | 2019-07-19 21:13:12 +0530 |
---|---|---|
committer | Eugene Sandulenko | 2019-09-03 17:17:24 +0200 |
commit | 9d45057630a7351afb642a8bce96bfaa86dc4aa2 (patch) | |
tree | bfad6249388dde0c32c976d48a80c0b4753a8960 /engines/hdb/saveload.cpp | |
parent | 31ec40a91a16c501c39cbed8fd1d16cd042e4458 (diff) | |
download | scummvm-rg350-9d45057630a7351afb642a8bce96bfaa86dc4aa2.tar.gz scummvm-rg350-9d45057630a7351afb642a8bce96bfaa86dc4aa2.tar.bz2 scummvm-rg350-9d45057630a7351afb642a8bce96bfaa86dc4aa2.zip |
HDB: Add Debug Output for Actions List
Diffstat (limited to 'engines/hdb/saveload.cpp')
-rw-r--r-- | engines/hdb/saveload.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/engines/hdb/saveload.cpp b/engines/hdb/saveload.cpp index 548f68c316..1c385b7765 100644 --- a/engines/hdb/saveload.cpp +++ b/engines/hdb/saveload.cpp @@ -104,6 +104,14 @@ Common::Error HDBGame::loadGameState(int slot) { if (!_ai->cinematicsActive()) _gfx->turnOffFade(); + debug(1, "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); + } + return Common::kNoError; } |