1 /* $Id: clear_land.h 23188 2011-11-11 18:01:41Z yexo $ */
4 * This file is part of OpenTTD.
5 * OpenTTD is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, version 2.
6 * OpenTTD is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
7 * See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with OpenTTD. If not, see <http://www.gnu.org/licenses/>.
10 /** @file clear_land.h Tables with sprites for clear land and fences. */
12 static const SpriteID _landscape_clear_sprites_rough
[8] = {
14 SPR_FLAT_ROUGH_LAND_1
,
15 SPR_FLAT_ROUGH_LAND_2
,
16 SPR_FLAT_ROUGH_LAND_3
,
17 SPR_FLAT_ROUGH_LAND_4
,
19 SPR_FLAT_ROUGH_LAND_1
,
20 SPR_FLAT_ROUGH_LAND_2
,
23 static const byte _fence_mod_by_tileh_sw
[32] = {
24 0, 2, 4, 0, 0, 2, 4, 0,
25 0, 2, 4, 0, 0, 2, 4, 0,
26 0, 2, 4, 0, 0, 2, 4, 4,
27 0, 2, 4, 2, 0, 2, 4, 0,
30 static const byte _fence_mod_by_tileh_se
[32] = {
31 1, 1, 5, 5, 3, 3, 1, 1,
32 1, 1, 5, 5, 3, 3, 1, 1,
33 1, 1, 5, 5, 3, 3, 1, 5,
34 1, 1, 5, 5, 3, 3, 3, 1,
37 static const byte _fence_mod_by_tileh_ne
[32] = {
38 0, 0, 0, 0, 4, 4, 4, 4,
39 2, 2, 2, 2, 0, 0, 0, 0,
40 0, 0, 0, 0, 4, 4, 4, 4,
41 2, 2, 2, 2, 0, 2, 4, 0,
44 static const byte _fence_mod_by_tileh_nw
[32] = {
45 1, 5, 1, 5, 1, 5, 1, 5,
46 3, 1, 3, 1, 3, 1, 3, 1,
47 1, 5, 1, 5, 1, 5, 1, 5,
48 3, 1, 3, 5, 3, 3, 3, 1,
52 static const SpriteID _clear_land_fence_sprites
[7] = {
54 SPR_HEDGE_BUSHES_WITH_GATE
,
56 SPR_HEDGE_BLOOMBUSH_YELLOW
,
57 SPR_HEDGE_BLOOMBUSH_RED
,
61 static const SpriteID _clear_land_sprites_farmland
[16] = {
70 SPR_FARMLAND_HAYPACKS
,
73 static const SpriteID _clear_land_sprites_snow_desert
[8] = {
74 SPR_FLAT_1_QUART_SNOW_DESERT_TILE
,
75 SPR_FLAT_2_QUART_SNOW_DESERT_TILE
,
76 SPR_FLAT_3_QUART_SNOW_DESERT_TILE
,
77 SPR_FLAT_SNOW_DESERT_TILE
,