diff options
author | Nicola Mettifogo | 2009-01-04 14:23:20 +0000 |
---|---|---|
committer | Nicola Mettifogo | 2009-01-04 14:23:20 +0000 |
commit | f2b495ba2d31fc6cdfd07130c9491dea026c07cb (patch) | |
tree | 64e20efe7bdaf26335cc6eb8163a3c1c984233d9 /engines/parallaction/objects.h | |
parent | 4273d0db92f37dcaefea280022e9d6b2effafeb9 (diff) | |
download | scummvm-rg350-f2b495ba2d31fc6cdfd07130c9491dea026c07cb.tar.gz scummvm-rg350-f2b495ba2d31fc6cdfd07130c9491dea026c07cb.tar.bz2 scummvm-rg350-f2b495ba2d31fc6cdfd07130c9491dea026c07cb.zip |
Implemented counters in BRA. Only valid answer options are shown, and counter calculations in scripts are performed.
svn-id: r35723
Diffstat (limited to 'engines/parallaction/objects.h')
-rw-r--r-- | engines/parallaction/objects.h | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/engines/parallaction/objects.h b/engines/parallaction/objects.h index 4e586d4d2b..6a2b1b442f 100644 --- a/engines/parallaction/objects.h +++ b/engines/parallaction/objects.h @@ -123,8 +123,8 @@ struct CommandData { // BRA specific Common::Point _startPos; Common::Point _startPos2; - uint _lvalue; - int _rvalue; + Common::String _counterName; + int _counterValue; int _zeta0; int _zeta1; int _zeta2; @@ -171,6 +171,12 @@ struct Answer { uint32 _noFlags; uint32 _yesFlags; + // BRA specific + bool _hasCounterCondition; + Common::String _counterName; + int _counterValue; + int _counterOp; + Answer(); }; |