RE: [Flightgear-devel] enrty and exit points of main loop

2004-01-26 Thread Snyder Adam D Civ AFRL/VACD
To: FlightGear developers discussions Subject: Re: [Flightgear-devel] enrty and exit points of main loop Erik Hofman wrote: I am trying to add some calls to flightgear's main loop in order to set up shared memory and semaphores, and then remove them when FG exits. The easy part

Re: [Flightgear-devel] enrty and exit points of main loop

2004-01-26 Thread Erik Hofman
Snyder Adam D Civ AFRL/VACD wrote: I remember some documentation on the different sockets available through flightgear, but can't seem to find them on the site. Do you know where I can find these? Most of it should be present in: FlightGear/docs-mini/README.IO Erik

Re: [Flightgear-devel] enrty and exit points of main loop

2004-01-23 Thread Curtis L. Olson
Snyder Adam D Civ AFRL/VACD wrote: Not really, I just need to find a way to clean-up when I am finished. Here's one option. If you put all your code inside a class, then you should be able to put your clean up stuff into the class destructor. That should automatically be called when the

Re: [Flightgear-devel] enrty and exit points of main loop

2004-01-23 Thread Bernie Bright
On Fri, 23 Jan 2004 15:39:23 -0500 Snyder Adam D Civ AFRL/VACD [EMAIL PROTECTED] wrote: Hello, I am trying to add some calls to flightgear's main loop in order to set up shared memory and semaphores, and then remove them when FG exits. The easy part is

Re: [Flightgear-devel] enrty and exit points of main loop

2004-01-23 Thread David Megginson
Erik Hofman wrote: I am trying to add some calls to flightgear's main loop in order to set up shared memory and semaphores, and then remove them when FG exits. The easy part is the initialization but I can't find a good spot in the code to do any cleanup, due to the glutMainLoop.