[Scummvm-cvs-logs] SF.net SVN: scummvm:[52221] scummvm/trunk/engines/gob/inter.cpp

strangerke at users.sourceforge.net strangerke at users.sourceforge.net
Fri Aug 20 09:59:24 CEST 2010


Revision: 52221
          http://scummvm.svn.sourceforge.net/scummvm/?rev=52221&view=rev
Author:   strangerke
Date:     2010-08-20 07:59:23 +0000 (Fri, 20 Aug 2010)

Log Message:
-----------
Fascination - Add a delay before entering the lab. This was a script issue only present in the Amiga and Atari ST versions

Modified Paths:
--------------
    scummvm/trunk/engines/gob/inter.cpp

Modified: scummvm/trunk/engines/gob/inter.cpp
===================================================================
--- scummvm/trunk/engines/gob/inter.cpp	2010-08-20 07:38:33 UTC (rev 52220)
+++ scummvm/trunk/engines/gob/inter.cpp	2010-08-20 07:59:23 UTC (rev 52221)
@@ -288,7 +288,20 @@
 
 				_vm->_util->longDelay(5000);
 			}
+		} // End of workaround
 
+		// WORKAROUND:
+		// The Amiga and Atari ST versions of Fascination don't add a delay after
+		// showing images between some levels, probably using the loading time int account. 
+		// We manually add it here.
+		if ((_vm->getGameType() == kGameTypeFascination) &&
+		    ((_vm->getPlatform() == Common::kPlatformAmiga)||
+	 	     (_vm->getPlatform() == Common::kPlatformAtariST))) {
+			int addr = _vm->_game->_script->pos();
+			if ((startaddr == 0x0202 && addr == 0x0330 && // Before Lab, Amiga & Atari
+			     !strncmp(_vm->_game->_curTotFile, "PLANQUE.tot", 9))) {
+				_vm->_util->longDelay(5000);
+			}
 		} // End of workaround
 
 		cmd = _vm->_game->_script->readByte();


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