src/water.h
author truebrain
Mon, 30 Jun 2008 13:49:41 +0000
branchnoai
changeset 11101 94e33f3174a6
parent 9732 f8eb3e208514
permissions -rw-r--r--
(svn r13659) [NoAI] -Fix: give regression a bit more time to do his job, as the new scheduler makes it take too long ;)
/* $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 */