summaryrefslogtreecommitdiff
path: root/src/landscape.h
diff options
context:
space:
mode:
authorfrosch <frosch@openttd.org>2008-01-22 17:48:08 +0000
committerfrosch <frosch@openttd.org>2008-01-22 17:48:08 +0000
commit49d2087d7f15acd791c17b96dcbdb639ed7d8ae2 (patch)
tree810014ffd4cea94ba5f29e43a23535441ee0156a /src/landscape.h
parentb99c83246b4029f91579712ae9044fa9e1f6b2c9 (diff)
downloadopenttd-49d2087d7f15acd791c17b96dcbdb639ed7d8ae2.tar.xz
(svn r11947) -Feature: Make use of new sprites added by Action5 type 0D.
Tiles which only consist of shore do not flood anymore, instead they get removed if they are no longer connected to flooding water.
Diffstat (limited to 'src/landscape.h')
-rw-r--r--src/landscape.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/landscape.h b/src/landscape.h
index 130deb4b6..178579efb 100644
--- a/src/landscape.h
+++ b/src/landscape.h
@@ -32,6 +32,7 @@ uint GetPartialZ(int x, int y, Slope corners);
uint GetSlopeZ(int x, int y);
void GetSlopeZOnEdge(Slope tileh, DiagDirection edge, int *z1, int *z2);
int GetSlopeZInCorner(Slope tileh, Corner corner);
+Slope GetFoundationSlope(TileIndex tile, uint* z);
static inline Point RemapCoords(int x, int y, int z)
{
@@ -55,8 +56,6 @@ void RunTileLoop();
void InitializeLandscape();
void GenerateLandscape(byte mode);
-void ConvertGroundTilesIntoWaterTiles();
-
TileIndex AdjustTileCoordRandomly(TileIndex a, byte rng);
#endif /* LANDSCAPE_H */