diff options
author | tron <tron@openttd.org> | 2005-06-24 12:38:35 +0000 |
---|---|---|
committer | tron <tron@openttd.org> | 2005-06-24 12:38:35 +0000 |
commit | 3154e7148d00f0203760aefbc6f8a5bd210cc30c (patch) | |
tree | 17004bd894946da466a10e50a86ff66225cf8896 /dummy_land.c | |
parent | 3448729ff36ca9e91d91c256d9a5381ba901230b (diff) | |
download | openttd-3154e7148d00f0203760aefbc6f8a5bd210cc30c.tar.xz |
(svn r2483) Replace almost 500 "uint tile" (and variants) with "TileIndex tile"
Diffstat (limited to 'dummy_land.c')
-rw-r--r-- | dummy_land.c | 17 |
1 files changed, 9 insertions, 8 deletions
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; } |