|
@@ -541,17 +541,12 @@ static CommandCost ClearTile_Trees(TileI
|
|
|
|
|
|
if (flags & DC_EXEC) DoClearSquare(tile);
|
|
|
|
|
|
return CommandCost(EXPENSES_CONSTRUCTION, num * _price.remove_trees);
|
|
|
}
|
|
|
|
|
|
static void GetAcceptedCargo_Trees(TileIndex tile, AcceptedCargo ac)
|
|
|
{
|
|
|
/* not used */
|
|
|
}
|
|
|
|
|
|
static void GetTileDesc_Trees(TileIndex tile, TileDesc *td)
|
|
|
{
|
|
|
TreeType tt = GetTreeType(tile);
|
|
|
|
|
|
if (IsInsideMM(tt, TREE_RAINFOREST, TREE_CACTUS)) {
|
|
|
td->str = STR_TREE_NAME_RAINFOREST;
|
|
@@ -770,13 +765,13 @@ static CommandCost TerraformTile_Trees(T
|
|
|
|
|
|
|
|
|
extern const TileTypeProcs _tile_type_trees_procs = {
|
|
|
DrawTile_Trees, // draw_tile_proc
|
|
|
GetSlopeZ_Trees, // get_slope_z_proc
|
|
|
ClearTile_Trees, // clear_tile_proc
|
|
|
GetAcceptedCargo_Trees, // get_accepted_cargo_proc
|
|
|
NULL, // get_accepted_cargo_proc
|
|
|
GetTileDesc_Trees, // get_tile_desc_proc
|
|
|
GetTileTrackStatus_Trees, // get_tile_track_status_proc
|
|
|
ClickTile_Trees, // click_tile_proc
|
|
|
AnimateTile_Trees, // animate_tile_proc
|
|
|
TileLoop_Trees, // tile_loop_clear
|
|
|
ChangeTileOwner_Trees, // change_tile_owner_clear
|