diff options
author | frosch <frosch@openttd.org> | 2011-07-10 13:04:04 +0000 |
---|---|---|
committer | frosch <frosch@openttd.org> | 2011-07-10 13:04:04 +0000 |
commit | a7f7a978250009beb4f6453c145c7425cbcb57ce (patch) | |
tree | 9900a75be94b69838566a0cf1330164d860af146 /src/water.h | |
parent | d4dbe95274b636e22d98e9981f178aec128fa491 (diff) | |
download | openttd-a7f7a978250009beb4f6453c145c7425cbcb57ce.tar.xz |
(svn r22646) -Codechange: Simplify MP_WATER map accessors, esp. for locks and depots. (based on patched by adf88 and michi_cc)
Diffstat (limited to 'src/water.h')
-rw-r--r-- | src/water.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/water.h b/src/water.h index db52600ee..a5bb1c629 100644 --- a/src/water.h +++ b/src/water.h @@ -15,6 +15,7 @@ #include "tile_type.h" #include "company_type.h" #include "slope_type.h" +#include "water_map.h" /** * Describes the behaviour of a tile during flooding. @@ -34,7 +35,7 @@ void DoFloodTile(TileIndex target); void ConvertGroundTilesIntoWaterTiles(); -void DrawShipDepotSprite(int x, int y, int image); +void DrawShipDepotSprite(int x, int y, Axis axis, DepotPart part); void DrawWaterClassGround(const struct TileInfo *ti); void DrawShoreTile(Slope tileh); |