From 3154e7148d00f0203760aefbc6f8a5bd210cc30c Mon Sep 17 00:00:00 2001 From: tron Date: Fri, 24 Jun 2005 12:38:35 +0000 Subject: (svn r2483) Replace almost 500 "uint tile" (and variants) with "TileIndex tile" --- dummy_land.c | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) (limited to 'dummy_land.c') diff --git a/dummy_land.c b/dummy_land.c index 107647d9a..9f668ff08 100644 --- a/dummy_land.c +++ b/dummy_land.c @@ -18,43 +18,44 @@ static uint GetSlopeTileh_Dummy(TileInfo *ti) { return ti->tileh; } -static int32 ClearTile_Dummy(uint tile, byte flags) { +static int32 ClearTile_Dummy(TileIndex tile, byte flags) +{ return_cmd_error(STR_0001_OFF_EDGE_OF_MAP); } -static void GetAcceptedCargo_Dummy(uint tile, AcceptedCargo ac) +static void GetAcceptedCargo_Dummy(TileIndex tile, AcceptedCargo ac) { /* not used */ } -static void GetTileDesc_Dummy(uint tile, TileDesc *td) +static void GetTileDesc_Dummy(TileIndex tile, TileDesc *td) { td->str = STR_EMPTY; td->owner = OWNER_NONE; } -static void AnimateTile_Dummy(uint tile) +static void AnimateTile_Dummy(TileIndex tile) { /* not used */ } -static void TileLoop_Dummy(uint tile) +static void TileLoop_Dummy(TileIndex tile) { /* not used */ } -static void ClickTile_Dummy(uint tile) +static void ClickTile_Dummy(TileIndex tile) { /* not used */ } -static void ChangeTileOwner_Dummy(uint tile, byte old_player, byte new_player) +static void ChangeTileOwner_Dummy(TileIndex tile, byte old_player, byte new_player) { /* not used */ } -static uint32 GetTileTrackStatus_Dummy(uint tile, TransportType mode) +static uint32 GetTileTrackStatus_Dummy(TileIndex tile, TransportType mode) { return 0; } -- cgit v1.2.3-70-g09d2