diff options
author | tron <tron@openttd.org> | 2005-03-27 18:15:27 +0000 |
---|---|---|
committer | tron <tron@openttd.org> | 2005-03-27 18:15:27 +0000 |
commit | 9e53b86dca064727df16ed6d008796a89d89c096 (patch) | |
tree | 586d8a11b817c92bc4622eca651af6762d2b6b88 /functions.h | |
parent | a494f96cfe9fa53b933eab8ded62f82e6bc06612 (diff) | |
download | openttd-9e53b86dca064727df16ed6d008796a89d89c096.tar.xz |
(svn r2093) uint -> TileIndex, remove commented out code and a local variable, which was only used once
Diffstat (limited to 'functions.h')
-rw-r--r-- | functions.h | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/functions.h b/functions.h index 7f2577fa6..74a9c44d1 100644 --- a/functions.h +++ b/functions.h @@ -10,22 +10,22 @@ void FindLandscapeHeight(TileInfo *ti, uint x, uint y); void FindLandscapeHeightByTile(TileInfo *ti, TileIndex tile); -void DoClearSquare(uint tile); -void CDECL ModifyTile(uint tile, uint flags, ...); +void DoClearSquare(TileIndex tile); +void CDECL ModifyTile(TileIndex tile, uint flags, ...); void RunTileLoop(void); uint GetPartialZ(int x, int y, int corners); uint GetSlopeZ(int x, int y); -uint32 GetTileTrackStatus(uint tile, TransportType mode); -void GetAcceptedCargo(uint tile, AcceptedCargo ac); -void ChangeTileOwner(uint tile, byte old_player, byte new_player); -void AnimateTile(uint tile); -void ClickTile(uint tile); -void GetTileDesc(uint tile, TileDesc *td); +uint32 GetTileTrackStatus(TileIndex tile, TransportType mode); +void GetAcceptedCargo(TileIndex tile, AcceptedCargo ac); +void ChangeTileOwner(TileIndex tile, byte old_player, byte new_player); +void AnimateTile(TileIndex tile); +void ClickTile(TileIndex tile); +void GetTileDesc(TileIndex tile, TileDesc *td); void DrawTile(TileInfo *ti); void UpdateTownMaxPass(Town *t); -bool IsValidTile(uint tile); +bool IsValidTile(TileIndex tile); static inline Point RemapCoords(int x, int y, int z) { |