20,741
edits
m (→Intro) |
m (→Intro) |
||
Line 48: | Line 48: | ||
== Intro == | == Intro == | ||
In FlightGear, the simplest way to add new extension functions is to look at the existing functions at {{flightgear file|src/Scripting/NasalSys.cxx|l= | In FlightGear, the simplest way to add new extension functions is to look at the existing functions at {{flightgear file|src/Scripting/NasalSys.cxx|l=342}}. | ||
There is a static table of function pointers (named funcs[]) referencing extension functions, along with their corresponding names in Nasal: {{flightgear file|src/Scripting/NasalSys.cxx|l= | There is a static table of function pointers (named funcs[]) referencing extension functions, along with their corresponding names in Nasal: {{flightgear file|src/Scripting/NasalSys.cxx|l=774}}. | ||
The following is a copy of the extension function list, taken in 11/2015: | The following is a copy of the extension function list, taken in 11/2015: | ||