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 | 1086f772bb9909b32f43c44c1253336275ded216 (patch) | |
tree | 586d8a11b817c92bc4622eca651af6762d2b6b88 /functions.h | |
parent | fe9bb7e176cb8846a3b17c22d37a4a2c8815aeb8 (diff) | |
download | openttd-1086f772bb9909b32f43c44c1253336275ded216.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) { |