ehofman [Sat, 24 Oct 2009 08:31:37 +0000 (08:31 +0000)]
Don't make the SoundManager a memebr of the subsystem manager; It needs to be initialized very early and destroyed as late as possible. That doesn't work as a subsystem meber onless some sort of priority scheme gets implemented. Get rid of auto_ptr which doesn work for the samples either.
torsten [Wed, 21 Oct 2009 20:20:03 +0000 (20:20 +0000)]
This is one leftover from Tat's patch from 2009-09-16:
I believe these patches are really important for Mac users since they don't have to wait for my updating xcode project files.
these also saves up to 50% of build time since most of users don't have to make universal binaries.
daveluff [Sat, 17 Oct 2009 13:04:21 +0000 (13:04 +0000)]
My non-precision approach model had been one or more IAFs and then a common core approach from the IF. In fact, there can be one or more initial approach routes from the IAFs to the IF, then the core approach. Replace the IAFs with initial approach routes. NOTE it is assumed in the code that there is a unique IAF per initial approach route.
daveluff [Sat, 17 Oct 2009 11:48:17 +0000 (11:48 +0000)]
Change one of the default flight plans to something more convenient for development. These will eventually all be removed from the code and read from preferences anyway.
jmt [Thu, 15 Oct 2009 21:30:10 +0000 (21:30 +0000)]
Further GPS and route manager behavioural fixes
* When the nav-radio is slaved, calculated radial/target-hdg-deg
(needed by some autopilot logic)
* Handle editing (including deletion) of route waypoints correctly,
including deleting the active waypoint
* Add a signal to the route manager when the last wpt is reached, and
use it in the GPS to revert to OBS mode.
* Change the altitude handling to use the specified cruise altitude
* Fix a bug where autopilot/locks/altitude was treated as a boolean
jmt [Wed, 14 Oct 2009 06:50:06 +0000 (06:50 +0000)]
Route-manager: remove any interaction with the autopilot, or internal sequencing; assume the GPS always handles this (it should, now). Also fix waypoint altitude handling, which was broken. If not altitude is supplied for a waypoint, default to the requested cruise altitude.
ehofman [Sun, 11 Oct 2009 13:40:12 +0000 (13:40 +0000)]
Correct (and verrified) position, orientation and velocity vector. Todo: proper sound orientation (the all face forward using the airplane orientation now) and disabling doppler effect when tied to the listener
jmt [Sun, 11 Oct 2009 21:29:24 +0000 (21:29 +0000)]
Fix unrealistic-but-convenient direct-drive from the route-manager to the autopilot code. A new boolean config prop, 'drive-autopilot' exists, to disable this behaviour.
ehofman [Wed, 7 Oct 2009 20:56:24 +0000 (20:56 +0000)]
Split up FGFX into a dedicated effects class (FGFX) and a sample queue class. Register the sample queue cass as 'queue' at the SoundManager and tie it to the listener position.
jmt [Mon, 5 Oct 2009 21:09:20 +0000 (21:09 +0000)]
Land the GPS/route-manager re-write. Many things are better, many other things will be better, some things are no doubt broken. Please be patient and report problems on the mailing list.
ehofman [Mon, 5 Oct 2009 13:47:03 +0000 (13:47 +0000)]
allow disabling sound completely (note: openal gets initialized but shuts down a bit later leaving the soundmanager to handle only very specific commands). At this time by specifying '--prop:/sim/sound/enabled=false', not sure why '--disable-sound' doesn't work properly
ehofman [Mon, 5 Oct 2009 09:12:50 +0000 (09:12 +0000)]
Add the Sound Manager before any other subsystem that uses it. This makes sure the SoundMgr is available at construction time which makes the code much cleaner. Call the update_last() after any other class