From a242dadad24f752c8e97af8464f425a7774f0e93 Mon Sep 17 00:00:00 2001 From: frosch Date: Tue, 22 Jan 2008 17:48:08 +0000 Subject: (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. --- src/landscape.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/landscape.h') 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 */ -- cgit v1.2.3-54-g00ecf