annotate src/water.h @ 8332:51c891bcfc8b draft

(svn r11898) -Fix: Update neighboured canals + signals when flooding non-flat tiles, too.
author frosch <frosch@openttd.org>
date Thu, 17 Jan 2008 17:13:47 +0000
parents 4faab45e2603
children ccf4087c045f
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
7948
4044e2de8086 (svn r11504) -Fix [FS#1467]: removing docks/ship depots could result in non-canal water where canals should have been build.
rubidium <rubidium@openttd.org>
parents:
diff changeset
1 /* $Id$ */
4044e2de8086 (svn r11504) -Fix [FS#1467]: removing docks/ship depots could result in non-canal water where canals should have been build.
rubidium <rubidium@openttd.org>
parents:
diff changeset
2
4044e2de8086 (svn r11504) -Fix [FS#1467]: removing docks/ship depots could result in non-canal water where canals should have been build.
rubidium <rubidium@openttd.org>
parents:
diff changeset
3 /** @file water.h Functions related to water (management) */
4044e2de8086 (svn r11504) -Fix [FS#1467]: removing docks/ship depots could result in non-canal water where canals should have been build.
rubidium <rubidium@openttd.org>
parents:
diff changeset
4
4044e2de8086 (svn r11504) -Fix [FS#1467]: removing docks/ship depots could result in non-canal water where canals should have been build.
rubidium <rubidium@openttd.org>
parents:
diff changeset
5 #ifndef WATER_H
4044e2de8086 (svn r11504) -Fix [FS#1467]: removing docks/ship depots could result in non-canal water where canals should have been build.
rubidium <rubidium@openttd.org>
parents:
diff changeset
6 #define WATER_H
4044e2de8086 (svn r11504) -Fix [FS#1467]: removing docks/ship depots could result in non-canal water where canals should have been build.
rubidium <rubidium@openttd.org>
parents:
diff changeset
7
4044e2de8086 (svn r11504) -Fix [FS#1467]: removing docks/ship depots could result in non-canal water where canals should have been build.
rubidium <rubidium@openttd.org>
parents:
diff changeset
8 void TileLoop_Water(TileIndex tile);
4044e2de8086 (svn r11504) -Fix [FS#1467]: removing docks/ship depots could result in non-canal water where canals should have been build.
rubidium <rubidium@openttd.org>
parents:
diff changeset
9 void DrawShipDepotSprite(int x, int y, int image);
4044e2de8086 (svn r11504) -Fix [FS#1467]: removing docks/ship depots could result in non-canal water where canals should have been build.
rubidium <rubidium@openttd.org>
parents:
diff changeset
10 void DrawCanalWater(TileIndex tile);
8105
f1453e6bb1d8 (svn r11666) -Fix (r11504): when removing buoys, return to water or canal depending on their owner
glx <glx@openttd.org>
parents: 7948
diff changeset
11 void MakeWaterOrCanalDependingOnOwner(TileIndex tile, Owner o);
7948
4044e2de8086 (svn r11504) -Fix [FS#1467]: removing docks/ship depots could result in non-canal water where canals should have been build.
rubidium <rubidium@openttd.org>
parents:
diff changeset
12 void MakeWaterOrCanalDependingOnSurroundings(TileIndex t, Owner o);
8332
51c891bcfc8b (svn r11898) -Fix: Update neighboured canals + signals when flooding non-flat tiles, too.
frosch <frosch@openttd.org>
parents: 8108
diff changeset
13 bool FloodHalftile(TileIndex t);
7948
4044e2de8086 (svn r11504) -Fix [FS#1467]: removing docks/ship depots could result in non-canal water where canals should have been build.
rubidium <rubidium@openttd.org>
parents:
diff changeset
14
4044e2de8086 (svn r11504) -Fix [FS#1467]: removing docks/ship depots could result in non-canal water where canals should have been build.
rubidium <rubidium@openttd.org>
parents:
diff changeset
15 #endif /* WATER_H */