summaryrefslogtreecommitdiff
path: root/src/table
diff options
context:
space:
mode:
authoryexo <yexo@openttd.org>2011-11-08 19:48:47 +0000
committeryexo <yexo@openttd.org>2011-11-08 19:48:47 +0000
commit5c838ff1c312c240e44bb7da95e5450bcfeaeff6 (patch)
tree0a1e0902aa4874cfbe77fe3c07620e41c3fba28a /src/table
parent704dcc0a475e1361a913a43ae0b5d601dde807cc (diff)
downloadopenttd-5c838ff1c312c240e44bb7da95e5450bcfeaeff6.tar.xz
(svn r23168) -Feature [FS#1824]: always draw fences around field tiles
Diffstat (limited to 'src/table')
-rw-r--r--src/table/clear_land.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/table/clear_land.h b/src/table/clear_land.h
index 86c0bb582..a6554802f 100644
--- a/src/table/clear_land.h
+++ b/src/table/clear_land.h
@@ -34,6 +34,20 @@ static const byte _fence_mod_by_tileh_se[32] = {
1, 1, 5, 5, 3, 3, 3, 1,
};
+static const byte _fence_mod_by_tileh_ne[32] = {
+ 0, 0, 0, 0, 4, 4, 4, 4,
+ 2, 2, 2, 2, 0, 0, 0, 0,
+ 0, 0, 0, 0, 4, 4, 4, 4,
+ 2, 2, 2, 2, 0, 0, 0, 0,
+};
+
+static const byte _fence_mod_by_tileh_nw[32] = {
+ 1, 5, 1, 5, 1, 5, 1, 5,
+ 3, 1, 3, 1, 3, 1, 3, 1,
+ 1, 5, 1, 5, 1, 5, 1, 5,
+ 3, 1, 3, 1, 3, 1, 3, 1,
+};
+
static const SpriteID _clear_land_fence_sprites[7] = {
SPR_HEDGE_BUSHES,