mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-11-19 09:56:01 +01:00
fix: radio fuse review: working push buttons, own hint, HUD
- radioon_sw:/radiooff_sw:/radiofuseon_sw:/radiofuseoff_sw: are now loaded as push-button gauges in initialize_gauge, so they can be clicked; the enable/disable commands press them while held. radiotoggle and radiofusetoggle flip the state directly, so they don't move them. - New driver hint "Close radio fuse" (radiofuseon); "Switch on radio" is given only when the radio's own switch is off. - The HUD shows the radio channel only with the fuse closed. (eu07/maszyna#438)
This commit is contained in:
@@ -2,6 +2,7 @@ DRIVER_HINT_DEF(batteryon, STRN("Switch on battery"))
|
||||
DRIVER_HINT_DEF(batteryoff, STRN("Switch off battery"))
|
||||
DRIVER_HINT_DEF(radioon, STRN("Switch on radio"))
|
||||
DRIVER_HINT_DEF(radiooff, STRN("Switch off radio"))
|
||||
DRIVER_HINT_DEF(radiofuseon, STRN("Close radio fuse"))
|
||||
DRIVER_HINT_DEF(radiochannel, STRN("Tune into channel %.0f"))
|
||||
DRIVER_HINT_DEF(oilpumpon, STRN("Switch on oil pump"))
|
||||
DRIVER_HINT_DEF(oilpumpoff, STRN("Switch off oil pump"))
|
||||
|
||||
Reference in New Issue
Block a user