src/water.h
author Tero Marttila <terom@fixme.fi>
Fri, 18 Jul 2008 21:28:42 +0300
changeset 11175 020c61e39c94
parent 8992 4fa931bf2417
permissions -rw-r--r--
added a GCS_AVAILABLE status, and changed the colours used in the download GUI
/* $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 */