(svn r22656) -Codechange: Deduplicate the custom error message of the industry shape and location callbacks.
This commit is contained in:
@@ -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.
|
||||
|
Reference in New Issue
Block a user