[Scummvm-cvs-logs] SF.net SVN: scummvm: [29774] scummvm/trunk/engines/lure

dreammaster at users.sourceforge.net dreammaster at users.sourceforge.net
Sun Dec 9 07:06:22 CET 2007


Revision: 29774
          http://scummvm.svn.sourceforge.net/scummvm/?rev=29774&view=rev
Author:   dreammaster
Date:     2007-12-08 22:06:22 -0800 (Sat, 08 Dec 2007)

Log Message:
-----------
Added extra debug statements

Modified Paths:
--------------
    scummvm/trunk/engines/lure/hotspots.cpp
    scummvm/trunk/engines/lure/surface.cpp

Modified: scummvm/trunk/engines/lure/hotspots.cpp
===================================================================
--- scummvm/trunk/engines/lure/hotspots.cpp	2007-12-09 05:59:01 UTC (rev 29773)
+++ scummvm/trunk/engines/lure/hotspots.cpp	2007-12-09 06:06:22 UTC (rev 29774)
@@ -1250,6 +1250,8 @@
 		&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) {

Modified: scummvm/trunk/engines/lure/surface.cpp
===================================================================
--- scummvm/trunk/engines/lure/surface.cpp	2007-12-09 05:59:01 UTC (rev 29773)
+++ scummvm/trunk/engines/lure/surface.cpp	2007-12-09 06:06:22 UTC (rev 29774)
@@ -493,8 +493,11 @@
 	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();


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.




More information about the Scummvm-git-logs mailing list