Add standard library header includes to precompiled header. Fix several uses of strin...
[openttd-joker.git] / src / clear_func.h
blobc5bc85d2bd6934d881fb35e9d34d2acdee23f220
1 /* $Id$ */
3 /*
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/>.
8 */
10 /** @file clear_func.h Functions related to clear (MP_CLEAR) land. */
12 #ifndef CLEAR_FUNC_H
13 #define CLEAR_FUNC_H
15 #include "tile_cmd.h"
17 void DrawHillyLandTile(const TileInfo *ti);
18 void DrawClearLandTile(const TileInfo *ti, byte set);
20 SpriteID GetSpriteIDForClearLand(const Slope slope, byte set);
21 SpriteID GetSpriteIDForHillyLand(const Slope slope, const uint rough_index);
22 SpriteID GetSpriteIDForRocks(const Slope slope, const uint tile_hash);
23 SpriteID GetSpriteIDForFields(const Slope slope, const uint field_type);
24 SpriteID GetSpriteIDForSnowDesert(const Slope slope, const uint density);
26 #endif /* CLEAR_FUNC_H */