[Scummvm-cvs-logs] SF.net SVN: scummvm: [30261] scummvm/branches/branch-0-11-0/engines/agi/ op_cmd.cpp
buddha_ at users.sourceforge.net
buddha_ at users.sourceforge.net
Sat Jan 5 21:53:23 CET 2008
Revision: 30261
http://scummvm.svn.sourceforge.net/scummvm/?rev=30261&view=rev
Author: buddha_
Date: 2008-01-05 12:53:23 -0800 (Sat, 05 Jan 2008)
Log Message:
-----------
Backport of r30259: Implement a workaround to hide.mouse-command for Amiga's Gold Rush. Fixes walking with mouse in room 192 (The hanging scene i.e. the copy protection failure scene).
Modified Paths:
--------------
scummvm/branches/branch-0-11-0/engines/agi/op_cmd.cpp
Modified: scummvm/branches/branch-0-11-0/engines/agi/op_cmd.cpp
===================================================================
--- scummvm/branches/branch-0-11-0/engines/agi/op_cmd.cpp 2008-01-05 20:52:42 UTC (rev 30260)
+++ scummvm/branches/branch-0-11-0/engines/agi/op_cmd.cpp 2008-01-05 20:53:23 UTC (rev 30261)
@@ -561,6 +561,17 @@
cmd(hide_mouse) {
report("hide.mouse\n");
+
+ if (g_agi->getPlatform() == Common::kPlatformAmiga && g_agi->getGameID() == GID_GOLDRUSH) {
+ // WORKAROUND: Turns off current movement that's being caused with the mouse.
+ // This fixes problems with too many popup boxes appearing in the Amiga
+ // Gold Rush's copy protection failure scene (i.e. the hanging scene, logic.192).
+ // Previously multiple popup boxes appeared one after another if you tried
+ // to walk somewhere else than to the right using the mouse.
+ // FIXME: Write a proper implementation using disassembly and
+ // apply it to other games as well if applicable.
+ game.viewTable[0].flags &= ~ADJ_EGO_XY;
+ }
}
cmd(allow_menu) {
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