aboutsummaryrefslogtreecommitdiff
path: root/engines/agos/vga.h
diff options
context:
space:
mode:
authorTravis Howell2006-10-07 03:43:51 +0000
committerTravis Howell2006-10-07 03:43:51 +0000
commit22a14014b3fee7bdd4220f6b21d065f3a10763bb (patch)
treeb8b5e00ac3764996d984b869750d287f28c06f59 /engines/agos/vga.h
parentf6a6818c5a486cc84b04862fefb75456797aa2fb (diff)
downloadscummvm-rg350-22a14014b3fee7bdd4220f6b21d065f3a10763bb.tar.gz
scummvm-rg350-22a14014b3fee7bdd4220f6b21d065f3a10763bb.tar.bz2
scummvm-rg350-22a14014b3fee7bdd4220f6b21d065f3a10763bb.zip
Minor cleanup
svn-id: r24159
Diffstat (limited to 'engines/agos/vga.h')
-rw-r--r--engines/agos/vga.h50
1 files changed, 13 insertions, 37 deletions
diff --git a/engines/agos/vga.h b/engines/agos/vga.h
index e9403f12b2..e6d3741707 100644
--- a/engines/agos/vga.h
+++ b/engines/agos/vga.h
@@ -29,12 +29,6 @@ namespace AGOS {
#include "common/pack-start.h" // START STRUCT PACKING
// Feeble Files
-struct VgaFileHeader_Feeble {
- uint16 x_1;
- uint16 hdr2_start;
- uint16 x_2, x_3;
-};
-
struct VgaFileHeader2_Feeble {
uint16 imageCount;
uint16 x_2;
@@ -60,24 +54,6 @@ struct AnimationHeader_Feeble {
};
// Simon 1/2
-struct VgaFileHeader_Simon {
- uint16 x_1, x_2;
- uint16 hdr2_start;
- uint16 x_3, x_4;
-};
-
-struct VgaFileHeader2_Simon {
- uint16 x_1;
- uint16 imageCount;
- uint16 x_2;
- uint16 animationCount;
- uint16 x_3;
- uint16 imageTable;
- uint16 x_4;
- uint16 animationTable;
- uint16 x_5;
-};
-
struct ImageHeader_Simon {
uint16 id;
uint16 x_1;
@@ -92,19 +68,7 @@ struct AnimationHeader_Simon {
};
-// Waxworks
-struct VgaFileHeader2_WW {
- uint16 x_1;
- uint16 imageCount;
- uint16 x_2;
- uint16 animationCount;
- uint16 x_3;
- uint16 imageTable;
- uint16 x_4;
- uint16 animationTable;
- uint16 x_5;
-};
-
+// Elvira 1/2 and Waxworks
struct ImageHeader_WW {
uint16 id;
uint16 x_1;
@@ -119,6 +83,18 @@ struct AnimationHeader_WW {
uint16 scriptOffs;
};
+// Common
+struct VgaFileHeader2_Common {
+ uint16 x_1;
+ uint16 imageCount;
+ uint16 x_2;
+ uint16 animationCount;
+ uint16 x_3;
+ uint16 imageTable;
+ uint16 x_4;
+ uint16 animationTable;
+ uint16 x_5;
+};
#include "common/pack-end.h" // END STRUCT PACKING