diff options
Diffstat (limited to 'src/newgrf_commons.h')
-rw-r--r-- | src/newgrf_commons.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/newgrf_commons.h b/src/newgrf_commons.h index 52622a44d..f1977b252 100644 --- a/src/newgrf_commons.h +++ b/src/newgrf_commons.h @@ -19,6 +19,7 @@ #include "sprite.h" #include "core/alloc_type.hpp" #include "core/smallvec_type.hpp" +#include "command_type.h" /** Context for tile accesses */ enum TileContext { @@ -267,6 +268,7 @@ extern ObjectOverrideManager _object_mngr; uint32 GetTerrainType(TileIndex tile, TileContext context = TCX_NORMAL); TileIndex GetNearbyTile(byte parameter, TileIndex tile, bool signed_offsets = true); uint32 GetNearbyTileInformation(TileIndex tile); +CommandCost GetErrorMessageFromLocationCallbackResult(uint16 cb_res, uint32 grfid, StringID default_error); /** * Data related to the handling of grf files. |