[Scummvm-cvs-logs] SF.net SVN: scummvm: [27099] scummvm/trunk/engines/agos/vga_s2.cpp
Kirben at users.sourceforge.net
Kirben at users.sourceforge.net
Tue Jun 5 08:43:54 CEST 2007
Revision: 27099
http://scummvm.svn.sourceforge.net/scummvm/?rev=27099&view=rev
Author: Kirben
Date: 2007-06-04 23:43:53 -0700 (Mon, 04 Jun 2007)
Log Message:
-----------
Add workaround for the scrolling glitch in The Feeble Files, the occurs when the repair man comes to fix the car.
Modified Paths:
--------------
scummvm/trunk/engines/agos/vga_s2.cpp
Modified: scummvm/trunk/engines/agos/vga_s2.cpp
===================================================================
--- scummvm/trunk/engines/agos/vga_s2.cpp 2007-06-05 06:05:28 UTC (rev 27098)
+++ scummvm/trunk/engines/agos/vga_s2.cpp 2007-06-05 06:43:53 UTC (rev 27099)
@@ -52,6 +52,12 @@
void AGOSEngine::vc56_delayLong() {
uint16 num = vcReadVarOrWord() * _frameCount;
+ if (getGameType() == GType_FF && _currentTable->id == 20438 && _vgaCurSpriteId == 13 && _vgaCurZoneNum == 2) {
+ // WORKAROUND: When the repair man comes to fix the car, the game doesn't
+ // wait long enough for the screen to completely scroll to the left side.
+ num *= 2;
+ }
+
addVgaEvent(num + _vgaBaseDelay, ANIMATE_EVENT, _vcPtr, _vgaCurSpriteId, _vgaCurZoneNum);
_vcPtr = (byte *)&_vc_get_out_of_code;
}
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