summaryrefslogtreecommitdiff
path: root/water_cmd.c
diff options
context:
space:
mode:
authortron <tron@openttd.org>2004-11-14 19:44:06 +0000
committertron <tron@openttd.org>2004-11-14 19:44:06 +0000
commit249a170acef352b40c7fa67fe65bdc62cbae4ff1 (patch)
tree42822c6c00e5ddf808a4b35810f9522ad3dcf5ed /water_cmd.c
parent200d3fdbe83717437d7dad0fb99b180c3ca103a7 (diff)
downloadopenttd-249a170acef352b40c7fa67fe65bdc62cbae4ff1.tar.xz
(svn r607) -Patch: [ 985102 ] static cleanup
Thanks to lvoge
Diffstat (limited to 'water_cmd.c')
-rw-r--r--water_cmd.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/water_cmd.c b/water_cmd.c
index d9dfbb550..918fd9c1c 100644
--- a/water_cmd.c
+++ b/water_cmd.c
@@ -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;
}