From d0eecc921589f0edecd48c51c3952684ee2216f9 Mon Sep 17 00:00:00 2001 From: Travis Howell Date: Thu, 30 Sep 2004 09:54:45 +0000 Subject: [PATCH] Add stub svn-id: r15358 --- scumm/intern.h | 1 + scumm/script_v90he.cpp | 30 +++++++++++++++++++++++++++++- 2 files changed, 30 insertions(+), 1 deletion(-) diff --git a/scumm/intern.h b/scumm/intern.h index 8b5bebecec3..f0da142cf9f 100644 --- a/scumm/intern.h +++ b/scumm/intern.h @@ -890,6 +890,7 @@ protected: void o90_unknown31(); void o90_unknown32(); void o90_unknown34(); + void o90_unknown35(); void o90_unknown36(); void o90_unknown37(); void o90_unknown3A(); diff --git a/scumm/script_v90he.cpp b/scumm/script_v90he.cpp index ab69996d67b..114ca53b181 100644 --- a/scumm/script_v90he.cpp +++ b/scumm/script_v90he.cpp @@ -111,7 +111,7 @@ void ScummEngine_v90he::setupOpcodes() { OPCODE(o6_invalid), /* 34 */ OPCODE(o90_unknown34), - OPCODE(o6_invalid), + OPCODE(o90_unknown35), OPCODE(o90_unknown36), OPCODE(o90_unknown37), /* 38 */ @@ -969,6 +969,34 @@ void ScummEngine_v90he::o90_unknown34() { push(readVar(0)); } +void ScummEngine_v90he::o90_unknown35() { + // Polygons related + int args[32]; + int args2[32]; + + getStackList(args, ARRAYSIZE(args)); + getStackList(args2, ARRAYSIZE(args2)); + + int subOp = pop(); + + switch (subOp) { + case 1: + case 2: + case 3: + case 4: + case 5: + // HE 98+ + case 6: + case 7: + case 8: + case 9: + break; + default: + error("o90_unknown35: default case %d", subOp); + } + push(0); +} + void ScummEngine_v90he::o90_unknown36() { int a = pop(); int b = pop();