aboutsummaryrefslogtreecommitdiff
path: root/engines/agos/vga.h
diff options
context:
space:
mode:
authorMax Horn2007-07-01 18:18:43 +0000
committerMax Horn2007-07-01 18:18:43 +0000
commite1bcd70436656ed48933aadca38636f70348c842 (patch)
treefe324a6c31f5c368277c3b9e9fd42e0440f8dc7f /engines/agos/vga.h
parentf7041f94ce0a28ed21b918d1fb05ba66f131ea6d (diff)
downloadscummvm-rg350-e1bcd70436656ed48933aadca38636f70348c842.tar.gz
scummvm-rg350-e1bcd70436656ed48933aadca38636f70348c842.tar.bz2
scummvm-rg350-e1bcd70436656ed48933aadca38636f70348c842.zip
Re-added __attribute__(packed)
svn-id: r27830
Diffstat (limited to 'engines/agos/vga.h')
-rw-r--r--engines/agos/vga.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/engines/agos/vga.h b/engines/agos/vga.h
index 37c5d37106..1994f59f7f 100644
--- a/engines/agos/vga.h
+++ b/engines/agos/vga.h
@@ -40,20 +40,20 @@ struct VgaFileHeader2_Feeble {
uint16 x_4;
uint16 animationTable;
uint16 x_5;
-};
+} PACKED_STRUCT;
struct ImageHeader_Feeble {
uint16 id;
uint16 x_1;
uint16 scriptOffs;
uint16 x_2;
-};
+} PACKED_STRUCT;
struct AnimationHeader_Feeble {
uint16 scriptOffs;
uint16 x_2;
uint16 id;
-};
+} PACKED_STRUCT;
// Simon 1/2
struct ImageHeader_Simon {
@@ -61,13 +61,13 @@ struct ImageHeader_Simon {
uint16 color;
uint16 x_2;
uint16 scriptOffs;
-};
+} PACKED_STRUCT;
struct AnimationHeader_Simon {
uint16 id;
uint16 x_2;
uint16 scriptOffs;
-};
+} PACKED_STRUCT;
// Elvira 1/2 and Waxworks
@@ -76,14 +76,14 @@ struct ImageHeader_WW {
uint16 color;
uint16 x_2;
uint16 scriptOffs;
-};
+} PACKED_STRUCT;
struct AnimationHeader_WW {
uint16 id;
uint16 x_1;
uint16 x_2;
uint16 scriptOffs;
-};
+} PACKED_STRUCT;
// Common
struct VgaFileHeader2_Common {
@@ -96,7 +96,7 @@ struct VgaFileHeader2_Common {
uint16 x_4;
uint16 animationTable;
uint16 x_5;
-};
+} PACKED_STRUCT;
#include "common/pack-end.h" // END STRUCT PACKING