summaryrefslogtreecommitdiff
path: root/src/newgrf_commons.h
diff options
context:
space:
mode:
authormichi_cc <michi_cc@openttd.org>2011-07-11 16:32:35 +0000
committermichi_cc <michi_cc@openttd.org>2011-07-11 16:32:35 +0000
commitd579af11e8c903c8019489c9a567b68cdd153b69 (patch)
tree5ec23b092d4f0fa6dc6529605e62a20c022b65c3 /src/newgrf_commons.h
parente5dd6f922799a5f741d5e040efcd689f0f5e875b (diff)
downloadopenttd-d579af11e8c903c8019489c9a567b68cdd153b69.tar.xz
(svn r22659) -Add: [NewGRF] Support for the land slope check callback for stations.
Diffstat (limited to 'src/newgrf_commons.h')
-rw-r--r--src/newgrf_commons.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/newgrf_commons.h b/src/newgrf_commons.h
index f1977b252..77d62479e 100644
--- a/src/newgrf_commons.h
+++ b/src/newgrf_commons.h
@@ -20,6 +20,7 @@
#include "core/alloc_type.hpp"
#include "core/smallvec_type.hpp"
#include "command_type.h"
+#include "direction_type.h"
/** Context for tile accesses */
enum TileContext {
@@ -266,7 +267,7 @@ extern AirportTileOverrideManager _airporttile_mngr;
extern ObjectOverrideManager _object_mngr;
uint32 GetTerrainType(TileIndex tile, TileContext context = TCX_NORMAL);
-TileIndex GetNearbyTile(byte parameter, TileIndex tile, bool signed_offsets = true);
+TileIndex GetNearbyTile(byte parameter, TileIndex tile, bool signed_offsets = true, Axis axis = INVALID_AXIS);
uint32 GetNearbyTileInformation(TileIndex tile);
CommandCost GetErrorMessageFromLocationCallbackResult(uint16 cb_res, uint32 grfid, StringID default_error);