diff options
author | Eugene Sandulenko | 2019-06-24 14:50:04 +0200 |
---|---|---|
committer | Eugene Sandulenko | 2019-09-03 17:16:59 +0200 |
commit | 32e30366a4825eb5e8647f03d2ffa9116c4df0f7 (patch) | |
tree | 6987db8e22ffc351496ad089602a299b5bfe2ae5 | |
parent | f8d7dd18d01e4749310776ac16601765c8b9294e (diff) | |
download | scummvm-rg350-32e30366a4825eb5e8647f03d2ffa9116c4df0f7.tar.gz scummvm-rg350-32e30366a4825eb5e8647f03d2ffa9116c4df0f7.tar.bz2 scummvm-rg350-32e30366a4825eb5e8647f03d2ffa9116c4df0f7.zip |
HDB: Added more debug output and hid some noisy one
-rw-r--r-- | engines/hdb/ai-funcs.cpp | 12 | ||||
-rw-r--r-- | engines/hdb/window.cpp | 2 |
2 files changed, 10 insertions, 4 deletions
diff --git a/engines/hdb/ai-funcs.cpp b/engines/hdb/ai-funcs.cpp index 8e174ef81f..e24ec34be3 100644 --- a/engines/hdb/ai-funcs.cpp +++ b/engines/hdb/ai-funcs.cpp @@ -1145,8 +1145,10 @@ void AI::drawEnts(int x, int y, int w, int h) { _entsLevel2[_numLevel2Ents].e = e; _entsLevel2[_numLevel2Ents].stunnedWait = 0; _numLevel2Ents++; + debugN(5, "not drawing1..."); } else { e->aiDraw(e, x, y); + debugN(5, "drawing1..."); } } } @@ -1162,8 +1164,11 @@ void AI::drawEnts(int x, int y, int w, int h) { _entsLevel2[_numLevel2Ents].e = e; _entsLevel2[_numLevel2Ents].stunnedWait = 0; _numLevel2Ents++; - } else + debugN(5, "not drawing2..."); + } else { e->aiDraw(e, x, y); + debugN(5, "drawing2..."); + } } switch (e->type) { @@ -1183,6 +1188,7 @@ void AI::drawEnts(int x, int y, int w, int h) { _entsLevel2[_numLevel2Ents].e = NULL; _entsLevel2[_numLevel2Ents].stunnedWait = e->stunnedWait; _numLevel2Ents++; + debugN(5, "not trying to draw..."); } else { debugN(5, "trying to draw..."); @@ -1293,8 +1299,8 @@ void AI::moveEnts() { } } - warning("STUB: moveEnts: Laser Rescan"); - warning("STUB: moveEnts: Laser Looping Sound Channel"); + debug(9, "STUB: moveEnts: Laser Rescan"); + debug(9, "STUB: moveEnts: Laser Looping Sound Channel"); } int AI::checkForTouchplate(int x, int y) { diff --git a/engines/hdb/window.cpp b/engines/hdb/window.cpp index d2dc204f76..817919076a 100644 --- a/engines/hdb/window.cpp +++ b/engines/hdb/window.cpp @@ -152,7 +152,7 @@ void Window::drawDialog() { #endif if (g_hdb->getActionMode()) - warning("STUB: drawDialog: Draw Player Weapon"); + debug(9, "STUB: drawDialog: Draw Player Weapon"); if (!_dialogInfo.active) return; |