[Scummvm-cvs-logs] SF.net SVN: scummvm:[43295] scummvm/branches/gsoc2009-draci/engines/draci/ game.cpp

dkasak13 at users.sourceforge.net dkasak13 at users.sourceforge.net
Wed Aug 12 02:56:44 CEST 2009


Revision: 43295
          http://scummvm.svn.sourceforge.net/scummvm/?rev=43295&view=rev
Author:   dkasak13
Date:     2009-08-12 00:56:44 +0000 (Wed, 12 Aug 2009)

Log Message:
-----------
Added some debug info for loop statuses and dialogues.

Modified Paths:
--------------
    scummvm/branches/gsoc2009-draci/engines/draci/game.cpp

Modified: scummvm/branches/gsoc2009-draci/engines/draci/game.cpp
===================================================================
--- scummvm/branches/gsoc2009-draci/engines/draci/game.cpp	2009-08-12 00:53:35 UTC (rev 43294)
+++ scummvm/branches/gsoc2009-draci/engines/draci/game.cpp	2009-08-12 00:56:44 UTC (rev 43295)
@@ -270,6 +270,9 @@
 
 	Surface *surface = _vm->_screen->getSurface();
 
+	debugC(6, kDraciLogicDebugLevel, "loopstatus: %d, loopsubstatus: %d", 
+		_loopStatus, _loopSubstatus);
+
 	do {
 
 		_vm->handleEvents();
@@ -534,7 +537,9 @@
 		_dialogueExit = false;
 		hit = dialogueDraw();
 		
-		debug(2, "Hit: %d, _lines[hit]: %d", hit, _lines[hit]);
+		debug(7, kDraciLogicDebugLevel, 
+			"hit: %d, _lines[hit]: %d, lastblock: %d, dialogueLines: %d, dialogueExit: %d", 
+			hit, _lines[hit], _lastBlock, _dialogueLines, _dialogueExit);
 
 		if ((!_dialogueExit) && (hit != -1) && (_lines[hit] != -1)) {
 			if ((oldLines == 1) && (_dialogueLines == 1) && (_lines[hit] == _lastBlock)) {


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