(svn r22646) -Codechange: Simplify MP_WATER map accessors, esp. for locks and depots. (based on patched by adf88 and michi_cc)

This commit is contained in:
frosch
2011-07-10 13:04:04 +00:00
parent 2ebf8fa584
commit ba358638a8
6 changed files with 127 additions and 81 deletions

View File

@@ -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);