Difference between revisions of "Callback: Layout name"
From GRFSpecs
Jump to navigationJump to search (grf version 8) |
(use new grf templates) |
||
Line 3: | Line 3: | ||
This callback allows you to show a name for an airport layout. It should return a D0xx StringID. |
This callback allows you to show a name for an airport layout. It should return a D0xx StringID. |
||
− | {{ |
+ | {{grfFrom|8}} For GRF version 8 and above you can return 400 to display no text (instead of failing the callback). |
This callback is always called when available, you do not need to set a bit in any action0 property to enable it. Available for OpenTTD since r20273. |
This callback is always called when available, you do not need to set a bit in any action0 property to enable it. Available for OpenTTD since r20273. |
Latest revision as of 13:34, 1 April 2012
Airport layout name (156)
This callback allows you to show a name for an airport layout. It should return a D0xx StringID.
GRFv≥8 For GRF version 8 and above you can return 400 to display no text (instead of failing the callback).
This callback is always called when available, you do not need to set a bit in any action0 property to enable it. Available for OpenTTD since r20273.