aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/engine/workarounds.cpp
diff options
context:
space:
mode:
authorMartin Kiewitz2017-02-26 00:24:13 +0100
committerMartin Kiewitz2017-02-26 00:24:57 +0100
commit26b6d450df37f1a299c154cb24c03af48f96ef58 (patch)
tree1b3fe0669c471ab0dc9a79411b2c86985a7d96ea /engines/sci/engine/workarounds.cpp
parent29b32d52fa73de3a93d7bafabe1c58c7720de61c (diff)
downloadscummvm-rg350-26b6d450df37f1a299c154cb24c03af48f96ef58.tar.gz
scummvm-rg350-26b6d450df37f1a299c154cb24c03af48f96ef58.tar.bz2
scummvm-rg350-26b6d450df37f1a299c154cb24c03af48f96ef58.zip
SCI: Clean up kRandom + allow 0 parameters via signatures
Also added in depth comments about the currently known variations Returning the RNG seed is now implemented (although it seems no games actually use this functionality, it seems to be just script bugs). Also remove Torin kRandom workarounds.
Diffstat (limited to 'engines/sci/engine/workarounds.cpp')
-rw-r--r--engines/sci/engine/workarounds.cpp8
1 files changed, 0 insertions, 8 deletions
diff --git a/engines/sci/engine/workarounds.cpp b/engines/sci/engine/workarounds.cpp
index 7c41b1f4e5..ed913b27eb 100644
--- a/engines/sci/engine/workarounds.cpp
+++ b/engines/sci/engine/workarounds.cpp
@@ -765,14 +765,6 @@ const SciWorkaroundEntry kPlatform32_workarounds[] = {
};
// gameID, room,script,lvl, object-name, method-name, local-call-signature, index, workaround
-const SciWorkaroundEntry kRandom_workarounds[] = {
- { GID_TORIN, 51400,64928, 0, "Blink", "init", NULL, 0, { WORKAROUND_STILLCALL, 0 } }, // when Lycentia knocks Torin out after he removes her collar
- { GID_TORIN, 51400,64928, 0, "Blink", "cycleDone", NULL, 0, { WORKAROUND_STILLCALL, 0 } }, // when Lycentia knocks Torin out after he removes her collar
- SCI_WORKAROUNDENTRY_TERMINATOR
-};
-
-
-// gameID, room,script,lvl, object-name, method-name, local-call-signature, index, workaround
const SciWorkaroundEntry kReadNumber_workarounds[] = {
{ GID_CNICK_LAURABOW,100, 101, 0, "dominoes.opt", "doit", NULL, 0, { WORKAROUND_STILLCALL, 0 } }, // When dominoes.opt is present, the game scripts call kReadNumber with an extra integer parameter - bug #6425
{ GID_HOYLE3, 100, 101, 0, "dominoes.opt", "doit", NULL, 0, { WORKAROUND_STILLCALL, 0 } }, // When dominoes.opt is present, the game scripts call kReadNumber with an extra integer parameter - bug #6425