summaryrefslogtreecommitdiff
path: root/unmovable_map.h
diff options
context:
space:
mode:
authorpeter1138 <peter1138@openttd.org>2006-09-28 18:42:35 +0000
committerpeter1138 <peter1138@openttd.org>2006-09-28 18:42:35 +0000
commit681c8c016213c471bb2061e7297536b945ea9228 (patch)
tree62ea5052459de216d783281da856bf237479cc9d /unmovable_map.h
parentb49018f7b16288601987e78f762f6de974a6d002 (diff)
downloadopenttd-681c8c016213c471bb2061e7297536b945ea9228.tar.xz
(svn r6560) - Codechange: Minor fix; add missing #include guards and comments, and correct svn properties on bmp.[ch]
Diffstat (limited to 'unmovable_map.h')
-rw-r--r--unmovable_map.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/unmovable_map.h b/unmovable_map.h
index 5fa62a441..d016a7ac1 100644
--- a/unmovable_map.h
+++ b/unmovable_map.h
@@ -1,5 +1,8 @@
/* $Id$ */
+#ifndef UNMOVABLE_MAP_H
+#define UNMOVABLE_MAP_H
+
enum {
HQ_NUM_TILE = 4,
HQ_NUM_SIZE = 5
@@ -114,3 +117,5 @@ static inline void MakeCompanyHQ(TileIndex t, Owner o)
MakeUnmovable(t + TileDiffXY(1, 0), UNMOVABLE_HQ_EAST, o);
MakeUnmovable(t + TileDiffXY(1, 1), UNMOVABLE_HQ_SOUTH, o);
}
+
+#endif /* UNMOVABLE_MAP_H */