summaryrefslogtreecommitdiff
path: root/src/newgrf_callbacks.h
diff options
context:
space:
mode:
authoryexo <yexo@openttd.org>2010-08-05 12:05:56 +0000
committeryexo <yexo@openttd.org>2010-08-05 12:05:56 +0000
commit00902294b3077c163df1917121c5bb9a7b48e179 (patch)
tree5eb3d003ae259e5b5ce5817264ded96dab949397 /src/newgrf_callbacks.h
parentd6fa76b044711488de9b5ec822d603a4c968dd57 (diff)
downloadopenttd-00902294b3077c163df1917121c5bb9a7b48e179.tar.xz
(svn r20373) -Feature: [NewGRF] callback 0x156 to use another name for airport layouts than the default "Layout x"
Diffstat (limited to 'src/newgrf_callbacks.h')
-rw-r--r--src/newgrf_callbacks.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/newgrf_callbacks.h b/src/newgrf_callbacks.h
index f85bfa859..911ca71c9 100644
--- a/src/newgrf_callbacks.h
+++ b/src/newgrf_callbacks.h
@@ -248,6 +248,9 @@ enum CallbackID {
* used as a custom string ID in the 0xD000 range.
*/
CBID_AIRPORT_ADDITIONAL_TEXT = 0x155, // 15 bit callback
+
+ /** Called to determine text to show as airport layout name. */
+ CBID_AIRPORT_LAYOUT_NAME = 0x156, // 15 bit callback
};
/**