src/water.h
author rubidium
Sun, 08 Jun 2008 10:51:36 +0000
changeset 9476 902f9cf6373f
parent 8496 30978fb53abd
child 9718 4b7468076d31
permissions -rw-r--r--
(svn r13411) -Codechange: remove the return value from the thread procs because it is never used.
/* $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 */