From e5cd6b61933537888b1be19af437415861cca57f Mon Sep 17 00:00:00 2001 From: tron Date: Sat, 22 Jan 2005 22:47:58 +0000 Subject: (svn r1596) Add some more statics --- clear_cmd.c | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'clear_cmd.c') diff --git a/clear_cmd.c b/clear_cmd.c index 6c0c9829d..de411c72a 100644 --- a/clear_cmd.c +++ b/clear_cmd.c @@ -413,7 +413,8 @@ int32 CmdPurchaseLandArea(int x, int y, uint32 flags, uint32 p1, uint32 p2) } -int32 ClearTile_Clear(uint tile, byte flags) { +static int32 ClearTile_Clear(uint tile, byte flags) +{ static const int32 * _clear_price_table[] = { NULL, &_price.clear_1, &_price.clear_1,&_price.clear_1, @@ -523,9 +524,12 @@ static void DrawTile_Clear(TileInfo *ti) DrawClearLandFence(ti, _map3_hi[ti->tile] >> 2); } -uint GetSlopeZ_Clear(TileInfo *ti) { return GetPartialZ(ti->x&0xF, ti->y&0xF, ti->tileh) + ti->z; } +static uint GetSlopeZ_Clear(TileInfo *ti) +{ + return GetPartialZ(ti->x & 0xF, ti->y & 0xF, ti->tileh) + ti->z; +} -uint GetSlopeTileh_Clear(TileInfo *ti) +static uint GetSlopeTileh_Clear(TileInfo *ti) { return ti->tileh; } -- cgit v1.2.3-54-g00ecf