Tony Peden writes: > The latter would certainly be easier, no code would need to be changed. > Wouldn't it have the effect of forcing client code to keep track of > which vehicle was being referenced in the tree? A good example here, I > think, would be the view manager. Another good example would be the > real-time plotting code Curt discussed a few weeks back. In both cases, > just blindly using the data in the tree would be likely to have some > interesting results.
That sounds fair. As long as we have everything working through FGGlobals (i.e. no global variables declared in header files like "current_panel"), then we can swap different versions of FGGlobals in and out. All the best, David -- David Megginson [EMAIL PROTECTED] _______________________________________________ Flightgear-devel mailing list [EMAIL PROTECTED] http://mail.flightgear.org/mailman/listinfo/flightgear-devel