Nasal for C++ programmers: Difference between revisions

Jump to navigation Jump to search
m
no edit summary
m (http://flightgear.org/forums/viewtopic.php?f=30&t=20857&p=190395#p190395)
mNo edit summary
Line 39: Line 39:


<references/>
<references/>
Historically, FlightGear fgcommands were used before scripting got introduced, which is why there's some overlap between scripting and the legacy fgcommands, meanwhile we've come "full circle" - so that fgcommands can now be implemented in Nasal, and even overridden.


So PropertyList XML is really good at providing data that Nasal can work off of. For like the fox2.nas script, this means that ideally all of the specific data about the missile would be taken from Nasal and stored in an XML file (which would be loaded by the Nasal file and the data would be copied over).
So PropertyList XML is really good at providing data that Nasal can work off of. For like the fox2.nas script, this means that ideally all of the specific data about the missile would be taken from Nasal and stored in an XML file (which would be loaded by the Nasal file and the data would be copied over).

Navigation menu