summaryrefslogtreecommitdiff
path: root/src/newgrf_commons.h
diff options
context:
space:
mode:
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);