[Scummvm-cvs-logs] SF.net SVN: scummvm: [24037] scummvm/trunk/engines/agos/event.cpp

kirben at users.sourceforge.net kirben at users.sourceforge.net
Sat Sep 30 13:52:28 CEST 2006


Revision: 24037
          http://svn.sourceforge.net/scummvm/?rev=24037&view=rev
Author:   kirben
Date:     2006-09-30 04:52:24 -0700 (Sat, 30 Sep 2006)

Log Message:
-----------
Add debug output, to find triggers for PP functions

Modified Paths:
--------------
    scummvm/trunk/engines/agos/event.cpp

Modified: scummvm/trunk/engines/agos/event.cpp
===================================================================
--- scummvm/trunk/engines/agos/event.cpp	2006-09-30 11:36:50 UTC (rev 24036)
+++ scummvm/trunk/engines/agos/event.cpp	2006-09-30 11:52:24 UTC (rev 24037)
@@ -322,11 +322,33 @@
 	_lockWord |= 2;
 
 	if (!(_lockWord & 0x10)) {
-		if (getGameType() == GType_FF) {
+		if (getGameType() == GType_PP) {
 			_syncFlag2 ^= 1;
 			if (!_syncFlag2) {
 				processVgaEvents();
+				if (getBitFlag(98)) {
+					if (!getBitFlag(97)) {
+						printf("PairCheck\n");
+						printf("GravityCheck\n");
+					}
+					printf("CheckIfClickedOnBlock\n");
+					if (getBitFlag(99)) {
+						printf("MoveBlocks\n");
+						printf("DroppingBlock\n");
+					}
+				}
 			} else {
+				processVgaEvents();
+				if (_scrollCount == 0) {
+					_lockWord &= ~2;
+					return;
+				}
+			}
+		} else if (getGameType() == GType_FF) {
+			_syncFlag2 ^= 1;
+			if (!_syncFlag2) {
+				processVgaEvents();
+			} else {
 				// Double speed on Oracle
 				if (getBitFlag(99)) {
 					processVgaEvents();


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