2005-07-24 15:12:37 +01:00
|
|
|
/* $Id$ */
|
|
|
|
|
2009-08-21 21:21:05 +01:00
|
|
|
/*
|
|
|
|
* 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/>.
|
|
|
|
*/
|
|
|
|
|
2008-05-06 16:11:33 +01:00
|
|
|
/** @file clear_land.h Tables with sprites for clear land and fences. */
|
|
|
|
|
2004-08-09 18:04:08 +01:00
|
|
|
static const SpriteID _landscape_clear_sprites[8] = {
|
|
|
|
0xFA0,
|
|
|
|
0xFB3,
|
|
|
|
0xFB4,
|
|
|
|
0xFB5,
|
|
|
|
0xFB6,
|
|
|
|
0xFA0,
|
|
|
|
0xFB3,
|
|
|
|
0xFB4,
|
|
|
|
};
|
|
|
|
|
|
|
|
static const byte _fence_mod_by_tileh[32] = {
|
2006-08-22 15:38:37 +01:00
|
|
|
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,
|
2004-08-09 18:04:08 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
static const byte _fence_mod_by_tileh_2[32] = {
|
2006-08-22 15:38:37 +01:00
|
|
|
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,
|
2004-08-09 18:04:08 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
static const SpriteID _clear_land_fence_sprites_1[7] = {
|
|
|
|
0xFFA,
|
|
|
|
0x1000,
|
|
|
|
0x1006,
|
|
|
|
0x100C,
|
|
|
|
0x1012,
|
|
|
|
0x1018,
|
|
|
|
};
|
|
|
|
|
|
|
|
static const SpriteID _clear_land_sprites_1[16] = {
|
|
|
|
0x101E,
|
|
|
|
0x1031,
|
|
|
|
0x1044,
|
|
|
|
0x1057,
|
|
|
|
0x106A,
|
|
|
|
0x107D,
|
|
|
|
0x1090,
|
|
|
|
0x10A3,
|
|
|
|
0x10B6,
|
|
|
|
};
|
|
|
|
|
|
|
|
static const SpriteID _clear_land_sprites_2[8] = {
|
|
|
|
0x118D,
|
|
|
|
0x11A0,
|
|
|
|
0x11B3,
|
|
|
|
0x11C6,
|
|
|
|
};
|
|
|
|
|
|
|
|
static const SpriteID _clear_land_sprites_3[8] = {
|
|
|
|
0x118D,
|
|
|
|
0x11A0,
|
|
|
|
0x11B3,
|
|
|
|
0x11C6,
|
|
|
|
};
|