[Scummvm-cvs-logs] SF.net SVN: scummvm: [23628] scummvm/trunk/engines/lure
dreammaster at users.sourceforge.net
dreammaster at users.sourceforge.net
Sun Jul 30 14:10:03 CEST 2006
Revision: 23628
Author: dreammaster
Date: 2006-07-30 05:09:51 -0700 (Sun, 30 Jul 2006)
ViewCVS: http://svn.sourceforge.net/scummvm/?rev=23628&view=rev
Log Message:
-----------
Added a field value for the current hotspot header flags mask byte
Modified Paths:
--------------
scummvm/trunk/engines/lure/res_struct.cpp
scummvm/trunk/engines/lure/res_struct.h
Modified: scummvm/trunk/engines/lure/res_struct.cpp
===================================================================
--- scummvm/trunk/engines/lure/res_struct.cpp 2006-07-30 10:48:44 UTC (rev 23627)
+++ scummvm/trunk/engines/lure/res_struct.cpp 2006-07-30 12:09:51 UTC (rev 23628)
@@ -806,6 +806,7 @@
_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;
Modified: scummvm/trunk/engines/lure/res_struct.h
===================================================================
--- scummvm/trunk/engines/lure/res_struct.h 2006-07-30 10:48:44 UTC (rev 23627)
+++ scummvm/trunk/engines/lure/res_struct.h 2006-07-30 12:09:51 UTC (rev 23628)
@@ -685,6 +685,7 @@
PlayerNewPosition _playerNewPos;
PlayerPendingPosition _playerPendingPos;
uint8 _flags;
+ uint8 _hdrFlagMask;
uint16 _fieldList[NUM_VALUE_FIELDS];
bool isKnownField(uint16 fieldIndex);
@@ -699,6 +700,7 @@
uint16 &numGroats() { return _numGroats; }
uint8 &flags() { return _flags; }
+ uint8 &hdrFlagMask() { return _hdrFlagMask; }
PlayerNewPosition &playerNewPos() { return _playerNewPos; }
PlayerPendingPosition &playerPendingPos() { return _playerPendingPos; }
};
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Scummvm-git-logs
mailing list