Callback: Layout name: Difference between revisions

From GRFSpecs
Jump to navigation Jump to search
Content deleted Content added
Pm-bot (talk | contribs)
m Create a separate page for each callback
 
grf version 8
Line 1: Line 1:
== Airport layout name (156) ==
== Airport layout name (156) ==


This callback allows you to show a name for an airport layout. It should return a D0xx StringID. 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 allows you to show a name for an airport layout. It should return a D0xx StringID.

{{grf|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.
[[Category:Callbacks]]
[[Category:Callbacks]]

Revision as of 01:25, 9 November 2011

Airport layout name (156)

This callback allows you to show a name for an airport layout. It should return a D0xx StringID.

GRFv8 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.