2,561
edits
mNo edit summary |
mNo edit summary |
||
Line 3: | Line 3: | ||
This article is dedicated to describing how to write custom C/C++ extension functions in order to extend the Nasal interpreter in FlightGear, for example in order to expose new FlightGear APIs to Nasal, so that scripts can access more FlightGear internals. | This article is dedicated to describing how to write custom C/C++ extension functions in order to extend the Nasal interpreter in FlightGear, for example in order to expose new FlightGear APIs to Nasal, so that scripts can access more FlightGear internals. | ||
In order to work through this article, you will likely need to be interested in FlightGear core development, need to be somewhat familiar with C/C++, as well as with some basic Nasal. | In order to work through this article, you will likely need to be interested in FlightGear core development, need to be somewhat familiar with C/C++, as well as with some basic Nasal (given that Nasal itself is implemented in ANSI C, basic C knowledge will mostly do for starters-C++ knowledge will only be required in order to understand the FlightGear side of things). | ||
Also, you should have experience compiling FlightGear (see [[Building FlightGear]] for Linux instructions or [[Building Flightgear - Windows]] for Windows specific instructions). | Also, you should have experience compiling FlightGear (see [[Building FlightGear]] for Linux instructions or [[Building Flightgear - Windows]] for Windows specific instructions). |
edits