summaryrefslogtreecommitdiff
path: root/src/newgrf_commons.h
diff options
context:
space:
mode:
authorfrosch <frosch@openttd.org>2011-11-08 17:24:15 +0000
committerfrosch <frosch@openttd.org>2011-11-08 17:24:15 +0000
commit56e5144f716fb98ef8facde8b18631452188df6e (patch)
tree651bd5139bea2342485b09777cd6d27edb7cf252 /src/newgrf_commons.h
parentae11548b4ec2650348d818ae9f6bc19dd62caac2 (diff)
downloadopenttd-56e5144f716fb98ef8facde8b18631452188df6e.tar.xz
(svn r23140) -Add: ErrorUnknownCallbackResult()
Diffstat (limited to 'src/newgrf_commons.h')
-rw-r--r--src/newgrf_commons.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/newgrf_commons.h b/src/newgrf_commons.h
index 7c55911a8..ad1c8f408 100644
--- a/src/newgrf_commons.h
+++ b/src/newgrf_commons.h
@@ -300,6 +300,8 @@ uint32 GetNearbyTileInformation(TileIndex tile);
uint32 GetCompanyInfo(CompanyID owner, const struct Livery *l = NULL);
CommandCost GetErrorMessageFromLocationCallbackResult(uint16 cb_res, uint32 grfid, StringID default_error);
+void ErrorUnknownCallbackResult(uint32 grfid, uint16 cbid, uint16 cb_res);
+
/**
* Data related to the handling of grf files.
* @tparam Tcnt Number of spritegroups