(svn r23168) -Feature [FS#1824]: always draw fences around field tiles

This commit is contained in:
yexo
2011-11-08 19:48:47 +00:00
parent 94d326dc7d
commit 0566a6cfda
9 changed files with 168 additions and 69 deletions

View File

@@ -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,