From 33dcab8d6c2113d64e26882488a1b48651285476 Mon Sep 17 00:00:00 2001 From: Travis Howell Date: Sat, 7 Feb 2004 03:10:22 +0000 Subject: Add stub svn-id: r12756 --- scumm/intern.h | 1 + scumm/script_v6he.cpp | 22 +++++++++++++++++++++- 2 files changed, 22 insertions(+), 1 deletion(-) (limited to 'scumm') diff --git a/scumm/intern.h b/scumm/intern.h index cc42c1bd2e..64beeb4227 100644 --- a/scumm/intern.h +++ b/scumm/intern.h @@ -587,6 +587,7 @@ protected: void o6_unknownE0(); void o6_unknownE1(); void o6_unknownE4(); + void o6_seekFile(); void o6_localizeArray(); void o6_unknownFA(); void o6_unknownEA(); diff --git a/scumm/script_v6he.cpp b/scumm/script_v6he.cpp index fbc6c8bbb4..b068f3cc70 100644 --- a/scumm/script_v6he.cpp +++ b/scumm/script_v6he.cpp @@ -340,7 +340,7 @@ void ScummEngine_v6he::setupOpcodes() { OPCODE(o6_invalid), /* E8 */ OPCODE(o6_invalid), - OPCODE(o6_invalid), + OPCODE(o6_seekFile), OPCODE(o6_unknownEA), OPCODE(o6_invalid), /* EC */ @@ -1138,6 +1138,26 @@ void ScummEngine_v6he::o6_unknownFA() { _scriptPointer += len + 1; } +void ScummEngine_v6he::o6_seekFile() { + int a, b, c; + a = pop(); + b = pop(); + c = pop(); + + switch (a) { + case 1: + //seekWrapper(c, b, 0, 0); + break; + case 2: + //seekWrapper(c, b, ?, 1); + break; + default: + break; + } + + warning("stub o6_seekFile(%d, %d, %d)", a, b, c); +} + void ScummEngine_v6he::o6_unknownEA() { int edi, esi, eax; edi = pop(); -- cgit v1.2.3