diff options
author | Travis Howell | 2011-08-08 13:50:47 +1000 |
---|---|---|
committer | Travis Howell | 2011-08-08 13:50:47 +1000 |
commit | c87ff89b4aceb4494466c4277614346376a2be0c (patch) | |
tree | b252e8f4045c08d9290308730adfb6ed7429baa5 /engines/scumm/he | |
parent | 905e9bc3ed7a82217bf635cce67675e33792f8c6 (diff) | |
download | scummvm-rg350-c87ff89b4aceb4494466c4277614346376a2be0c.tar.gz scummvm-rg350-c87ff89b4aceb4494466c4277614346376a2be0c.tar.bz2 scummvm-rg350-c87ff89b4aceb4494466c4277614346376a2be0c.zip |
SCUMM: Update stub in arrayOps for Moonbase Commander.
Diffstat (limited to 'engines/scumm/he')
-rw-r--r-- | engines/scumm/he/script_v100he.cpp | 22 |
1 files changed, 18 insertions, 4 deletions
diff --git a/engines/scumm/he/script_v100he.cpp b/engines/scumm/he/script_v100he.cpp index 5a9172ff8a..56ea10f507 100644 --- a/engines/scumm/he/script_v100he.cpp +++ b/engines/scumm/he/script_v100he.cpp @@ -542,7 +542,7 @@ void ScummEngine_v100he::o100_arrayOps() { int dim1end, dim1start, dim2end, dim2start; int id, len, b, c, list[128]; int offs, tmp, tmp2; - uint tmp3; + uint tmp3, type; byte subOp = fetchScriptByte(); int array = fetchScriptWord(); @@ -625,11 +625,10 @@ void ScummEngine_v100he::o100_arrayOps() { } break; case 132: - debug(0, "o100_arrayOps: case 132"); - // TODO: Used by Moonbase Commander + // TODO: Used by room 2 script 2180 in Moonbase Commander fetchScriptWord(); fetchScriptWord(); - pop(); + type = pop(); pop(); pop(); pop(); @@ -646,6 +645,21 @@ void ScummEngine_v100he::o100_arrayOps() { if (id == 0) { defineArray(array, kDwordArray, dim2start, dim2end, dim1start, dim1end); } + switch (type) { + case 1: + break; + case 2: + break; + case 3: + break; + case 4: + break; + case 5: + break; + default: + error("o100_arrayOps: case 132 unknown type %d)", type); + } + debug(0, "o100_arrayOps: case 132 type %d", type); break; case 133: b = pop(); |