src/water.h
author glx
Fri, 22 Feb 2008 00:25:54 +0000
branchnoai
changeset 9732 f8eb3e208514
parent 9724 b39bc69bb2f2
permissions -rw-r--r--
(svn r12211) [NoAI] -Sync: with trunk r12050:12209
/* $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 */