aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/engine/kernel.h
diff options
context:
space:
mode:
authorMartin Kiewitz2010-07-18 13:08:47 +0000
committerMartin Kiewitz2010-07-18 13:08:47 +0000
commit4595b8818a862649d244687e57f15d0cce7d48c0 (patch)
treeec99a7f1c83c9349bb5fbf20cd752e285cde6a9b /engines/sci/engine/kernel.h
parent70dfcdfb54707b95b115fbb60e86cd841cc42ffe (diff)
downloadscummvm-rg350-4595b8818a862649d244687e57f15d0cce7d48c0.tar.gz
scummvm-rg350-4595b8818a862649d244687e57f15d0cce7d48c0.tar.bz2
scummvm-rg350-4595b8818a862649d244687e57f15d0cce7d48c0.zip
SCI: adding room numbers to all workarounds
svn-id: r50990
Diffstat (limited to 'engines/sci/engine/kernel.h')
-rw-r--r--engines/sci/engine/kernel.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/engines/sci/engine/kernel.h b/engines/sci/engine/kernel.h
index aab7a9bd26..81106625bf 100644
--- a/engines/sci/engine/kernel.h
+++ b/engines/sci/engine/kernel.h
@@ -122,6 +122,7 @@ typedef reg_t KernelFunctionCall(EngineState *s, int argc, reg_t *argv);
struct SciWorkaroundEntry {
SciGameId gameId;
+ int roomNr;
int scriptNr;
int16 inheritanceLevel;
const char *objectName;
@@ -131,7 +132,7 @@ struct SciWorkaroundEntry {
reg_t newValue;
};
-#define SCI_WORKAROUNDENTRY_TERMINATOR { (SciGameId)0, -1, 0, NULL, NULL, -1, 0, { 0, 0 } }
+#define SCI_WORKAROUNDENTRY_TERMINATOR { (SciGameId)0, -1, -1, 0, NULL, NULL, -1, 0, { 0, 0 } }
struct KernelSubFunction {
KernelFunctionCall *function;