diff options
author | Paul Gilbert | 2007-12-09 06:06:22 +0000 |
---|---|---|
committer | Paul Gilbert | 2007-12-09 06:06:22 +0000 |
commit | 770d0b88d67ad86e08f6dcaa6dab00e1897bda19 (patch) | |
tree | a6eeaac9adab845105605c740833ef04ed868639 /engines/lure | |
parent | 41f8a2ff6a3aa40d6d28e0480bb7f166f25a7f28 (diff) | |
download | scummvm-rg350-770d0b88d67ad86e08f6dcaa6dab00e1897bda19.tar.gz scummvm-rg350-770d0b88d67ad86e08f6dcaa6dab00e1897bda19.tar.bz2 scummvm-rg350-770d0b88d67ad86e08f6dcaa6dab00e1897bda19.zip |
Added extra debug statements
svn-id: r29774
Diffstat (limited to 'engines/lure')
-rw-r--r-- | engines/lure/hotspots.cpp | 2 | ||||
-rw-r--r-- | engines/lure/surface.cpp | 3 |
2 files changed, 5 insertions, 0 deletions
diff --git a/engines/lure/hotspots.cpp b/engines/lure/hotspots.cpp index 0ce0f69b88..8ab90ddb9c 100644 --- a/engines/lure/hotspots.cpp +++ b/engines/lure/hotspots.cpp @@ -1250,6 +1250,8 @@ void Hotspot::doAction(Action action, HotspotData *hotspot) { &Hotspot::npcJumpAddress}; (this->*actionProcList[action])(hotspot); + debugC(ERROR_DETAILED, kLureDebugHotspots, "Action charId=%xh Action=%d/%s Complete", + _hotspotId, (int)action, stringList.getString((int)action)); } void Hotspot::doNothing(HotspotData *hotspot) { diff --git a/engines/lure/surface.cpp b/engines/lure/surface.cpp index 7bde6bb217..99e6256821 100644 --- a/engines/lure/surface.cpp +++ b/engines/lure/surface.cpp @@ -493,8 +493,11 @@ void Dialog::show(const char *text) { mouse.cursorOff(); room.update(); + debugC(ERROR_DETAILED, kLureDebugStrings, "Dialog::show creating dialog"); Surface *s = Surface::newDialog(INFO_DIALOG_WIDTH, text); + debugC(ERROR_DETAILED, kLureDebugStrings, "Dialog::show created dialog"); s->copyToScreen(INFO_DIALOG_X, INFO_DIALOG_Y); + debugC(ERROR_DETAILED, kLureDebugStrings, "Dialog::show copied to screen"); // Wait for a keypress or mouse button Events::getReference().waitForPress(); |