[Scummvm-cvs-logs] SF.net SVN: scummvm: [31776] scummvm/trunk/engines/agi
thebluegr at users.sourceforge.net
thebluegr at users.sourceforge.net
Tue Apr 29 18:24:54 CEST 2008
Revision: 31776
http://scummvm.svn.sourceforge.net/scummvm/?rev=31776&view=rev
Author: thebluegr
Date: 2008-04-29 09:24:54 -0700 (Tue, 29 Apr 2008)
Log Message:
-----------
Fix for original game bug #1942476 - "AGI: Fan(Get Outta SQ) - Score is lost on restart"
Modified Paths:
--------------
scummvm/trunk/engines/agi/agi.h
scummvm/trunk/engines/agi/detection.cpp
scummvm/trunk/engines/agi/op_cmd.cpp
Modified: scummvm/trunk/engines/agi/agi.h
===================================================================
--- scummvm/trunk/engines/agi/agi.h 2008-04-29 15:51:22 UTC (rev 31775)
+++ scummvm/trunk/engines/agi/agi.h 2008-04-29 16:24:54 UTC (rev 31776)
@@ -105,6 +105,7 @@
GID_SQ2,
GID_XMASCARD,
GID_FANMADE,
+ GID_GETOUTTASQ,
GID_MICKEY, // PreAGI
GID_WINNIE, // PreAGI
GID_TROLL // PreAGI
Modified: scummvm/trunk/engines/agi/detection.cpp
===================================================================
--- scummvm/trunk/engines/agi/detection.cpp 2008-04-29 15:51:22 UTC (rev 31775)
+++ scummvm/trunk/engines/agi/detection.cpp 2008-04-29 16:24:54 UTC (rev 31776)
@@ -1891,7 +1891,6 @@
FANMADE("Fu$k Quest 2 - Romancing the Bone (Teaser)", "d288355d71d9bb1639260ccaa3b2fbfe"),
FANMADE("Fu$k Quest 2 - Romancing the Bone", "294beeb7765c7ea6b05ed7b9bf7bff4f"),
FANMADE("Gennadi Tahab Autot - Mission Pack 1 - Kuressaare", "bfa5fe71978e6ccf3d4eedd430124015"),
- FANMADE("Get Outta Space Quest", "aaea5b4a348acb669d13b0e6f22d4dc9"),
FANMADE("Go West, Young Hippie", "ff31484ea465441cb5f3a0f8e956b716"),
FANMADE("Good Man (demo v3.41)", "3facd8a8f856b7b6e0f6c3200274d88c"),
@@ -1911,6 +1910,22 @@
0x2440,
},
+ {
+ // Get Outta SQ
+ {
+ "agi-fanmade",
+ "Get Outta Space Quest",
+ AD_ENTRY1("logdir", "aaea5b4a348acb669d13b0e6f22d4dc9"),
+ Common::EN_ANY,
+ Common::kPlatformPC,
+ Common::ADGF_NO_FLAGS
+ },
+ GID_GETOUTTASQ,
+ GType_V2,
+ 0,
+ 0x2440,
+ },
+
FANMADE_F("Half-Death - Terror At White-Mesa", "b62c05d0ace878261392073f57ae788c", GF_AGIMOUSE),
FANMADE("Hank's Quest (v1.0 English) - Victim of Society", "64c15b3d0483d17888129100dc5af213"),
FANMADE("Hank's Quest (v1.1 English) - Victim of Society", "86d1f1dd9b0c4858d096e2a60cca8a14"),
Modified: scummvm/trunk/engines/agi/op_cmd.cpp
===================================================================
--- scummvm/trunk/engines/agi/op_cmd.cpp 2008-04-29 15:51:22 UTC (rev 31775)
+++ scummvm/trunk/engines/agi/op_cmd.cpp 2008-04-29 16:24:54 UTC (rev 31776)
@@ -74,6 +74,16 @@
cmd(assignn) {
_v[p0] = p1;
+
+ // WORKAROUND for a bug in fan game "Get outta SQ"
+ // Total number of points is stored in variable 7, which
+ // is then incorrectly assigned to 0. Thus, when the game
+ // is restarted, "Points 0 of 0" is shown. We set the
+ // variable to the correct value here
+ // Fixes bug #1942476 - "AGI: Fan(Get Outta SQ) - Score
+ // is lost on restart"
+ if (g_agi->getGameID() == GID_GETOUTTASQ && p0 == 7)
+ _v[p0] = 8;
}
cmd(addn) {
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