src/water.h
author peter1138
Tue, 22 Jan 2008 07:27:06 +0000
changeset 8374 7a1b6c89cb89
parent 8332 7226194fb681
child 8380 174326093caa
permissions -rw-r--r--
(svn r11940) -Codechange: Store short filename once per open file instead of once per sprite cache entry. Not all file types need this, but most of the time no sprite cache entry needed it either.
7948
e408508f5727 (svn r11504) -Fix [FS#1467]: removing docks/ship depots could result in non-canal water where canals should have been build.
rubidium
parents:
diff changeset
     1
/* $Id$ */
e408508f5727 (svn r11504) -Fix [FS#1467]: removing docks/ship depots could result in non-canal water where canals should have been build.
rubidium
parents:
diff changeset
     2
e408508f5727 (svn r11504) -Fix [FS#1467]: removing docks/ship depots could result in non-canal water where canals should have been build.
rubidium
parents:
diff changeset
     3
/** @file water.h Functions related to water (management) */
e408508f5727 (svn r11504) -Fix [FS#1467]: removing docks/ship depots could result in non-canal water where canals should have been build.
rubidium
parents:
diff changeset
     4
e408508f5727 (svn r11504) -Fix [FS#1467]: removing docks/ship depots could result in non-canal water where canals should have been build.
rubidium
parents:
diff changeset
     5
#ifndef WATER_H
e408508f5727 (svn r11504) -Fix [FS#1467]: removing docks/ship depots could result in non-canal water where canals should have been build.
rubidium
parents:
diff changeset
     6
#define WATER_H
e408508f5727 (svn r11504) -Fix [FS#1467]: removing docks/ship depots could result in non-canal water where canals should have been build.
rubidium
parents:
diff changeset
     7
e408508f5727 (svn r11504) -Fix [FS#1467]: removing docks/ship depots could result in non-canal water where canals should have been build.
rubidium
parents:
diff changeset
     8
void TileLoop_Water(TileIndex tile);
e408508f5727 (svn r11504) -Fix [FS#1467]: removing docks/ship depots could result in non-canal water where canals should have been build.
rubidium
parents:
diff changeset
     9
void DrawShipDepotSprite(int x, int y, int image);
e408508f5727 (svn r11504) -Fix [FS#1467]: removing docks/ship depots could result in non-canal water where canals should have been build.
rubidium
parents:
diff changeset
    10
void DrawCanalWater(TileIndex tile);
8105
49739cef9a00 (svn r11666) -Fix (r11504): when removing buoys, return to water or canal depending on their owner
glx
parents: 7948
diff changeset
    11
void MakeWaterOrCanalDependingOnOwner(TileIndex tile, Owner o);
7948
e408508f5727 (svn r11504) -Fix [FS#1467]: removing docks/ship depots could result in non-canal water where canals should have been build.
rubidium
parents:
diff changeset
    12
void MakeWaterOrCanalDependingOnSurroundings(TileIndex t, Owner o);
8332
7226194fb681 (svn r11898) -Fix: Update neighboured canals + signals when flooding non-flat tiles, too.
frosch
parents: 8108
diff changeset
    13
bool FloodHalftile(TileIndex t);
7948
e408508f5727 (svn r11504) -Fix [FS#1467]: removing docks/ship depots could result in non-canal water where canals should have been build.
rubidium
parents:
diff changeset
    14
e408508f5727 (svn r11504) -Fix [FS#1467]: removing docks/ship depots could result in non-canal water where canals should have been build.
rubidium
parents:
diff changeset
    15
#endif /* WATER_H */