src/water.h
author smatz
Wed, 18 Jun 2008 20:20:12 +0000
changeset 9550 89a9d945b97d
parent 8496 30978fb53abd
child 9718 4b7468076d31
permissions -rw-r--r--
(svn r13568) -Fix (r13564): Windows build asserts where I wouldn't expect it to
/* $Id$ */

/** @file water.h Functions related to water (management) */

#ifndef WATER_H
#define WATER_H

void TileLoop_Water(TileIndex tile);
bool FloodHalftile(TileIndex t);

void ConvertGroundTilesIntoWaterTiles();

void DrawShipDepotSprite(int x, int y, int image);
void DrawWaterClassGround(const struct TileInfo *ti);
void DrawShoreTile(Slope tileh);

void MakeWaterKeepingClass(TileIndex tile, Owner o);
void SetWaterClassDependingOnSurroundings(TileIndex t);

#endif /* WATER_H */