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

strangerke at users.sourceforge.net strangerke at users.sourceforge.net
Tue Aug 24 14:50:13 CEST 2010


Revision: 52334
          http://scummvm.svn.sourceforge.net/scummvm/?rev=52334&view=rev
Author:   strangerke
Date:     2010-08-24 12:50:12 +0000 (Tue, 24 Aug 2010)

Log Message:
-----------
GOB: Two fixes for the Fascination delay issue.

Add two more workarounds for the delay issue between the storage 
room and the lab. This fixes the PC Floppy Hebrew and german 
versions.

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

Modified: scummvm/trunk/engines/gob/inter.cpp
===================================================================
--- scummvm/trunk/engines/gob/inter.cpp	2010-08-24 12:45:19 UTC (rev 52333)
+++ scummvm/trunk/engines/gob/inter.cpp	2010-08-24 12:50:12 UTC (rev 52334)
@@ -291,16 +291,17 @@
 		} // 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.
+		// Apart the CD version which is playing a speech in this room, all the versions
+		// of Fascination have a too short delay between the storage room and the lab.
 		// 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);
+			!strncmp(_vm->_game->_curTotFile, "PLANQUE.tot", 9)) {
+				int addr = _vm->_game->_script->pos();
+				if ((startaddr == 0x0202 && addr == 0x0330) || // Before Lab, Amiga & Atari, English
+					(startaddr == 0x023D && addr == 0x032D) || // Before Lab, PC floppy, German
+					(startaddr == 0x02C2 && addr == 0x03C2)) { // Before Lab, PC floppy, Hebrew
+					warning("Fascination - Adding delay");
+					_vm->_util->longDelay(3000);
 			}
 		} // End of workaround
 


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