diff options
author | Paul Gilbert | 2006-07-30 12:09:51 +0000 |
---|---|---|
committer | Paul Gilbert | 2006-07-30 12:09:51 +0000 |
commit | 2b4518d8a9a472ac7a6439e85c0ac723d94b91d5 (patch) | |
tree | a9bd7a7074361d4164a53734c2221ace9329056b | |
parent | b3a66e817f33fcc61253108d9ade6be1c8c2eff4 (diff) | |
download | scummvm-rg350-2b4518d8a9a472ac7a6439e85c0ac723d94b91d5.tar.gz scummvm-rg350-2b4518d8a9a472ac7a6439e85c0ac723d94b91d5.tar.bz2 scummvm-rg350-2b4518d8a9a472ac7a6439e85c0ac723d94b91d5.zip |
Added a field value for the current hotspot header flags mask byte
svn-id: r23628
-rw-r--r-- | engines/lure/res_struct.cpp | 1 | ||||
-rw-r--r-- | engines/lure/res_struct.h | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/engines/lure/res_struct.cpp b/engines/lure/res_struct.cpp index 3d77842c6f..6d02584edf 100644 --- a/engines/lure/res_struct.cpp +++ b/engines/lure/res_struct.cpp @@ -806,6 +806,7 @@ ValueTableData::ValueTableData() { _playerPendingPos.pos.y = 0; _playerPendingPos.isSet = false; _flags = GAMEFLAG_4 | GAMEFLAG_1; + _hdrFlagMask = 1; for (uint16 index = 0; index < NUM_VALUE_FIELDS; ++index) _fieldList[index] = 0; diff --git a/engines/lure/res_struct.h b/engines/lure/res_struct.h index eab2a7817e..88582e2222 100644 --- a/engines/lure/res_struct.h +++ b/engines/lure/res_struct.h @@ -685,6 +685,7 @@ private: PlayerNewPosition _playerNewPos; PlayerPendingPosition _playerPendingPos; uint8 _flags; + uint8 _hdrFlagMask; uint16 _fieldList[NUM_VALUE_FIELDS]; bool isKnownField(uint16 fieldIndex); @@ -699,6 +700,7 @@ public: uint16 &numGroats() { return _numGroats; } uint8 &flags() { return _flags; } + uint8 &hdrFlagMask() { return _hdrFlagMask; } PlayerNewPosition &playerNewPos() { return _playerNewPos; } PlayerPendingPosition &playerPendingPos() { return _playerPendingPos; } }; |