Howto:Extend Nasal: Difference between revisions

Jump to navigation Jump to search
m
mNo edit summary
Line 14: Line 14:


= Intro =
= Intro =
The simplest way to add new extension functions is to look at the existing functions in [http://cvs.flightgear.org/viewvc/source/src/Scripting/ $FG_SRC/Scripting]/NasalSys.cxx (src/Scripting/NasalSys.cxx).
In FlightGear, the simplest way to add new extension functions is to look at the existing functions in [http://cvs.flightgear.org/viewvc/source/src/Scripting/ $FG_SRC/Scripting]/NasalSys.cxx (src/Scripting/NasalSys.cxx).


There is a static table of function pointers referencing extension functions, along with their corresponding names in Nasal.  
There is a static table of function pointers referencing extension functions, along with their corresponding names in Nasal.  
2,561

edits

Navigation menu