summaryrefslogtreecommitdiff
path: root/tile.c
diff options
context:
space:
mode:
authorbelugas <belugas@openttd.org>2006-03-30 19:16:44 +0000
committerbelugas <belugas@openttd.org>2006-03-30 19:16:44 +0000
commit1b28d92fc844bae632a1573cfd499de3ff4238ce (patch)
tree0f080a9a7fe135f94c938d4a6178f9175904cc93 /tile.c
parent1f17d91b47294e761901ba86a541b32ee1587fb4 (diff)
downloadopenttd-1b28d92fc844bae632a1573cfd499de3ff4238ce.tar.xz
(svn r4181) CodeChange : Replaced [G/S]etMapExtraBits by [G/S]etTropicZone. Although it was an accessor, nor his usage nor the values were clear.
Diffstat (limited to 'tile.c')
-rw-r--r--tile.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/tile.c b/tile.c
index f18932c3f..7ab92b664 100644
--- a/tile.c
+++ b/tile.c
@@ -3,18 +3,6 @@
#include "stdafx.h"
#include "tile.h"
-void SetMapExtraBits(TileIndex tile, byte bits)
-{
- assert(tile < MapSize());
- SB(_m[tile].extra, 0, 2, bits & 3);
-}
-
-uint GetMapExtraBits(TileIndex tile)
-{
- assert(tile < MapSize());
- return GB(_m[tile].extra, 0, 2);
-}
-
/** Converts the heights of 4 corners into a tileh, and returns the minimum height of the tile
* @param n,w,e,s the four corners
* @param h uint pointer to write the height to