src/clear_cmd.cpp
changeset 8720 4e60c30e2006
parent 8706 e76561c3dd66
child 8726 5ae45b46506b
equal deleted inserted replaced
8719:c13af43ef987 8720:4e60c30e2006
     5 #include "stdafx.h"
     5 #include "stdafx.h"
     6 #include "openttd.h"
     6 #include "openttd.h"
     7 #include "clear_map.h"
     7 #include "clear_map.h"
     8 #include "table/strings.h"
     8 #include "table/strings.h"
     9 #include "player.h"
     9 #include "player.h"
    10 #include "viewport.h"
       
    11 #include "command_func.h"
    10 #include "command_func.h"
    12 #include "bridge.h"
    11 #include "bridge.h"
    13 #include "landscape.h"
    12 #include "landscape.h"
    14 #include "variables.h"
    13 #include "variables.h"
    15 #include "table/sprites.h"
    14 #include "table/sprites.h"
    19 #include "water_map.h"
    18 #include "water_map.h"
    20 #include "tile_cmd.h"
    19 #include "tile_cmd.h"
    21 #include "functions.h"
    20 #include "functions.h"
    22 #include "economy_func.h"
    21 #include "economy_func.h"
    23 #include "table/clear_land.h"
    22 #include "table/clear_land.h"
       
    23 #include "viewport_func.h"
    24 
    24 
    25 static CommandCost ClearTile_Clear(TileIndex tile, byte flags)
    25 static CommandCost ClearTile_Clear(TileIndex tile, byte flags)
    26 {
    26 {
    27 	static const Money* clear_price_table[] = {
    27 	static const Money* clear_price_table[] = {
    28 		&_price.clear_grass,
    28 		&_price.clear_grass,