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

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


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

Log Message:
-----------
As far as I can tell, The Feeble Files should subtract _scrollX from the
sprite's X coordinate, just as we already do for Simon 2. (I believe that was
when scrolling rooms were first introduced.)

I've never played The Feeble Files (apart from the first two or three rooms)
so I can't say whether or not it uses scrolling rooms.

Modified Paths:
--------------
    scummvm/trunk/engines/simon/vga.cpp
Modified: scummvm/trunk/engines/simon/vga.cpp
===================================================================
--- scummvm/trunk/engines/simon/vga.cpp	2006-02-14 20:24:39 UTC (rev 20692)
+++ scummvm/trunk/engines/simon/vga.cpp	2006-02-14 21:10:42 UTC (rev 20693)
@@ -675,7 +675,7 @@
 	_vcPtr += 2;
 	state.x = (int16)vcReadNextWord();
 
-	if (getGameType() == GType_SIMON2) {
+	if (getGameType() == GType_SIMON2 || getGameType() == GType_FF) {
 		state.x -= _scrollX;
 	}
 	state.y = (int16)vcReadNextWord();







More information about the Scummvm-git-logs mailing list