aboutsummaryrefslogtreecommitdiff
path: root/engines/gob/map.h
diff options
context:
space:
mode:
authorMax Horn2006-07-09 13:01:15 +0000
committerMax Horn2006-07-09 13:01:15 +0000
commitf35f4a4d1c41a8d186621b912b985dd5d796632a (patch)
tree1468779935932e47d32e838458df8d2cf3a5bbe8 /engines/gob/map.h
parent880838514f28fd298e6418f2096d61b3f757e237 (diff)
downloadscummvm-rg350-f35f4a4d1c41a8d186621b912b985dd5d796632a.tar.gz
scummvm-rg350-f35f4a4d1c41a8d186621b912b985dd5d796632a.tar.bz2
scummvm-rg350-f35f4a4d1c41a8d186621b912b985dd5d796632a.zip
Use START_PACK_STRUCTS / END_PACK_STRUCTS when available, instead of checking for GCC / not GCC
svn-id: r23458
Diffstat (limited to 'engines/gob/map.h')
-rw-r--r--engines/gob/map.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/engines/gob/map.h b/engines/gob/map.h
index 606af141d0..cc5e2b3432 100644
--- a/engines/gob/map.h
+++ b/engines/gob/map.h
@@ -43,7 +43,9 @@ public:
kDirSE = 0x5100
};
+#if defined(START_PACK_STRUCTS)
#pragma START_PACK_STRUCTS
+#endif
struct Point {
int16 x;
@@ -59,7 +61,9 @@ public:
int8 orient; // ??
} GCC_PACK;
+#if defined(END_PACK_STRUCTS)
#pragma END_PACK_STRUCTS
+#endif
int16 _mapWidth;
int16 _mapHeight;