Re: [Flightgear-devel] Chasing warnings...

2009-08-25 Thread Tim Moore
Torsten Dreyer wrote: While iterating through the source files, trying to eliminate the warnings, I just found this precious line of code (some more of them in the same file) *((float*)buf[length]) = sg_bswap_32(*(uint32_t*)val); The beauty of pointers - poor Java, C# et al developers.

Re: [Flightgear-devel] Chasing warnings...

2009-08-25 Thread Erik Hofman
Tim Moore wrote: The worst thing about that line is that it is broken :) I can't find anything about it that makes it 'broken', knowing that doubles are 64-bit and floats are 32-bit. It might be a bit better this way though. Erik

Re: [Flightgear-devel] Chasing warnings...

2009-08-25 Thread Anders Gidenstam
On Tue, 25 Aug 2009, Erik Hofman wrote: Tim Moore wrote: The worst thing about that line is that it is broken :) I can't find anything about it that makes it 'broken', knowing that doubles are 64-bit and floats are 32-bit. It might be a bit better this way though. The line:

Re: [Flightgear-devel] Chasing warnings...

2009-08-25 Thread Erik Hofman
Anders Gidenstam wrote: On Tue, 25 Aug 2009, Erik Hofman wrote: Tim Moore wrote: The worst thing about that line is that it is broken :) I can't find anything about it that makes it 'broken', knowing that doubles are 64-bit and floats are 32-bit. It might be a bit better this way

[Flightgear-devel] CVS permissions

2009-08-25 Thread Tim Moore
Hi Curtis, Can you fix the permissions on the flightgear/source/projects/VC90 subdirectory? Also, I suspect that the permissions are wrong on data/Shaders and data/Effects. Perhaps there's a way to configure CVS so that new directories are writable by all? Thanks, Tim

Re: [Flightgear-devel] Compiling CVS FlightGear - is Subversion really necessary?

2009-08-25 Thread Randall Green
Martin, I only want to use FlightGear for the flight dynamics. I intend on sending the X, Y Z, Heading, Pitch and Roll to another computer (with an RS-232 link) that has a new kind of Primary Flight Display with a Tunnel In The Sky that the test subject will see. I will actually have the

Re: [Flightgear-devel] Compiling CVS FlightGear - is Subversion really necessary?

2009-08-25 Thread Nicolas Quijano
It actually (pre) fetches scenery on the fly, based on your position. You don't actually need terrasync to run FGFS, and you can download the scenery by hand if you'd rather. It's very convenient to be able to select a departure airport, hit the prefetch button in fgrun, wait a couple minutes at

[Flightgear-devel] Running FlightGear 1st time - could not find plugins - from osgPlugins?

2009-08-25 Thread Randall Green
I'm getting about 20 errors: Could not find plugin to read objects from file C;/FG/FlightGear/data/Aircraft/c172p/splash.png - etc. Can I set a path to my osgPlugins-2.8.0? How do you do that? I'm using MSVC9. Is it done in MSVC? Also, before that I'm getting: Error #127 [Screen #0]