Difference between revisions of "Callback: Layout name"

From GRFSpecs
Jump to navigationJump to search
m (Create a separate page for each callback)
 
(use new grf templates)
 
(One intermediate revision by the same user not shown)
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.
  +
  +
{{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.
 
[[Category:Callbacks]]
 
[[Category:Callbacks]]

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.