src/water.h
author rubidium
Thu, 12 Jun 2008 19:06:30 +0000
changeset 10941 4b627487aac9
parent 8992 4fa931bf2417
permissions -rw-r--r--
(svn r13495) -Fix: scrolling the main map with the keys speed was influenced by movement of the mouse.
/* $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 */