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

Jump to navigation Jump to search
m
No edit summary
Line 42: Line 42:
|  1. || Main/bootstrap.cxx || int main(int argc, int char **argv )
|  1. || Main/bootstrap.cxx || int main(int argc, int char **argv )
|  
|  
main contains the initial entry point and final exit.  It initializes things that have to be done early on and decides if we're starting the full application or just a viewer, then calls fgviewerMain(argc, argv) or fgMainInit(argc, argv).  We'll skip the viewer and focus on fgMainInit.   
main() is the first of four stages of initialization in Flightgear.  The first stage ends when main() calls fgMainInit(argc, argv)
 
main contains the initial entry point and final exit point for the Flightgear application.  It initializes things that have to be done early on and decides if we're starting the full application or just a viewer, then calls fgviewerMain(argc, argv) or fgMainInit(argc, argv).  We'll skip the viewer and focus on fgMainInit.   


main() is the first of four stages of initialization in Flightgear.  The first stage ends when main() calls fgMainInit(argc, argv)
|-  
|-  
| 2. || Main/main.cxx || int fgMainInit( int argc, char **argv )  
| 2. || Main/main.cxx || int fgMainInit( int argc, char **argv )  
936

edits

Navigation menu