User:Callahanp/Flightgear and Simgear Code/From Command Line to Holding Short: Difference between revisions

Jump to navigation Jump to search
m
mNo edit summary
Line 33: Line 33:
==src/Main/bootstrap.cxx==
==src/Main/bootstrap.cxx==
===int main ( int argc, char **argv )===
===int main ( int argc, char **argv )===
The main purpose of Bootstrap.cxx is to differentiate two distinct ways of starting flightgear as a standalone [[http://wiki.flightgear.org/FGViewer |Viewer]], or as the full flight simulator. bootstrap.cxx also provides a home for globals.   
The main purpose of Bootstrap.cxx is to differentiate two distinct ways of starting flightgear: as a standalone [[http://wiki.flightgear.org/FGViewer |Viewer]], or as the full flight simulator. bootstrap.cxx also provides a home for globals.   
 
We will follow the full flight simulator path which takes us directly into fgMainInit.


We will follow the full flight simulator path which takes us directly into fgMainInit.
==src/Main/main.cxx & main.hxx==
==src/Main/main.cxx & main.hxx==
===fgMainInit( int argc, char **argv )===
===fgMainInit( int argc, char **argv )===
936

edits

Navigation menu