How the Nasal GC works: Difference between revisions

Jump to navigation Jump to search
→‎Status (02/2016): Switched to {{simgear source}} and {{flightgear source}} to remove the dead Gitorious links and point to the current SourceForge sources.
(→‎Status (02/2016): Switched to {{simgear source}} and {{flightgear source}} to remove the dead Gitorious links and point to the current SourceForge sources.)
Line 68: Line 68:
The main Nasal repository (maintained by Andy Ross) can also be found at github: https://github.com/andyross/nasal
The main Nasal repository (maintained by Andy Ross) can also be found at github: https://github.com/andyross/nasal


The latest version in FlightGear is maintained in the SimGear repository which is to be found at gitorious: https://gitorious.org/fg/simgear/trees/next/simgear/nasal
The latest version in FlightGear is maintained in the {{simgear source|path=simgear/nasal|text=SimGear repository}}.


The garbage collector in Nasal is pretty self-contained and entirely implemented in the file [https://gitorious.org/fg/simgear/blobs/next/simgear/nasal/gc.c gc.c].
The garbage collector in Nasal is pretty self-contained and entirely implemented in the file {{simgear source|path=simgear/nasal/gc.c|text=gc.c}}.


{{FGCquote
{{FGCquote
Line 165: Line 165:


{{FGCquote
{{FGCquote
   |The built-in osgviewer stats can be extended with custom stats, that works by subclassing [http://trac.openscenegraph.org/documentation/OpenSceneGraphReferenceDocs/a00804.html osg::StatsHandler], this is already done in [https://gitorious.org/fg/flightgear/source/130f581b18711b63138580d306a39c27b891178c:src/Viewer/FGEventHandler.hxx#L14 $FG_SRC/Viewer/FGEventHandler.?xx]<br/>
   |The built-in osgviewer stats can be extended with custom stats, that works by subclassing [http://trac.openscenegraph.org/documentation/OpenSceneGraphReferenceDocs/a00804.html osg::StatsHandler], this is already done in {{flightgear source|commit=130f581b18711b63138580d306a39c27b891178c|path=src/Viewer/FGEventHandler.hxx|line=14|text=$FG_SRC/Viewer/FGEventHandler.?xx}}<br/>
The class can be  extended to add your own stats via [http://trac.openscenegraph.org/documentation/OpenSceneGraphReferenceDocs/a00804.html#a0472f445cdd72838f107766b2f67a220 osgViewer::StatsHandler::addUserStatsLine()]<br/>
The class can be  extended to add your own stats via [http://trac.openscenegraph.org/documentation/OpenSceneGraphReferenceDocs/a00804.html#a0472f445cdd72838f107766b2f67a220 osgViewer::StatsHandler::addUserStatsLine()]<br/>
<br/>
<br/>

Navigation menu