On Saturday 01 July 2006 13:21, Durk Talsma wrote:
> Considering that this function is called Init, I believe that the statement
> on line 1413 is wrong. An init function should not carry over existing
> values or the very variable it is supposed to initialize. Therefore, I'm
> inclined to remove that part. However, I just want to double check whether
> there is a compelling reason to keep this in the code. Is there another
> function that can already set warp before time is initialized?
>

It turns out the problem was a bit more complicated, but I found a way to make 
the time options work again. I just checked in my modifications. Just a few 
remarks:  1 the computation of either cur_time or currGMT can be removed from 
the fgInitTimeOffset()  function (Main/fg_init.cxx lines 1415/1416) , because 
both variables have the same value anyways. I'll check into that later.

I also noted that the offset types "latitude" and "latitude-offset" should be 
named "longitude" and "longitude-offset" respectively, because it's mainly
the longitude and not the latitude that drives the time offset.

Cheers,
Durk



-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

Reply via email to