diff options
author | Bertrand Augereau | 2011-07-30 16:01:52 +0200 |
---|---|---|
committer | Bertrand Augereau | 2011-07-30 16:01:52 +0200 |
commit | 031651e996a7e072a49f9c9bb653b3b54f2fc4f4 (patch) | |
tree | bee0172339b7a17eab367708fc9473700970ef23 /engines/dreamweb/structs.h | |
parent | 92938f810fc4da74ef4872728ccf19833ad12773 (diff) | |
download | scummvm-rg350-031651e996a7e072a49f9c9bb653b3b54f2fc4f4.tar.gz scummvm-rg350-031651e996a7e072a49f9c9bb653b3b54f2fc4f4.tar.bz2 scummvm-rg350-031651e996a7e072a49f9c9bb653b3b54f2fc4f4.zip |
DREAMWEB: Introduction of a Reel struct
Diffstat (limited to 'engines/dreamweb/structs.h')
-rw-r--r-- | engines/dreamweb/structs.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/engines/dreamweb/structs.h b/engines/dreamweb/structs.h index 917c83b745..2af2788c0c 100644 --- a/engines/dreamweb/structs.h +++ b/engines/dreamweb/structs.h @@ -86,3 +86,12 @@ struct Frame { uint8 y; }; +struct Reel { + uint16 _frame; + uint16 frame() const { return READ_LE_UINT16(&_frame); } + void setFrame(uint16 v) { WRITE_LE_UINT16(&_frame, v); } + uint8 x; + uint8 y; + uint8 b4; +}; + |