diff options
author | Bertrand Augereau | 2011-07-30 14:32:19 +0200 |
---|---|---|
committer | Bertrand Augereau | 2011-07-30 14:32:19 +0200 |
commit | 2d0dfffe00628125da8aa43ebe188377ab9331f7 (patch) | |
tree | d1dbbefee1bf1b193562ded226f411857ac21620 /engines/dreamweb/structs.h | |
parent | 8b0ac65f68e4fd2829b6c0205f72ef53d7a888b0 (diff) | |
download | scummvm-rg350-2d0dfffe00628125da8aa43ebe188377ab9331f7.tar.gz scummvm-rg350-2d0dfffe00628125da8aa43ebe188377ab9331f7.tar.bz2 scummvm-rg350-2d0dfffe00628125da8aa43ebe188377ab9331f7.zip |
DREAMWEB: Introduced the Frame struct
Diffstat (limited to 'engines/dreamweb/structs.h')
-rw-r--r-- | engines/dreamweb/structs.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/engines/dreamweb/structs.h b/engines/dreamweb/structs.h index b4d8c7e1c9..0e0215f126 100644 --- a/engines/dreamweb/structs.h +++ b/engines/dreamweb/structs.h @@ -73,3 +73,14 @@ struct ObjData { uint8 b17; uint8 b18[256]; // NB: Don't know the size yet }; + +struct Frame { + uint8 width; + uint8 height; + uint16 _ptr; + uint16 ptr() const { return READ_LE_UINT16(&_ptr); } + void setPtr(uint16 v) { WRITE_LE_UINT16(&_ptr, v); } + uint8 x; + uint8 y; +}; + |