aboutsummaryrefslogtreecommitdiff
path: root/engines/kyra/script_eob.h
diff options
context:
space:
mode:
Diffstat (limited to 'engines/kyra/script_eob.h')
-rw-r--r--engines/kyra/script_eob.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/engines/kyra/script_eob.h b/engines/kyra/script_eob.h
index 8f44c7f6f9..f7e5f09379 100644
--- a/engines/kyra/script_eob.h
+++ b/engines/kyra/script_eob.h
@@ -91,7 +91,12 @@ private:
Screen_Eob *_screen;
typedef Common::Functor1Mem<int8*, int, EobInfProcessor> InfProc;
- Common::Array<const InfProc*> _opcodes;
+ struct InfOpcode {
+ InfOpcode(InfProc *p, const char *d) : proc(p), desc(d) {}
+ InfProc *proc;
+ Common::String desc;
+ };
+ Common::Array<const InfOpcode*> _opcodes;
int8 *_scriptData;
uint16 _scriptSize;