summaryrefslogtreecommitdiff
path: root/src/newgrf_callbacks.h
diff options
context:
space:
mode:
authorbelugas <belugas@openttd.org>2009-01-20 16:06:57 +0000
committerbelugas <belugas@openttd.org>2009-01-20 16:06:57 +0000
commitcef41031376ae3e5535d338e792814df379f209a (patch)
treeabdaad1237105397c3de13de28b2b39440a921b7 /src/newgrf_callbacks.h
parent61ee8ca42a5c4e6ddb541304cea471032a48a79a (diff)
downloadopenttd-cef41031376ae3e5535d338e792814df379f209a.tar.xz
(svn r15172) -Feature: Allow a grf to customize house name via callback 0x14D, during Tile Inquiry process
Diffstat (limited to 'src/newgrf_callbacks.h')
-rw-r--r--src/newgrf_callbacks.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/newgrf_callbacks.h b/src/newgrf_callbacks.h
index d8e1cf8cd..0d3471da0 100644
--- a/src/newgrf_callbacks.h
+++ b/src/newgrf_callbacks.h
@@ -208,6 +208,9 @@ enum CallbackID {
/** Customize the output cargo types of a newly build industry. */
CBID_INDUSTRY_OUTPUT_CARGO_TYPES = 0x14C, // 8 bit callback
+
+ /** Called on the Get Tile Description for an house tile. */
+ CBID_HOUSE_CUSTOM_NAME = 0x14D, // 15 bit callback
};
/**
@@ -251,6 +254,7 @@ enum HouseCallbackMask {
CBM_HOUSE_ACCEPT_CARGO = 8,
CBM_HOUSE_PRODUCE_CARGO = 9,
CBM_HOUSE_DENY_DESTRUCTION = 10,
+
};
/**