Added a field value for the current hotspot header flags mask byte

svn-id: r23628
This commit is contained in:
Paul Gilbert 2006-07-30 12:09:51 +00:00
parent b3a66e817f
commit 2b4518d8a9
2 changed files with 3 additions and 0 deletions

View File

@ -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;

View File

@ -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; }
};