diff options
Diffstat (limited to 'engines/director/lingo/lingo.h')
-rw-r--r-- | engines/director/lingo/lingo.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/engines/director/lingo/lingo.h b/engines/director/lingo/lingo.h index f3a8edf35b..1f0ffd27c0 100644 --- a/engines/director/lingo/lingo.h +++ b/engines/director/lingo/lingo.h @@ -74,6 +74,12 @@ enum LEvent { kEventStart }; +enum LexerDefineState { + kStateNone, + kStateInDef, + kStateInArgs +}; + typedef void (*inst)(void); #define STOP (inst)0 #define ENTITY_INDEX(t,id) ((t) * 100000 + (id)) @@ -560,7 +566,7 @@ public: uint16 _currentScriptFunction; ScriptData *_currentScript; bool _returning; - bool _indef; + LexerDefineState _indef; bool _ignoreMe; bool _immediateMode; |