diff options
author | Filippos Karapetis | 2019-08-04 14:03:47 +0300 |
---|---|---|
committer | Filippos Karapetis | 2019-08-04 14:05:09 +0300 |
commit | 913229f9dbce3dc4b3670ffe5d7f7c4405d1a820 (patch) | |
tree | ef6c34ec09188c8cf1bb0eebcd52aa298967854c /engines/mads/hotspots.h | |
parent | 8940601413012ab0c2e1423415c4a9cfd4bcf7fa (diff) | |
download | scummvm-rg350-913229f9dbce3dc4b3670ffe5d7f7c4405d1a820.tar.gz scummvm-rg350-913229f9dbce3dc4b3670ffe5d7f7c4405d1a820.tar.bz2 scummvm-rg350-913229f9dbce3dc4b3670ffe5d7f7c4405d1a820.zip |
MADS: Implement V2 DynamicHotspots::add()
Diffstat (limited to 'engines/mads/hotspots.h')
-rw-r--r-- | engines/mads/hotspots.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/engines/mads/hotspots.h b/engines/mads/hotspots.h index ffd53e5a70..1b6fb35a0f 100644 --- a/engines/mads/hotspots.h +++ b/engines/mads/hotspots.h @@ -41,7 +41,9 @@ public: Facing _facing; int _descId; int _verbId; + bool _valid; // V2 int _articleNumber; + byte _syntax; // V2 CursorType _cursor; /** @@ -79,7 +81,7 @@ public: Common::Array<MADS::DynamicHotspot>::size_type size() const { return _entries.size(); } DynamicHotspot &operator[](uint idx) { return _entries[idx]; } - int add(int descId, int verbId, int syntax, int seqIndex, const Common::Rect &bounds); + int add(int descId, int verbId, byte syntax, int seqIndex, const Common::Rect &bounds); // V2 int add(int descId, int verbId, int seqIndex, const Common::Rect &bounds); int setPosition(int index, const Common::Point &pos, Facing facing); int setCursor(int index, CursorType cursor); @@ -107,6 +109,7 @@ public: Facing _facing; int _articleNumber; bool _active; + byte _syntax; // V2 CursorType _cursor; int _vocabId; int _verbId; |