Reset & re-init: Difference between revisions

Jump to navigation Jump to search
→‎Benefits: reloading Nasal scripts on-the-fly: http://flightgear.org/forums/viewtopic.php?f=30&t=19487
m (→‎Benefits: add more benefits)
(→‎Benefits: reloading Nasal scripts on-the-fly: http://flightgear.org/forums/viewtopic.php?f=30&t=19487)
Line 30: Line 30:
* Dynamic switching of aircraft
* Dynamic switching of aircraft
** Since the property tree will be rebuilt, we can safely read a different -set.xml file without the universe imploding.
** Since the property tree will be rebuilt, we can safely read a different -set.xml file without the universe imploding.
* Restarting of Nasal (re-read scripts on the fly)
* Restarting of Nasal (re-read scripts on the fly, also see [http://flightgear.org/forums/viewtopic.php?f=30&t=19487])
** Since it's a new property tree, we have to destroy and restart the Nasal context anyway. This should greatly simplify aircraft Nasal script development.
** Since it's a new property tree, we have to destroy and restart the Nasal context anyway. This should greatly simplify aircraft Nasal script development.
* Separate startup GUI frontends like fgrun may become obsolete or at least optional eventually, because FlightGear itself would become increasingly runtime-configurable ([[FlightGear Sessions#The FlightGear Frontend Debacle|we have about 10-15 GUI launchers for FG currently]]).
* Separate startup GUI frontends like fgrun may become obsolete or at least optional eventually, because FlightGear itself would become increasingly runtime-configurable ([[FlightGear Sessions#The FlightGear Frontend Debacle|we have about 10-15 GUI launchers for FG currently]]).

Navigation menu