From 770d0b88d67ad86e08f6dcaa6dab00e1897bda19 Mon Sep 17 00:00:00 2001 From: Paul Gilbert Date: Sun, 9 Dec 2007 06:06:22 +0000 Subject: Added extra debug statements svn-id: r29774 --- engines/lure/hotspots.cpp | 2 ++ engines/lure/surface.cpp | 3 +++ 2 files changed, 5 insertions(+) (limited to 'engines/lure') 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(); -- cgit v1.2.3