mirror of
https://github.com/libretro/scummvm.git
synced 2025-05-13 17:46:22 +00:00
Added a field value for the current hotspot header flags mask byte
svn-id: r23628
This commit is contained in:
parent
b3a66e817f
commit
2b4518d8a9
@ -806,6 +806,7 @@ ValueTableData::ValueTableData() {
|
|||||||
_playerPendingPos.pos.y = 0;
|
_playerPendingPos.pos.y = 0;
|
||||||
_playerPendingPos.isSet = false;
|
_playerPendingPos.isSet = false;
|
||||||
_flags = GAMEFLAG_4 | GAMEFLAG_1;
|
_flags = GAMEFLAG_4 | GAMEFLAG_1;
|
||||||
|
_hdrFlagMask = 1;
|
||||||
|
|
||||||
for (uint16 index = 0; index < NUM_VALUE_FIELDS; ++index)
|
for (uint16 index = 0; index < NUM_VALUE_FIELDS; ++index)
|
||||||
_fieldList[index] = 0;
|
_fieldList[index] = 0;
|
||||||
|
@ -685,6 +685,7 @@ private:
|
|||||||
PlayerNewPosition _playerNewPos;
|
PlayerNewPosition _playerNewPos;
|
||||||
PlayerPendingPosition _playerPendingPos;
|
PlayerPendingPosition _playerPendingPos;
|
||||||
uint8 _flags;
|
uint8 _flags;
|
||||||
|
uint8 _hdrFlagMask;
|
||||||
|
|
||||||
uint16 _fieldList[NUM_VALUE_FIELDS];
|
uint16 _fieldList[NUM_VALUE_FIELDS];
|
||||||
bool isKnownField(uint16 fieldIndex);
|
bool isKnownField(uint16 fieldIndex);
|
||||||
@ -699,6 +700,7 @@ public:
|
|||||||
|
|
||||||
uint16 &numGroats() { return _numGroats; }
|
uint16 &numGroats() { return _numGroats; }
|
||||||
uint8 &flags() { return _flags; }
|
uint8 &flags() { return _flags; }
|
||||||
|
uint8 &hdrFlagMask() { return _hdrFlagMask; }
|
||||||
PlayerNewPosition &playerNewPos() { return _playerNewPos; }
|
PlayerNewPosition &playerNewPos() { return _playerNewPos; }
|
||||||
PlayerPendingPosition &playerPendingPos() { return _playerPendingPos; }
|
PlayerPendingPosition &playerPendingPos() { return _playerPendingPos; }
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user