aboutsummaryrefslogtreecommitdiff
path: root/scumm/gfx.h
diff options
context:
space:
mode:
authorMax Horn2002-12-25 03:48:27 +0000
committerMax Horn2002-12-25 03:48:27 +0000
commit1b0963dd760f4780dcd61f31706fb41fdb4331e9 (patch)
tree49ad5b66f285c824aa9d7e5aedd45e56912804ae /scumm/gfx.h
parentbf41dbdba3c24b438e516850a8ba6ca584b2a82b (diff)
downloadscummvm-rg350-1b0963dd760f4780dcd61f31706fb41fdb4331e9.tar.gz
scummvm-rg350-1b0963dd760f4780dcd61f31706fb41fdb4331e9.tar.bz2
scummvm-rg350-1b0963dd760f4780dcd61f31706fb41fdb4331e9.zip
added (broken) cursor support for V8; enabled bomp drawing
svn-id: r6113
Diffstat (limited to 'scumm/gfx.h')
-rw-r--r--scumm/gfx.h12
1 files changed, 10 insertions, 2 deletions
diff --git a/scumm/gfx.h b/scumm/gfx.h
index ead63a8ea4..a908646e66 100644
--- a/scumm/gfx.h
+++ b/scumm/gfx.h
@@ -83,8 +83,16 @@ struct BlastObject { /* BlastObjects to draw */
#endif
struct BompHeader { /* Bomp header */
- uint16 unk;
- uint16 width, height;
+ union {
+ struct {
+ uint16 unk;
+ uint16 width, height;
+ } GCC_PACK old;
+
+ struct {
+ uint32 width, height;
+ } GCC_PACK v8;
+ } GCC_PACK;
} GCC_PACK;
#if !defined(__GNUC__)