equal
deleted
inserted
replaced
498 Slope tileh = GetTileSlope(tile, &z); |
498 Slope tileh = GetTileSlope(tile, &z); |
499 |
499 |
500 return z + GetPartialZ(x & 0xF, y & 0xF, tileh); |
500 return z + GetPartialZ(x & 0xF, y & 0xF, tileh); |
501 } |
501 } |
502 |
502 |
503 static Slope GetSlopeTileh_Water(TileIndex tile, Slope tileh) |
503 static Foundation GetFoundation_Water(TileIndex tile, Slope tileh) |
504 { |
504 { |
505 return tileh; |
505 return FOUNDATION_NONE; |
506 } |
506 } |
507 |
507 |
508 static void GetAcceptedCargo_Water(TileIndex tile, AcceptedCargo ac) |
508 static void GetAcceptedCargo_Water(TileIndex tile, AcceptedCargo ac) |
509 { |
509 { |
510 /* not used */ |
510 /* not used */ |
810 AnimateTile_Water, /* animate_tile_proc */ |
810 AnimateTile_Water, /* animate_tile_proc */ |
811 TileLoop_Water, /* tile_loop_clear */ |
811 TileLoop_Water, /* tile_loop_clear */ |
812 ChangeTileOwner_Water, /* change_tile_owner_clear */ |
812 ChangeTileOwner_Water, /* change_tile_owner_clear */ |
813 NULL, /* get_produced_cargo_proc */ |
813 NULL, /* get_produced_cargo_proc */ |
814 VehicleEnter_Water, /* vehicle_enter_tile_proc */ |
814 VehicleEnter_Water, /* vehicle_enter_tile_proc */ |
815 GetSlopeTileh_Water, /* get_slope_tileh_proc */ |
815 GetFoundation_Water, /* get_foundation_proc */ |
816 }; |
816 }; |