diff options
author | Ľubomír Remák | 2018-03-11 00:46:44 +0100 |
---|---|---|
committer | Eugene Sandulenko | 2018-08-25 23:12:01 +0200 |
commit | ae979a831091e04797f19d0c80210d745cd60f62 (patch) | |
tree | 988ab239c438bca49b1585ff2befc5a4aba64bb5 /engines/mutationofjb/commands/conditionalcommand.h | |
parent | fa9c8be1292e1f0174454193807f39b5c3ee52bf (diff) | |
download | scummvm-rg350-ae979a831091e04797f19d0c80210d745cd60f62.tar.gz scummvm-rg350-ae979a831091e04797f19d0c80210d745cd60f62.tar.bz2 scummvm-rg350-ae979a831091e04797f19d0c80210d745cd60f62.zip |
MUTATIONOFJB: Add support for IFITEM command and fix parsing conditional commands that are right after #ELSE.
Diffstat (limited to 'engines/mutationofjb/commands/conditionalcommand.h')
-rw-r--r-- | engines/mutationofjb/commands/conditionalcommand.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/engines/mutationofjb/commands/conditionalcommand.h b/engines/mutationofjb/commands/conditionalcommand.h index 6f647204c6..4a4e7e1064 100644 --- a/engines/mutationofjb/commands/conditionalcommand.h +++ b/engines/mutationofjb/commands/conditionalcommand.h @@ -28,6 +28,13 @@ namespace MutationOfJB { +class ConditionalCommandParser : public CommandParser { +public: + virtual void transition(ScriptParseContext &parseCtx, Command *oldCommand, Command *newCommand, CommandParser *newCommandParser); +protected: + char _lastTag; +}; + class ConditionalCommand : public Command { public: ConditionalCommand(); |