diff options
author | Martin Kiewitz | 2017-02-23 23:54:45 +0100 |
---|---|---|
committer | Martin Kiewitz | 2017-02-23 23:54:45 +0100 |
commit | 9dd0cd51d5b243700ccbd154e1d91ddb84c307c2 (patch) | |
tree | 5fa0a22dc13b07840d5495d0fec99f3d1a38c0ee /engines/agi/opcodes.h | |
parent | 5fa728371f9d01f9fb268596d961ad841825a456 (diff) | |
download | scummvm-rg350-9dd0cd51d5b243700ccbd154e1d91ddb84c307c2.tar.gz scummvm-rg350-9dd0cd51d5b243700ccbd154e1d91ddb84c307c2.tar.bz2 scummvm-rg350-9dd0cd51d5b243700ccbd154e1d91ddb84c307c2.zip |
AGI: Clean up VM opcode handling
so that invalid opcodes won't crash ScummVM anymore
Diffstat (limited to 'engines/agi/opcodes.h')
-rw-r--r-- | engines/agi/opcodes.h | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/engines/agi/opcodes.h b/engines/agi/opcodes.h index d9644bdcda..63c922dc39 100644 --- a/engines/agi/opcodes.h +++ b/engines/agi/opcodes.h @@ -25,17 +25,6 @@ namespace Agi { -struct AgiInstruction { - const char *name; - const char *args; - AgiCommand func; - - int argumentsLength() { return strlen(args); } -}; - -extern AgiInstruction *logicNamesTest; -extern AgiInstruction *logicNamesCmd; - void cmdIncrement(AgiGame *state, AgiEngine *vm, uint8 *p); void cmdDecrement(AgiGame *state, AgiEngine *vm, uint8 *p); void cmdAssignN(AgiGame *state, AgiEngine *vm, uint8 *p); |