src/water_cmd.cpp
changeset 8119 52b48108425a
parent 8116 8da76dcb3287
child 8131 160939e24ed3
equal deleted inserted replaced
8118:fa5fe5491657 8119:52b48108425a
     8 #include "bridge.h"
     8 #include "bridge.h"
     9 #include "cmd_helper.h"
     9 #include "cmd_helper.h"
    10 #include "station_map.h"
    10 #include "station_map.h"
    11 #include "table/sprites.h"
    11 #include "table/sprites.h"
    12 #include "table/strings.h"
    12 #include "table/strings.h"
    13 #include "functions.h"
    13 #include "tile_cmd.h"
    14 #include "landscape.h"
    14 #include "landscape.h"
    15 #include "map.h"
    15 #include "map.h"
    16 #include "vehicle.h"
    16 #include "vehicle.h"
    17 #include "viewport.h"
    17 #include "viewport.h"
    18 #include "command_func.h"
    18 #include "command_func.h"
   889 	} else {
   889 	} else {
   890 		SetTileOwner(tile, OWNER_NONE);
   890 		SetTileOwner(tile, OWNER_NONE);
   891 	}
   891 	}
   892 }
   892 }
   893 
   893 
   894 static uint32 VehicleEnter_Water(Vehicle *v, TileIndex tile, int x, int y)
   894 static VehicleEnterTileStatus VehicleEnter_Water(Vehicle *v, TileIndex tile, int x, int y)
   895 {
   895 {
   896 	return VETSB_CONTINUE;
   896 	return VETSB_CONTINUE;
   897 }
   897 }
   898 
   898 
   899 static CommandCost TerraformTile_Water(TileIndex tile, uint32 flags, uint z_new, Slope tileh_new)
   899 static CommandCost TerraformTile_Water(TileIndex tile, uint32 flags, uint z_new, Slope tileh_new)