Hi fellow wiki editors!

To help newly registered users get more familiar with the wiki (and maybe older users too) there is now a {{Welcome to the wiki}} template. Have a look at it and feel free to add it to new users discussion pages (and perhaps your own).

I have tried to keep the template short, but meaningful. /Johan G


Jump to: navigation, search

Howto:Extend Nasal

87 bytes added, 17:13, 16 April 2012
= Intro =
In FlightGear, the simplest way to add new extension functions is to look at the existing functions in [http://gitorious.org/fg/flightgear/blobs/next/src/Scripting/NasalSys.cxx #line482 $FG_SRC/Scripting]/NasalSys.cxx ](src/Scripting/NasalSys.cxx).
There is a static table of function pointers (named funcs[]) referencing extension functions, along with their corresponding names in Nasal: http://gitorious. org/fg/flightgear/blobs/next/src/Scripting/NasalSys.cxx#line482
The following is a copy of the extension function list, taken in 05/2009:

Navigation menu