Re: [Flightgear-devel] how to determine when flightgear hasfullyinitialized

2004-05-05 Thread Andy Ross
Giles Robertson wrote: > From main.cxx: > > if ( idle_state == 1000 ) { > // We've finished all our initialization steps, from now on we > // run the main loop. > fgRegisterIdleHandler(fgMainLoop); > > idle_state appears to be declared globally, so you should be able to > te

Re: [Flightgear-devel] how to determine when flightgear hasfullyinitialized

2004-05-05 Thread Erik Hofman
Giles Robertson wrote: Then just add this: fgsetbool("sim/initialised",true); at line 1436 of main.cxx so the function reads like this: if ( idle_state == 1000 ) { // We've finished all our initialization steps, from now on we // run the main loop. fgsetbool("

RE: [Flightgear-devel] how to determine when flightgear hasfullyinitialized

2004-05-05 Thread Giles Robertson
ems so trivial.   Giles Robertson   > -Original Message- > From: Erik Hofman [mailto:[EMAIL PROTECTED] > Sent: 05 May 2004 08:05 > To: FlightGear developers discussions > Subject: Re: [Flightgear-devel] how to determine when flightgear > hasfullyinitialized > > Seamus Thomas

RE: [Flightgear-devel] how to determine when flightgear hasfullyinitialized

2004-05-05 Thread Giles Robertson
From main.cxx: if ( idle_state == 1000 ) {     // We've finished all our initialization steps, from now on we     // run the main loop.       fgRegisterIdleHandler(fgMainLoop);   idle_state appears to be declared globally, so you should be able to test straight for that: