[Scummvm-cvs-logs] SF.net SVN: scummvm: [20694] scummvm/trunk/engines/simon/vga.cpp

eriktorbjorn at users.sourceforge.net eriktorbjorn at users.sourceforge.net
Tue Feb 14 13:22:02 CET 2006


Revision: 20694
Author:   eriktorbjorn
Date:     2006-02-14 13:20:10 -0800 (Tue, 14 Feb 2006)
ViewCVS:  http://svn.sourceforge.net/scummvm?rev=20694&view=rev

Log Message:
-----------
It looks like Feeble Files adjustis sprite coordinates by _scrollY as well,
where Simon 2 only adjusts by _scrollX. Perhaps Feeble Files have rooms that
scroll both horizontally and vertically?

Again, this makes no difference to the early stages of the game.

Modified Paths:
--------------
    scummvm/trunk/engines/simon/vga.cpp
Modified: scummvm/trunk/engines/simon/vga.cpp
===================================================================
--- scummvm/trunk/engines/simon/vga.cpp	2006-02-14 21:10:42 UTC (rev 20693)
+++ scummvm/trunk/engines/simon/vga.cpp	2006-02-14 21:20:10 UTC (rev 20694)
@@ -680,6 +680,10 @@
 	}
 	state.y = (int16)vcReadNextWord();
 
+	if (getGameType() == GType_FF) {
+		state.y -= _scrollY;
+	}
+
 	if (getGameType() == GType_SIMON1) {
 		state.flags = vcReadNextWord();
 	} else {







More information about the Scummvm-git-logs mailing list