src/water.h
author rubidium
Sun, 22 Jun 2008 21:41:03 +0000
branchnoai
changeset 11053 d8d48e076a3f
parent 9732 f8eb3e208514
permissions -rw-r--r--
(svn r13610) [NoAI] -Add: AIDepotList giving you a list of the locations of your depots (including hangars).
/* $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 */