author | peter1138 |
Sun, 03 Aug 2008 17:35:08 +0000 | |
changeset 9834 | 7474149531c1 |
parent 9718 | 4b7468076d31 |
permissions | -rw-r--r-- |
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); |
8380
174326093caa
(svn r11947) -Feature: Make use of new sprites added by Action5 type 0D.
frosch
parents:
8332
diff
changeset
|
9 |
bool FloodHalftile(TileIndex t); |
174326093caa
(svn r11947) -Feature: Make use of new sprites added by Action5 type 0D.
frosch
parents:
8332
diff
changeset
|
10 |
|
174326093caa
(svn r11947) -Feature: Make use of new sprites added by Action5 type 0D.
frosch
parents:
8332
diff
changeset
|
11 |
void ConvertGroundTilesIntoWaterTiles(); |
174326093caa
(svn r11947) -Feature: Make use of new sprites added by Action5 type 0D.
frosch
parents:
8332
diff
changeset
|
12 |
|
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
|
13 |
void DrawShipDepotSprite(int x, int y, int image); |
8496
30978fb53abd
(svn r12071) -Feature(ette): Draw river- and canal-edges under docks and shipdepots.
frosch
parents:
8471
diff
changeset
|
14 |
void DrawWaterClassGround(const struct TileInfo *ti); |
8380
174326093caa
(svn r11947) -Feature: Make use of new sprites added by Action5 type 0D.
frosch
parents:
8332
diff
changeset
|
15 |
void DrawShoreTile(Slope tileh); |
174326093caa
(svn r11947) -Feature: Make use of new sprites added by Action5 type 0D.
frosch
parents:
8332
diff
changeset
|
16 |
|
8471
ba4c15fe147b
(svn r12042) -Fix [FS#1676]: Reimplement how rivers and canals are stored in the map, allowing the sea/river/canal status to also be
peter1138
parents:
8380
diff
changeset
|
17 |
void MakeWaterKeepingClass(TileIndex tile, Owner o); |
9718
4b7468076d31
(svn r13838) -Codechange: Make industry tiles aware of WaterClasses.
frosch
parents:
8496
diff
changeset
|
18 |
void SetWaterClassDependingOnSurroundings(TileIndex t, bool include_invalid_water_class); |
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
|
19 |
|
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
|
20 |
#endif /* WATER_H */ |