(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.
This commit is contained in:
frosch
2008-01-22 17:48:08 +00:00
parent 8a72af3a13
commit a242dadad2
6 changed files with 263 additions and 176 deletions

View File

@@ -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 */