Howto:Reset/re-init Troubleshooting: Difference between revisions

Jump to navigation Jump to search
m
→‎Nasal dialog: add working stub for switch-aircraft fgcommand (using ufo for now)
m (→‎Nasal dialog: add row for control buttons (pause/unpause, switch aircraft etc) - placeholders for now)
m (→‎Nasal dialog: add working stub for switch-aircraft fgcommand (using ufo for now))
Line 259: Line 259:
var ControlButtons = [
var ControlButtons = [
{name: "Global reset", callback: func() {fgcommand("reset");} },
{name: "Global reset", callback: func() {fgcommand("reset");} },
# see $FG_SRC/Main/fg_commands.cxx (do_switch_aircraft)
{name: "Reload aircraft", callback: func() {fgcommand("switch-aircraft",props.Node.new({aircraft:"ufo"}));} },
# WIP: (placeholders)
# WIP: (placeholders)
{name: "Reload aircraft", callback: func() {} },
{name: "Relocate:KSFO", callback: func() {} },
{name: "Relocate:KSFO", callback: func() {} },
{name: "Relocate:KRNO", callback: func() {} },
{name: "Relocate:KRNO", callback: func() {} },

Navigation menu