James Turner wrote:

> Ah, what I was really hoping to do, was to break the dependency on the  
> FGViewer, and globals->get_aircraft_model(), by getting the equivalent  
> position and orientation from the property tree. I haven't checked how  
> straightforward that is, but having the sound code so intimately  
> hooked up to the view code like this isn't ideal.

I did understand that but I have to look better to see if that is indeed 
a better solution, C++ structures still do have their use once in a 
while and properties aren't always the best solution when dealing with 
settings in the program itself.

But .. it might well be in this case.

Anyhow, cleaning up the main loop was the first priority for me.

Erik

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Flightgear-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

Reply via email to