diff options
author | yexo <yexo@openttd.org> | 2010-08-05 12:05:15 +0000 |
---|---|---|
committer | yexo <yexo@openttd.org> | 2010-08-05 12:05:15 +0000 |
commit | d6fa76b044711488de9b5ec822d603a4c968dd57 (patch) | |
tree | a5597f39b9e6ad039d06fcf2b589c7eb2768ce03 /src/newgrf_callbacks.h | |
parent | 5bacbba9f22010b2bd54ebfc7b4cc8713db6c9ea (diff) | |
download | openttd-d6fa76b044711488de9b5ec822d603a4c968dd57.tar.xz |
(svn r20372) -Feature; [NewGRF] callback 0x155 to display extra information about an airport in the build gui
Diffstat (limited to 'src/newgrf_callbacks.h')
-rw-r--r-- | src/newgrf_callbacks.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/newgrf_callbacks.h b/src/newgrf_callbacks.h index 710592fad..f85bfa859 100644 --- a/src/newgrf_callbacks.h +++ b/src/newgrf_callbacks.h @@ -242,6 +242,12 @@ enum CallbackID { /** Called to indicate how long the current animation frame should last. */ CBID_AIRPTILE_ANIMATION_SPEED = 0x154, // 8 bit callback + + /** + * This callback is called from airport list. It returns a value to be + * used as a custom string ID in the 0xD000 range. + */ + CBID_AIRPORT_ADDITIONAL_TEXT = 0x155, // 15 bit callback }; /** |