summaryrefslogtreecommitdiff
path: root/src/table/clear_land.h
blob: 86c0bb582a6c86ae8b0348cb694853ceb079ed2f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
/* $Id$ */

/*
 * This file is part of OpenTTD.
 * 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.
 * 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.
 * 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/>.
 */

/** @file clear_land.h Tables with sprites for clear land and fences. */

static const SpriteID _landscape_clear_sprites_rough[8] = {
	SPR_FLAT_ROUGH_LAND,
	SPR_FLAT_ROUGH_LAND_1,
	SPR_FLAT_ROUGH_LAND_2,
	SPR_FLAT_ROUGH_LAND_3,
	SPR_FLAT_ROUGH_LAND_4,
	SPR_FLAT_ROUGH_LAND,
	SPR_FLAT_ROUGH_LAND_1,
	SPR_FLAT_ROUGH_LAND_2,
};

static const byte _fence_mod_by_tileh_sw[32] = {
	0, 2, 4, 0, 0, 2, 4, 0,
	0, 2, 4, 0, 0, 2, 4, 0,
	0, 2, 4, 0, 0, 2, 4, 4,
	0, 2, 4, 2, 0, 2, 4, 0,
};

static const byte _fence_mod_by_tileh_se[32] = {
	1, 1, 5, 5, 3, 3, 1, 1,
	1, 1, 5, 5, 3, 3, 1, 1,
	1, 1, 5, 5, 3, 3, 1, 5,
	1, 1, 5, 5, 3, 3, 3, 1,
};


static const SpriteID _clear_land_fence_sprites[7] = {
	SPR_HEDGE_BUSHES,
	SPR_HEDGE_BUSHES_WITH_GATE,
	SPR_HEDGE_FENCE,
	SPR_HEDGE_BLOOMBUSH_YELLOW,
	SPR_HEDGE_BLOOMBUSH_RED,
	SPR_HEDGE_STONE,
};

static const SpriteID _clear_land_sprites_farmland[16] = {
	SPR_FARMLAND_BARE,
	SPR_FARMLAND_STATE_1,
	SPR_FARMLAND_STATE_2,
	SPR_FARMLAND_STATE_3,
	SPR_FARMLAND_STATE_4,
	SPR_FARMLAND_STATE_5,
	SPR_FARMLAND_STATE_6,
	SPR_FARMLAND_STATE_7,
	SPR_FARMLAND_HAYPACKS,
};

static const SpriteID _clear_land_sprites_snow_desert[8] = {
	SPR_FLAT_1_QUART_SNOW_DESERT_TILE,
	SPR_FLAT_2_QUART_SNOW_DESERT_TILE,
	SPR_FLAT_3_QUART_SNOW_DESERT_TILE,
	SPR_FLAT_SNOW_DESERT_TILE,
};