aboutsummaryrefslogtreecommitdiff
path: root/engines/dreamweb/structs.h
diff options
context:
space:
mode:
authorBertrand Augereau2011-08-31 11:24:34 +0200
committerBertrand Augereau2011-08-31 15:15:26 +0200
commitcd5af89557d458e4eef1fd8b0b23c865ce6de3fe (patch)
treef2bb24038930958c8f7274c6c9b229c32d4725ed /engines/dreamweb/structs.h
parentcee156d5963a2eae868cf4d93ebca57d8cdb2b83 (diff)
downloadscummvm-rg350-cd5af89557d458e4eef1fd8b0b23c865ce6de3fe.tar.gz
scummvm-rg350-cd5af89557d458e4eef1fd8b0b23c865ce6de3fe.tar.bz2
scummvm-rg350-cd5af89557d458e4eef1fd8b0b23c865ce6de3fe.zip
DREAMWEB: 'getanyad' ported to C++
Diffstat (limited to 'engines/dreamweb/structs.h')
-rw-r--r--engines/dreamweb/structs.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/engines/dreamweb/structs.h b/engines/dreamweb/structs.h
index 9b8d823491..9f7c23181c 100644
--- a/engines/dreamweb/structs.h
+++ b/engines/dreamweb/structs.h
@@ -77,6 +77,8 @@ struct SetObject {
uint8 b3;
uint8 b4;
uint8 priority;
+ uint16 w4() const { return READ_LE_UINT16(&b4); }
+ void setW4(uint16 v) { WRITE_LE_UINT16(&b4, v); }
uint8 b6;
uint8 delay;
uint8 type;
@@ -124,6 +126,9 @@ struct DynObject {
uint8 mapad[5];
uint8 b7;
uint8 b8;
+ uint16 w7() const { return READ_LE_UINT16(&b7); }
+ void setW7(uint16 v) { WRITE_LE_UINT16(&b7, v); }
+
uint8 b9;
uint8 b10;
uint8 initialLocation;