diff options
author | Nipun Garg | 2019-06-23 08:22:59 +0530 |
---|---|---|
committer | Eugene Sandulenko | 2019-09-03 17:16:57 +0200 |
commit | a1b1275764f493ccf25eb44e1a67a4d6b28e311e (patch) | |
tree | d81deff04bb6eda6e4007d48afec548c46e23604 /engines | |
parent | d48404d087f1e04ff6d1f730c006fbaad34e548c (diff) | |
download | scummvm-rg350-a1b1275764f493ccf25eb44e1a67a4d6b28e311e.tar.gz scummvm-rg350-a1b1275764f493ccf25eb44e1a67a4d6b28e311e.tar.bz2 scummvm-rg350-a1b1275764f493ccf25eb44e1a67a4d6b28e311e.zip |
HDB: Add and modify debug output
Diffstat (limited to 'engines')
-rw-r--r-- | engines/hdb/ai-cinematic.cpp | 2 | ||||
-rw-r--r-- | engines/hdb/file-manager.cpp | 6 |
2 files changed, 5 insertions, 3 deletions
diff --git a/engines/hdb/ai-cinematic.cpp b/engines/hdb/ai-cinematic.cpp index c6c8674e88..bc7ec518f4 100644 --- a/engines/hdb/ai-cinematic.cpp +++ b/engines/hdb/ai-cinematic.cpp @@ -209,6 +209,7 @@ void AI::processCines() { break; } case C_DIALOG: + debug("In processCines: C_DIALOG: _cine[i]->start: %d", _cine[i]->start); if (_cine[i]->start) { g_hdb->_window->openDialog(_cine[i]->title, -1, _cine[i]->string, 0, NULL); g_hdb->_window->setDialogDelay(_cine[i]->delay); @@ -385,6 +386,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->start); _cine.push_back(cmd); } diff --git a/engines/hdb/file-manager.cpp b/engines/hdb/file-manager.cpp index 622d2c09f5..0a238120ba 100644 --- a/engines/hdb/file-manager.cpp +++ b/engines/hdb/file-manager.cpp @@ -96,7 +96,7 @@ Common::SeekableReadStream *FileMan::findFirstData(const char *string, DataType Common::String fileString; MPCEntry *file = NULL; - debug(2, "Looking for Data: '%s'", string); + debug(4, "Looking for Data: '%s'", string); // Find MPC Entry for (MPCIterator it = _dir.begin(); it != _dir.end(); it++) { @@ -106,13 +106,13 @@ Common::SeekableReadStream *FileMan::findFirstData(const char *string, DataType file = *it; break; } else { - debug(2, "Found Data but type mismatch: '%s', target: %d, found: %d", string, type, (*it)->type); + debug(4, "Found Data but type mismatch: '%s', target: %d, found: %d", string, type, (*it)->type); } } } if (file == NULL) { - debug(2, "Couldn't find Data: '%s'", string); + debug(4, "Couldn't find Data: '%s'", string); return NULL; } |