(svn r607) -Patch: [ 985102 ] static cleanup

Thanks to lvoge
This commit is contained in:
tron
2004-11-14 19:44:06 +00:00
parent 200d3fdbe8
commit 249a170ace
32 changed files with 108 additions and 118 deletions

View File

@@ -14,7 +14,7 @@ bool IsShipDepotTile(TileIndex tile)
return IS_TILETYPE(tile, MP_WATER) && (_map5[tile]&~3) == 0x80;
}
bool IsClearWaterTile(uint tile)
static bool IsClearWaterTile(uint tile)
{
TileInfo ti;
FindLandscapeHeightByTile(&ti, tile);
@@ -440,12 +440,12 @@ void DrawShipDepotSprite(int x, int y, int image)
}
uint GetSlopeZ_Water(TileInfo *ti)
static uint GetSlopeZ_Water(TileInfo *ti)
{
return GetPartialZ(ti->x&0xF, ti->y&0xF, ti->tileh) + ti->z;
}
uint GetSlopeTileh_Water(TileInfo *ti)
static uint GetSlopeTileh_Water(TileInfo *ti)
{
return ti->tileh;
}