Difference between revisions of "Callback: Layout name"
From GRFSpecs
Jump to navigationJump to searchm (Create a separate page for each callback) |
|||
| (2 intermediate revisions 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 |
+ | This callback allows you to show a name for an airport layout. |
| + | |||
| + | {| |
||
| + | |- |
||
| + | !Return value!!Version!!Meaning |
||
| + | |- |
||
| + | |0000..03FF|| ||D0xx text to display. |
||
| + | |- |
||
| + | |0400||{{grfFrom|8}}||Display no text (same as callback failure). |
||
| + | |- |
||
| + | |040F||{{ottdp|15|no}}||Display text using text ID from register 0x100 (not limited to D0xx texts). |
||
| + | |} |
||
| + | |||
| + | 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:55, 13 May 2025
Airport layout name (156)
This callback allows you to show a name for an airport layout.
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.