diff options
author | frosch <frosch@openttd.org> | 2008-01-22 17:48:08 +0000 |
---|---|---|
committer | frosch <frosch@openttd.org> | 2008-01-22 17:48:08 +0000 |
commit | 49d2087d7f15acd791c17b96dcbdb639ed7d8ae2 (patch) | |
tree | 810014ffd4cea94ba5f29e43a23535441ee0156a /src/water.h | |
parent | b99c83246b4029f91579712ae9044fa9e1f6b2c9 (diff) | |
download | openttd-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/water.h')
-rw-r--r-- | src/water.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/water.h b/src/water.h index edd270006..94570612c 100644 --- a/src/water.h +++ b/src/water.h @@ -6,10 +6,15 @@ #define WATER_H void TileLoop_Water(TileIndex tile); +bool FloodHalftile(TileIndex t); + +void ConvertGroundTilesIntoWaterTiles(); + void DrawShipDepotSprite(int x, int y, int image); void DrawCanalWater(TileIndex tile); +void DrawShoreTile(Slope tileh); + void MakeWaterOrCanalDependingOnOwner(TileIndex tile, Owner o); void MakeWaterOrCanalDependingOnSurroundings(TileIndex t, Owner o); -bool FloodHalftile(TileIndex t); #endif /* WATER_H */ |