aboutsummaryrefslogtreecommitdiff
path: root/engines/sword1/sworddefs.h
diff options
context:
space:
mode:
Diffstat (limited to 'engines/sword1/sworddefs.h')
-rw-r--r--engines/sword1/sworddefs.h8
1 files changed, 2 insertions, 6 deletions
diff --git a/engines/sword1/sworddefs.h b/engines/sword1/sworddefs.h
index 600dfc668a..b060796655 100644
--- a/engines/sword1/sworddefs.h
+++ b/engines/sword1/sworddefs.h
@@ -89,9 +89,7 @@ namespace Sword1 {
#define MAX_text_obs 2 //text compacts
#define TEXT_sect 149 //text compacts exist in section 149, probably after all the megas
-#if defined(START_PACK_STRUCTS)
-#pragma START_PACK_STRUCTS
-#endif
+#include <common/pack-start.h> // START STRUCT PACKING
struct Header {
char type[6];
@@ -134,9 +132,7 @@ struct WalkGridHeader {
int32 numNodes;
};
-#if defined(END_PACK_STRUCTS)
-#pragma END_PACK_STRUCTS
-#endif
+#include <common/pack-end.h> // END STRUCT PACKING
enum fileTypes {
TYPE_CD1 = 0,