MCPcopy Create free account
hub / github.com/OpenTTD/OpenTTD / ToggleTransparency

Function ToggleTransparency

src/transparency.h:71–74  ·  view source on GitHub ↗

* Toggle the transparency option bit * * @param to the transparency option to be toggled */

Source from the content-addressed store, hash-verified

69 * @param to the transparency option to be toggled
70 */
71inline void ToggleTransparency(TransparencyOption to)
72{
73 ToggleBit(_transparency_opt, to);
74}
75
76/**
77 * Toggle the invisibility option bit

Callers 3

MenuClickSettingsFunction · 0.85
OnClickMethod · 0.85
OnHotkeyMethod · 0.85

Calls 1

ToggleBitFunction · 0.85

Tested by

no test coverage detected