src/water.h
author frosch
Tue, 16 Dec 2008 20:15:36 +0000
changeset 10429 b81d72d5b44a
parent 9718 4b7468076d31
permissions -rw-r--r--
(svn r14682) -Fix (r14672): Check the correct savegame version. (Thanks SmatZ)
/* $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, bool include_invalid_water_class);

#endif /* WATER_H */