aboutsummaryrefslogtreecommitdiff
path: root/engines/gob/mult.h
diff options
context:
space:
mode:
Diffstat (limited to 'engines/gob/mult.h')
-rw-r--r--engines/gob/mult.h15
1 files changed, 7 insertions, 8 deletions
diff --git a/engines/gob/mult.h b/engines/gob/mult.h
index 50f678e61a..dad57b7b1c 100644
--- a/engines/gob/mult.h
+++ b/engines/gob/mult.h
@@ -32,9 +32,7 @@ namespace Gob {
class Mult {
public:
-#if defined(START_PACK_STRUCTS)
-#pragma START_PACK_STRUCTS
-#endif
+#include <common/pack-start.h> // START STRUCT PACKING
struct Mult_AnimData {
int8 animation;
@@ -160,9 +158,7 @@ public:
int16 field_E;
};
-#if defined(END_PACK_STRUCTS)
-#pragma END_PACK_STRUCTS
-#endif
+#include <common/pack-end.h> // END STRUCT PACKING
// Globals
@@ -295,7 +291,9 @@ protected:
class Mult_v2 : public Mult_v1 {
public:
-#pragma START_PACK_STRUCTS
+
+#include <common/pack-start.h> // START STRUCT PACKING
+
struct Mult_Data {
int16 palFadeKeysCount;
Mult_PalFadeKey *palFadeKeys;
@@ -345,7 +343,8 @@ public:
char *somepointer10; // ?
char *execPtr;
};
-#pragma END_PACK_STRUCTS
+
+#include <common/pack-end.h> // END STRUCT PACKING
Mult_Data *_multData2; // TODO: This'll be _multData once every function using it
// in GOB2 is done