diff options
author | Bendegúz Nagy | 2016-07-13 15:01:00 +0200 |
---|---|---|
committer | Bendegúz Nagy | 2016-08-26 23:02:22 +0200 |
commit | b4bebaa845ecd729576e143818fcc7b378262b5b (patch) | |
tree | a5908b04e38b6cd892b70ab9d45d559c36d83d92 /engines/dm/dungeonman.h | |
parent | 1e8dfd7bb6b86ce5d4d2827bf692b217afbb07b1 (diff) | |
download | scummvm-rg350-b4bebaa845ecd729576e143818fcc7b378262b5b.tar.gz scummvm-rg350-b4bebaa845ecd729576e143818fcc7b378262b5b.tar.bz2 scummvm-rg350-b4bebaa845ecd729576e143818fcc7b378262b5b.zip |
DM: Add f371_commandProcessType111To115_ClickInActionArea and it's dependencies
Diffstat (limited to 'engines/dm/dungeonman.h')
-rw-r--r-- | engines/dm/dungeonman.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/engines/dm/dungeonman.h b/engines/dm/dungeonman.h index 305a9219d9..515ef93413 100644 --- a/engines/dm/dungeonman.h +++ b/engines/dm/dungeonman.h @@ -379,6 +379,7 @@ public: uint16 getChargeCount() { return (_desc >> 10) & 0xF; } uint16 setChargeCount(uint16 val) { _desc = (_desc & ~(0xF << 10)) | ((val & 0xF) << 10); return (val & 0xF); } Thing getNextThing() { return _nextThing; } + void setNextThing(Thing val) { _nextThing = val; } uint16 getCursed() { return (_desc >> 8) & 1; } void setCursed(uint16 val) { _desc = (_desc & ~(1 << 8)) | ((val & 1) << 8); } uint16 getPoisoned() { return (_desc >> 9) & 1; } @@ -405,6 +406,8 @@ public: uint16 getCursed() { return (_attributes >> 8) & 1; } uint16 getBroken() { return (_attributes >> 13) & 1; } uint16 getDoNotDiscard() { return (_attributes >> 7) & 1; } + uint16 getChargeCount() { return (_attributes >> 9) & 0xF; } + void setChargeCount(uint16 val) { _attributes = (_attributes & ~(0xF << 9)) | ((val & 0xF) << 9); } }; // @ ARMOUR class Scroll { |