|
@@ -679,17 +679,12 @@ static uint GetSlopeZ_Water(TileIndex ti
|
|
|
|
|
|
static Foundation GetFoundation_Water(TileIndex tile, Slope tileh)
|
|
|
{
|
|
|
return FOUNDATION_NONE;
|
|
|
}
|
|
|
|
|
|
static void GetAcceptedCargo_Water(TileIndex tile, AcceptedCargo ac)
|
|
|
{
|
|
|
/* not used */
|
|
|
}
|
|
|
|
|
|
static void GetTileDesc_Water(TileIndex tile, TileDesc *td)
|
|
|
{
|
|
|
switch (GetWaterTileType(tile)) {
|
|
|
case WATER_TILE_CLEAR:
|
|
|
switch (GetWaterClass(tile)) {
|
|
|
case WATER_CLASS_SEA: td->str = STR_WATER_DESCRIPTION_WATER; break;
|
|
@@ -1157,13 +1152,13 @@ static CommandCost TerraformTile_Water(T
|
|
|
|
|
|
|
|
|
extern const TileTypeProcs _tile_type_water_procs = {
|
|
|
DrawTile_Water, // draw_tile_proc
|
|
|
GetSlopeZ_Water, // get_slope_z_proc
|
|
|
ClearTile_Water, // clear_tile_proc
|
|
|
GetAcceptedCargo_Water, // get_accepted_cargo_proc
|
|
|
NULL, // get_accepted_cargo_proc
|
|
|
GetTileDesc_Water, // get_tile_desc_proc
|
|
|
GetTileTrackStatus_Water, // get_tile_track_status_proc
|
|
|
ClickTile_Water, // click_tile_proc
|
|
|
AnimateTile_Water, // animate_tile_proc
|
|
|
TileLoop_Water, // tile_loop_clear
|
|
|
ChangeTileOwner_Water, // change_tile_owner_clear
|