Difference between revisions of "Callback: Extra information about layout in the build gui"
From GRFSpecs
Jump to navigationJump to search (use new grf templates) |
|||
Line 1: | Line 1: | ||
== Extra information about airport layout in the build gui (155) == |
== Extra information about airport layout in the build gui (155) == |
||
− | This callback allows you to display some extra text in the build airport gui |
+ | This callback allows you to display some extra text in the build airport gui. |
+ | {| |
||
− | {{grfFrom|8}} For GRF version 8 and above you can return 400 to display no text (instead of failing the callback). |
||
+ | |- |
||
+ | !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 r20272 |
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 r20272 |
Latest revision as of 13:55, 13 May 2025
Extra information about airport layout in the build gui (155)
This callback allows you to display some extra text in the build airport gui.
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 r20272