# clear_land.h

Go to the documentation of this file.

    00001 /* $Id$ */
    00002
    00003 /*
    00004  * This file is part of OpenTTD.
    00005  * 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.
    00006  * 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.
    00007  * 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/>.
    00008  */
    00009
    00012 static const SpriteID _landscape_clear_sprites_rough[8] = {
    00013   SPR_FLAT_ROUGH_LAND,
    00014   SPR_FLAT_ROUGH_LAND_1,
    00015   SPR_FLAT_ROUGH_LAND_2,
    00016   SPR_FLAT_ROUGH_LAND_3,
    00017   SPR_FLAT_ROUGH_LAND_4,
    00018   SPR_FLAT_ROUGH_LAND,
    00019   SPR_FLAT_ROUGH_LAND_1,
    00020   SPR_FLAT_ROUGH_LAND_2,
    00021 };
    00022
    00023 static const byte _fence_mod_by_tileh_sw[32] = {
    00024   0, 2, 4, 0, 0, 2, 4, 0,
    00025   0, 2, 4, 0, 0, 2, 4, 0,
    00026   0, 2, 4, 0, 0, 2, 4, 4,
    00027   0, 2, 4, 2, 0, 2, 4, 0,
    00028 };
    00029
    00030 static const byte _fence_mod_by_tileh_se[32] = {
    00031   1, 1, 5, 5, 3, 3, 1, 1,
    00032   1, 1, 5, 5, 3, 3, 1, 1,
    00033   1, 1, 5, 5, 3, 3, 1, 5,
    00034   1, 1, 5, 5, 3, 3, 3, 1,
    00035 };
    00036
    00037
    00038 static const SpriteID _clear_land_fence_sprites[7] = {
    00039   SPR_HEDGE_BUSHES,
    00040   SPR_HEDGE_BUSHES_WITH_GATE,
    00041   SPR_HEDGE_FENCE,
    00042   SPR_HEDGE_BLOOMBUSH_YELLOW,
    00043   SPR_HEDGE_BLOOMBUSH_RED,
    00044   SPR_HEDGE_STONE,
    00045 };
    00046
    00047 static const SpriteID _clear_land_sprites_farmland[16] = {
    00048   SPR_FARMLAND_BARE,
    00049   SPR_FARMLAND_STATE_1,
    00050   SPR_FARMLAND_STATE_2,
    00051   SPR_FARMLAND_STATE_3,
    00052   SPR_FARMLAND_STATE_4,
    00053   SPR_FARMLAND_STATE_5,
    00054   SPR_FARMLAND_STATE_6,
    00055   SPR_FARMLAND_STATE_7,
    00056   SPR_FARMLAND_HAYPACKS,
    00057 };
    00058
    00059 static const SpriteID _clear_land_sprites_snow_desert[8] = {
    00060   SPR_FLAT_1_QUART_SNOW_DESERT_TILE,
    00061   SPR_FLAT_2_QUART_SNOW_DESERT_TILE,
    00062   SPR_FLAT_3_QUART_SNOW_DESERT_TILE,
    00063   SPR_FLAT_SNOW_DESERT_TILE,
    00064 };