aboutsummaryrefslogtreecommitdiff
path: root/engines/dreamweb/structs.h
diff options
context:
space:
mode:
authorBertrand Augereau2011-07-30 14:32:19 +0200
committerBertrand Augereau2011-07-30 14:32:19 +0200
commit2d0dfffe00628125da8aa43ebe188377ab9331f7 (patch)
treed1dbbefee1bf1b193562ded226f411857ac21620 /engines/dreamweb/structs.h
parent8b0ac65f68e4fd2829b6c0205f72ef53d7a888b0 (diff)
downloadscummvm-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.h11
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;
+};
+