diff options
Diffstat (limited to 'engines/dreamweb/structs.h')
-rw-r--r-- | engines/dreamweb/structs.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/engines/dreamweb/structs.h b/engines/dreamweb/structs.h index beab862aaf..5b73118a31 100644 --- a/engines/dreamweb/structs.h +++ b/engines/dreamweb/structs.h @@ -247,3 +247,16 @@ struct RoomPaths { PathSegment segments[24]; }; +struct Sound { + uint8 emmPage; + uint8 w1_lo; + uint8 w1_hi; + uint16 offset() const { return READ_LE_UINT16(&w1_lo); } + void setOffset(uint16 v) { WRITE_LE_UINT16(&w1_lo, v); } + uint8 w3_lo; + uint8 w3_hi; + uint16 blockCount() const { return READ_LE_UINT16(&w3_lo); } + void setBlockCount(uint16 v) { WRITE_LE_UINT16(&w3_lo, v); } + uint8 b5; +}; + |