Frederic Bouvier wrote:
Paul Surgeon a écrit :

What is the status of fgLoadAircraft in aircraft.cxx?
Was it ever actually used and if so what was it's functional state?

At the moment it's just dead code - it's not called from anywhere.



As far as I understand the source, it is bound to the "load-aircraft" command. So I guess that it is intended to be called from an xml file, presumably a menu or a dialog. Maybe Erik can elaborate because CVS annotate reports his name in front of the function :
http://cvs.flightgear.org/cgi-bin/viewcvs/viewcvs.cgi/source/src/Aircraft/aircraft.cxx?annotate=1.12&cvsroot=FlightGear-0.9



The comment of rev 1.2 is : "A first stab at an aircraft selection dialog"

I couldn't figure out the proper initialization order after loading of the aircraft. I never looked at it again after that.


Erik

_______________________________________________
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel
2f585eeea02e2c79d7b1d8c4963bae2d

Reply via email to