summaryrefslogtreecommitdiff
path: root/water_cmd.c
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2006-08-22 14:38:37 +0000
committerrubidium <rubidium@openttd.org>2006-08-22 14:38:37 +0000
commit908d3bcfe6912b5e6270453bd6c3db8862a4d62b (patch)
tree2a3621a92a3d30384ea51e0898d08f035a559915 /water_cmd.c
parent7ba3ea5f29b1c23a001a31dec5570c383a72861a (diff)
downloadopenttd-908d3bcfe6912b5e6270453bd6c3db8862a4d62b.tar.xz
(svn r6045) -Cleanup: align all table-like structures using spaces, i.e. whitespace fixes only except for a few comments to make them uniform for the whole enum/struct.
Diffstat (limited to 'water_cmd.c')
-rw-r--r--water_cmd.c28
1 files changed, 14 insertions, 14 deletions
diff --git a/water_cmd.c b/water_cmd.c
index 834cfd196..5d50f01ac 100644
--- a/water_cmd.c
+++ b/water_cmd.c
@@ -649,7 +649,7 @@ static void FloodVehicle(Vehicle *v)
void TileLoop_Water(TileIndex tile)
{
static const TileIndexDiffC _tile_loop_offs_array[][5] = {
- // tile to mod shore? shore?
+ // tile to mod shore? shore?
{{-1, 0}, {0, 0}, {0, 1}, {-1, 0}, {-1, 1}},
{{ 0, 1}, {0, 1}, {1, 1}, { 0, 2}, { 1, 2}},
{{ 1, 0}, {1, 0}, {1, 1}, { 2, 0}, { 2, 1}},
@@ -745,17 +745,17 @@ static uint32 VehicleEnter_Water(Vehicle *v, TileIndex tile, int x, int y)
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 */
- 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 */
- NULL, /* get_produced_cargo_proc */
- VehicleEnter_Water, /* vehicle_enter_tile_proc */
- GetSlopeTileh_Water, /* get_slope_tileh_proc */
+ DrawTile_Water, /* draw_tile_proc */
+ GetSlopeZ_Water, /* get_slope_z_proc */
+ ClearTile_Water, /* clear_tile_proc */
+ GetAcceptedCargo_Water, /* 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 */
+ NULL, /* get_produced_cargo_proc */
+ VehicleEnter_Water, /* vehicle_enter_tile_proc */
+ GetSlopeTileh_Water, /* get_slope_tileh_proc */
};