src/water.h
author richk
Mon, 10 Mar 2008 15:26:39 +0000
branchNewGRF_ports
changeset 6878 7d1ff2f621c7
parent 6877 889301acc299
permissions -rw-r--r--
(svn r12351) [NewGRF_ports] -Sync: with trunk r12051:12350.
/* $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 */