File diff r27941:fbe336fa8b4e → r27942:f7389062d120
src/clear_cmd.cpp
Show inline comments
 
@@ -127,7 +127,7 @@ static void DrawTile_Clear(TileInfo *ti)
 
	DrawBridgeMiddle(ti);
 
}
 

	
 
static int GetSlopePixelZ_Clear(TileIndex tile, uint x, uint y, bool ground_vehicle)
 
static int GetSlopePixelZ_Clear(TileIndex tile, uint x, uint y, bool)
 
{
 
	int z;
 
	Slope tileh = GetTilePixelSlope(tile, &z);
 
@@ -135,7 +135,7 @@ static int GetSlopePixelZ_Clear(TileInde
 
	return z + GetPartialPixelZ(x & 0xF, y & 0xF, tileh);
 
}
 

	
 
static Foundation GetFoundation_Clear(TileIndex tile, Slope tileh)
 
static Foundation GetFoundation_Clear(TileIndex, Slope)
 
{
 
	return FOUNDATION_NONE;
 
}
 
@@ -341,7 +341,7 @@ get_out:;
 
	} while (--i);
 
}
 

	
 
static TrackStatus GetTileTrackStatus_Clear(TileIndex tile, TransportType mode, uint sub_mode, DiagDirection side)
 
static TrackStatus GetTileTrackStatus_Clear(TileIndex, TransportType, uint, DiagDirection)
 
{
 
	return 0;
 
}
 
@@ -365,12 +365,12 @@ static void GetTileDesc_Clear(TileIndex 
 
	td->owner[0] = GetTileOwner(tile);
 
}
 

	
 
static void ChangeTileOwner_Clear(TileIndex tile, Owner old_owner, Owner new_owner)
 
static void ChangeTileOwner_Clear(TileIndex, Owner, Owner)
 
{
 
	return;
 
}
 

	
 
static CommandCost TerraformTile_Clear(TileIndex tile, DoCommandFlag flags, int z_new, Slope tileh_new)
 
static CommandCost TerraformTile_Clear(TileIndex tile, DoCommandFlag flags, int, Slope)
 
{
 
	return Command<CMD_LANDSCAPE_CLEAR>::Do(flags, tile);
 
}