diff options
author | Ľubomír Remák | 2018-03-21 22:49:36 +0100 |
---|---|---|
committer | Eugene Sandulenko | 2018-08-25 23:12:01 +0200 |
commit | 3928c52c0ee2a930431a807d0b4262440ab75725 (patch) | |
tree | 874e279633838112983f3468fc3fc93880f41365 /engines/mutationofjb/commands/conditionalcommand.h | |
parent | 7a081f0605f2282fdce907bedfc9cae55dc67ab7 (diff) | |
download | scummvm-rg350-3928c52c0ee2a930431a807d0b4262440ab75725.tar.gz scummvm-rg350-3928c52c0ee2a930431a807d0b4262440ab75725.tar.bz2 scummvm-rg350-3928c52c0ee2a930431a807d0b4262440ab75725.zip |
MUTATIONOFJB: Add support for CAMEFROM command.
Diffstat (limited to 'engines/mutationofjb/commands/conditionalcommand.h')
-rw-r--r-- | engines/mutationofjb/commands/conditionalcommand.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/engines/mutationofjb/commands/conditionalcommand.h b/engines/mutationofjb/commands/conditionalcommand.h index d64efbf180..ea1a66afb0 100644 --- a/engines/mutationofjb/commands/conditionalcommand.h +++ b/engines/mutationofjb/commands/conditionalcommand.h @@ -30,11 +30,13 @@ namespace MutationOfJB { class ConditionalCommandParser : public CommandParser { public: - ConditionalCommandParser() : _lastTag(0) {} + ConditionalCommandParser(bool firstHash = false) : _lastTag(0), _firstHash(firstHash) {} virtual void transition(ScriptParseContext &parseCtx, Command *oldCommand, Command *newCommand, CommandParser *newCommandParser); virtual void finish(ScriptParseContext &parseCtx) override; protected: char _lastTag; +private: + bool _firstHash; }; class ConditionalCommand : public Command { |