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
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("
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
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: