aboutsummaryrefslogtreecommitdiff
path: root/engines/kyra/kyra_v1.h
diff options
context:
space:
mode:
authorJohannes Schickel2008-05-12 12:42:10 +0000
committerJohannes Schickel2008-05-12 12:42:10 +0000
commit574af78acb793b23b22f3a47d201d4074387304e (patch)
treeaef2d03d83619faa54c5eac7137f738805b88cf9 /engines/kyra/kyra_v1.h
parente8e4c5dafbbc5161030485ddd4e8f077a96f00e2 (diff)
downloadscummvm-rg350-574af78acb793b23b22f3a47d201d4074387304e.tar.gz
scummvm-rg350-574af78acb793b23b22f3a47d201d4074387304e.tar.bz2
scummvm-rg350-574af78acb793b23b22f3a47d201d4074387304e.zip
- Moved some opcodes to KyraEngine_v1
- Little variable renaming svn-id: r32053
Diffstat (limited to 'engines/kyra/kyra_v1.h')
-rw-r--r--engines/kyra/kyra_v1.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/engines/kyra/kyra_v1.h b/engines/kyra/kyra_v1.h
index 076c6bbd54..1b410d1907 100644
--- a/engines/kyra/kyra_v1.h
+++ b/engines/kyra/kyra_v1.h
@@ -212,6 +212,23 @@ protected:
virtual void setupOpcodeTable() = 0;
Common::Array<const Opcode*> _opcodes;
+ int o1_queryGameFlag(EMCState *script);
+ int o1_setGameFlag(EMCState *script);
+ int o1_resetGameFlag(EMCState *script);
+ int o1_getRand(EMCState *script);
+ int o1_hideMouse(EMCState *script);
+ int o1_showMouse(EMCState *script);
+ int o1_setMousePos(EMCState *script);
+ int o1_setHandItem(EMCState *script);
+ int o1_removeHandItem(EMCState *script);
+ int o1_getMouseState(EMCState *script);
+
+ // items
+ int _mouseState;
+
+ virtual void setHandItem(uint16 item) = 0;
+ virtual void removeHandItem() = 0;
+
// game flags
uint8 _flagsTable[100]; // TODO: check this value