|
OpenTTD Source 20260721-master-g25ec12c62d
|
Functions related to clear (TileType::Clear) land. More...
#include "tile_cmd.h"Go to the source code of this file.
Functions | |
| void | DrawRoughLandTile (const TileInfo *ti) |
| Draw a ClearGround::Rough tile. | |
| void | DrawClearLandTile (const TileInfo *ti, uint8_t density) |
| Draw a ClearGround::Grass tile. | |
Functions related to clear (TileType::Clear) land.
Definition in file clear_func.h.
| void DrawClearLandTile | ( | const TileInfo * | ti, |
| uint8_t | density ) |
Draw a ClearGround::Grass tile.
| ti | The tile to draw. |
| density | The density of the dirt -> grass transition to draw. |
Definition at line 61 of file clear_cmd.cpp.
References _clear_land_sprites_grass, DrawGroundSprite(), SlopeToSpriteOffset(), and TileInfo::tileh.
Referenced by DrawTile_Clear(), DrawTile_Object(), DrawTile_Station(), DrawTile_Trees(), and DrawTile_TunnelBridge().
| void DrawRoughLandTile | ( | const TileInfo * | ti | ) |
Draw a ClearGround::Rough tile.
| ti | The tile to draw. |
Definition at line 70 of file clear_cmd.cpp.
References _landscape_clear_sprites_rough, DrawGroundSprite(), GB(), SLOPE_FLAT, SlopeToSpriteOffset(), SPR_FLAT_ROUGH_LAND, TileInfo::tileh, TileHash(), Coord3D< T >::x, and Coord3D< T >::y.
Referenced by DrawTile_Clear(), and DrawTile_Trees().