aboutsummaryrefslogtreecommitdiff
path: root/engines/sword1/object.h
diff options
context:
space:
mode:
Diffstat (limited to 'engines/sword1/object.h')
-rw-r--r--engines/sword1/object.h8
1 files changed, 2 insertions, 6 deletions
diff --git a/engines/sword1/object.h b/engines/sword1/object.h
index be1d6017ee..4ab4b735a3 100644
--- a/engines/sword1/object.h
+++ b/engines/sword1/object.h
@@ -32,9 +32,7 @@ namespace Sword1 {
#define O_GRID_SIZE 200
#define EXTRA_GRID_SIZE 20
-#if defined(START_PACK_STRUCTS)
-#pragma START_PACK_STRUCTS
-#endif
+#include <common/pack-start.h> // START STRUCT PACKING
struct OEventSlot { //receiving event list in the compact -
int32 o_event; //array of these with O_TOTAL_EVENTS elements
@@ -120,9 +118,7 @@ struct Object {
// mega size = 12340 bytes (+ 8 byte offset table + 20 byte header = 12368)
};
-#if defined(END_PACK_STRUCTS)
-#pragma END_PACK_STRUCTS
-#endif
+#include <common/pack-end.h> // END STRUCT PACKING
} // End of namespace Sword1