mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-08-31 18:39:10 +00:00
(svn r16660) -Codechange: get rid of more dummy tile_type_procs
This commit is contained in:
@@ -118,11 +118,6 @@ static Foundation GetFoundation_Clear(TileIndex tile, Slope tileh)
|
||||
return FOUNDATION_NONE;
|
||||
}
|
||||
|
||||
static void AnimateTile_Clear(TileIndex tile)
|
||||
{
|
||||
/* unused */
|
||||
}
|
||||
|
||||
void TileLoopClearHelper(TileIndex tile)
|
||||
{
|
||||
bool self = (IsTileType(tile, MP_CLEAR) && IsClearGround(tile, CLEAR_FIELDS));
|
||||
@@ -309,12 +304,6 @@ get_out:;
|
||||
} while (--i);
|
||||
}
|
||||
|
||||
static bool ClickTile_Clear(TileIndex tile)
|
||||
{
|
||||
/* not used */
|
||||
return false;
|
||||
}
|
||||
|
||||
static TrackStatus GetTileTrackStatus_Clear(TileIndex tile, TransportType mode, uint sub_mode, DiagDirection side)
|
||||
{
|
||||
return 0;
|
||||
@@ -358,11 +347,11 @@ extern const TileTypeProcs _tile_type_clear_procs = {
|
||||
DrawTile_Clear, ///< draw_tile_proc
|
||||
GetSlopeZ_Clear, ///< get_slope_z_proc
|
||||
ClearTile_Clear, ///< clear_tile_proc
|
||||
NULL, ///< get_accepted_cargo_proc
|
||||
NULL, ///< add_accepted_cargo_proc
|
||||
GetTileDesc_Clear, ///< get_tile_desc_proc
|
||||
GetTileTrackStatus_Clear, ///< get_tile_track_status_proc
|
||||
ClickTile_Clear, ///< click_tile_proc
|
||||
AnimateTile_Clear, ///< animate_tile_proc
|
||||
NULL, ///< click_tile_proc
|
||||
NULL, ///< animate_tile_proc
|
||||
TileLoop_Clear, ///< tile_loop_clear
|
||||
ChangeTileOwner_Clear, ///< change_tile_owner_clear
|
||||
NULL, ///< get_produced_cargo_proc
|
||||
|
Reference in New Issue
Block a user