2007-11-24 09:45:04 +01:00
|
|
|
/* $Id$ */
|
|
|
|
|
|
|
|
/** @file water.h Functions related to water (management) */
|
|
|
|
|
|
|
|
#ifndef WATER_H
|
|
|
|
#define WATER_H
|
|
|
|
|
|
|
|
void TileLoop_Water(TileIndex tile);
|
2008-01-22 18:48:08 +01:00
|
|
|
bool FloodHalftile(TileIndex t);
|
|
|
|
|
|
|
|
void ConvertGroundTilesIntoWaterTiles();
|
|
|
|
|
2007-11-24 09:45:04 +01:00
|
|
|
void DrawShipDepotSprite(int x, int y, int image);
|
2008-02-02 10:28:43 +01:00
|
|
|
void DrawCanalWater(TileIndex tile, bool draw_base);
|
|
|
|
void DrawRiverWater(const struct TileInfo *ti, bool draw_base);
|
2008-01-22 18:48:08 +01:00
|
|
|
void DrawShoreTile(Slope tileh);
|
|
|
|
|
2008-02-02 10:28:43 +01:00
|
|
|
void MakeWaterKeepingClass(TileIndex tile, Owner o);
|
|
|
|
void SetWaterClassDependingOnSurroundings(TileIndex t);
|
2007-11-24 09:45:04 +01:00
|
|
|
|
|
|
|
#endif /* WATER_H */
|