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 /ship_gui.c | |
parent | 3448729ff36ca9e91d91c256d9a5381ba901230b (diff) | |
download | openttd-3154e7148d00f0203760aefbc6f8a5bd210cc30c.tar.xz |
(svn r2483) Replace almost 500 "uint tile" (and variants) with "TileIndex tile"
Diffstat (limited to 'ship_gui.c')
-rw-r--r-- | ship_gui.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/ship_gui.c b/ship_gui.c index 2eb01cb74..392526dce 100644 --- a/ship_gui.c +++ b/ship_gui.c @@ -302,7 +302,7 @@ static void ShowShipDetailsWindow(Vehicle *v) w->caption_color = v->owner; } -void CcBuildShip(bool success, uint tile, uint32 p1, uint32 p2) +void CcBuildShip(bool success, TileIndex tile, uint32 p1, uint32 p2) { Vehicle *v; if (!success) return; @@ -602,7 +602,7 @@ void ShowShipViewWindow(Vehicle *v) static void DrawShipDepotWindow(Window *w) { - uint tile; + TileIndex tile; Vehicle *v; int num,x,y; Depot *depot; @@ -825,7 +825,7 @@ static const WindowDesc _ship_depot_desc = { ShipDepotWndProc }; -void ShowShipDepotWindow(uint tile) +void ShowShipDepotWindow(TileIndex tile) { Window *w; @@ -1010,7 +1010,7 @@ static void PlayerShipsWndProc(Window *w, WindowEvent *e) } break; case 9: { /* Build new Vehicle */ - uint tile; + TileIndex tile; if (!IsWindowOfPrototype(w, _player_ships_widgets)) break; |