Frederic Bouvier said:

> Erik Hofman wrote:
> 
> > Update of /var/cvs/FlightGear-0.9/FlightGear/src/Main
> > In directory baron:/tmp/cvs-serv28544/src/Main
> >
> > Modified Files:
> > fg_init.cxx main.cxx
> > Log Message:
> > Jim Wilson: This patch prevents FDM execution until intial scenery load
> completes making
> > midair starts in the KSFO area possible again.
> >
> [...]
> 
> > !     if ( global_multi_loop > 0) {
> > !         // first run the flight model each frame until it is intialized
> > !         // then continue running each frame only after initial scenery
> load is complete.
> > !         if (!cur_fdm_state->get_inited() or
> fgGetBool("sim/sceneryloaded")) {
> 
>                                              ^^
> Are we silently migrating the code to Pascal ?
> This doesn't compile with MSVC.
> 
> > ***************
> > *** 1331,1334 ****
> > --- 1340,1350 ----
> >       // END Tile Manager udpates
> >
> > +     if (!fgGetBool("sim/sceneryloaded") and
> globals->get_tile_mgr()->all_queues_empty() and cur_fdm_state->get_inited())
> {
>                                             ^^^
> ^^^
> Same here.

That's a head scratcher.  Never would have thought that would compile like
that.  Learn something new everyday.  Most of my day job work has been in java
lately...which certainly doesn't allow such englishisms :-)

The only time I ever did any Pascal programming was back in the eighties, for
a this guy I knew with a chain of video stores.  He bought some program from a
company that went under and need something fixed.

Sorry about that :-)

Best,

Jim


_______________________________________________
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel

Reply via email to