]> git.mxchange.org Git - flightgear.git/log
flightgear.git
11 years agoRun the filters for comm/navaids as required.
James Turner [Mon, 1 Oct 2012 12:06:28 +0000 (13:06 +0100)]
Run the filters for comm/navaids as required.

Apparently most filters are only filtering on type - we weren't running the filter body for navaid or comm-station lookups, causing weird ATIS bugs. Ensure that we actually run the filter at the point we have an FGPositioned* result.

11 years agoMake the sound-manager optional in a few places.
James Turner [Mon, 1 Oct 2012 09:10:34 +0000 (10:10 +0100)]
Make the sound-manager optional in a few places.

11 years agoMake FGVoicePlayer.hxx not require sample_openal.hxx
James Turner [Sun, 30 Sep 2012 19:23:13 +0000 (20:23 +0100)]
Make FGVoicePlayer.hxx not require sample_openal.hxx

11 years agoTolerate refactored SGSound headers.
James Turner [Sun, 30 Sep 2012 18:40:08 +0000 (19:40 +0100)]
Tolerate refactored SGSound headers.

An upcoming commit will make the sound headers standalone, and no longer include various other headers / using std:: declarations. Prepare for this by making includes and usage of namespaces explicit.

11 years agoInitial work on dynamic subsystem creation.
James Turner [Sun, 30 Sep 2012 15:34:51 +0000 (16:34 +0100)]
Initial work on dynamic subsystem creation.

Make subsystems create-able and removable from commands. Only some subsystems are supported so far, since many have non-default constructors or other complexities.

With this, change, it's possible to dynamically add and remove the traffic-manager at runtime, for example: fgcommand("add-subsystem", props.Node.new({ "subsystem": "traffic-manager", "name":"traffic-manager", "do-bind-init":1}));

11 years agoSupport a --no-default-config option.
James Turner [Sat, 29 Sep 2012 18:02:03 +0000 (19:02 +0100)]
Support a --no-default-config option.

For (future) easier testing of the sim, support a mode where only explicitly named config / option files are loaded, instead of the default ones. (Including, for example, preferences.xml). This currently produces a non-functional sim, but will soon be more useful :)

No behaviour should change unless you try the new option.

11 years agoCanvas: default fill-rule to evenodd and make it configurable
Thomas Geymayer [Sat, 29 Sep 2012 17:54:31 +0000 (19:54 +0200)]
Canvas: default fill-rule to evenodd and make it configurable

11 years agoMake FGControls behave like normal subsystem.
James Turner [Fri, 28 Sep 2012 14:32:31 +0000 (15:32 +0100)]
Make FGControls behave like normal subsystem.

FGControls create/init/bind order was incorrect, causing initial property tree state to get over-written. Restructure the code so bind() sees correct values.

11 years agoFix finding ATIS CommStation
Thomas Geymayer [Thu, 27 Sep 2012 15:02:39 +0000 (17:02 +0200)]
Fix finding ATIS CommStation

11 years agoTweak init order of controls/input.
James Turner [Thu, 27 Sep 2012 14:33:12 +0000 (15:33 +0100)]
Tweak init order of controls/input.

11 years agoRestore the fdm-init check to splash-screen logic.
James Turner [Thu, 27 Sep 2012 14:15:02 +0000 (15:15 +0100)]
Restore the fdm-init check to splash-screen logic.

Guessing this is the cause of the splash-screen coming down early in some cases. Adding this back to confirm or deny that guess.

11 years agoCanvas: Make path destroying more robust
Thomas Geymayer [Thu, 27 Sep 2012 12:41:00 +0000 (14:41 +0200)]
Canvas: Make path destroying more robust

11 years agoFix some CommStation bugs
Thomas Geymayer [Thu, 27 Sep 2012 10:21:22 +0000 (12:21 +0200)]
Fix some CommStation bugs

 - kHz/mHz conversion needs factor 1000 not 100
 - Correctly read name for CommStations from NavCache
 - Fix parsing CommStation names from apt.dat (Name
   can contain spaces)

11 years ago#793 - invalid data on final FP leg.
James Turner [Thu, 27 Sep 2012 08:27:48 +0000 (09:27 +0100)]
#793 - invalid data on final FP leg.

The Flight-plan leg data computation was omitting certain data for the final waypoint, which in turn made some of the route-manager data bogus when flying the final leg. Fill in some sensible values which we can compute.

11 years agoFix ATIS /environment/attention handling
Thomas Geymayer [Wed, 26 Sep 2012 22:41:23 +0000 (00:41 +0200)]
Fix ATIS /environment/attention handling

Using a tied property works only for one single usage of the
property. In reality FGATIS is normally instantiated four
times (nav/comm/1/2) where only the first instantiation
works correctly. All subsequent instantions fail to tie
and show some error messages.
Also tied properties shouldn't be used anymore.

11 years agoMake the radio interpolation tables static.
James Turner [Wed, 26 Sep 2012 22:10:37 +0000 (23:10 +0100)]
Make the radio interpolation tables static.

No need to read these again for each navradio - and the marker beacon doesn't use them at all.

11 years agoCanvas: On z-index change move element always to last position of elements with same...
Thomas Geymayer [Wed, 26 Sep 2012 21:52:43 +0000 (23:52 +0200)]
Canvas: On z-index change move element always to last position of elements with same z-index

11 years agoPart of bug 885
James Turner [Wed, 26 Sep 2012 21:43:19 +0000 (22:43 +0100)]
Part of bug 885

Allow the route-manager to be explicitly de-activated.

11 years agoClose Sqlite3 database *before* trying to delete the file. Will avoid a segfault...
Frederic Bouvier [Wed, 26 Sep 2012 20:34:48 +0000 (22:34 +0200)]
Close Sqlite3 database *before* trying to delete the file. Will avoid a segfault when the schema is out of date

11 years agoCanvas: Support z-index inside Groups/Maps
Thomas Geymayer [Wed, 26 Sep 2012 15:58:52 +0000 (17:58 +0200)]
Canvas: Support z-index inside Groups/Maps

11 years agoMake HUD items private to the subsystem.
James Turner [Wed, 26 Sep 2012 16:02:11 +0000 (17:02 +0100)]
Make HUD items private to the subsystem.

Make the HUD independent of the instrument manager, and push most of the declarations from the header into a private header.

11 years agoQuieten down autopilot creation log.
James Turner [Wed, 26 Sep 2012 15:25:43 +0000 (16:25 +0100)]
Quieten down autopilot creation log.

11 years agoAll FPU control happens in bootstrap.cxx
James Turner [Wed, 26 Sep 2012 15:25:18 +0000 (16:25 +0100)]
All FPU control happens in bootstrap.cxx

Remove some platform includes which don't belong in main.cxx

11 years agoTolerate the lack of a GUI in some places.
James Turner [Wed, 26 Sep 2012 12:39:38 +0000 (13:39 +0100)]
Tolerate the lack of a GUI in some places.

11 years agoFix string-id for message translation.
James Turner [Wed, 26 Sep 2012 12:38:26 +0000 (13:38 +0100)]
Fix string-id for message translation.

11 years agoRemove dead file.
James Turner [Wed, 26 Sep 2012 12:37:11 +0000 (13:37 +0100)]
Remove dead file.

11 years agoRetrieve property node once instead of using fgGetXXX
Thomas Geymayer [Wed, 26 Sep 2012 10:18:47 +0000 (12:18 +0200)]
Retrieve property node once instead of using fgGetXXX

11 years agoLet fgGetLong actually return long instead of int
Thomas Geymayer [Tue, 25 Sep 2012 21:08:52 +0000 (23:08 +0200)]
Let fgGetLong actually return long instead of int

11 years agoCanvas: Proper fix for OpenVG init handling.
Thomas Geymayer [Tue, 25 Sep 2012 21:06:27 +0000 (23:06 +0200)]
Canvas: Proper fix for OpenVG init handling.

 - Redraw all canvases in the frame OpenVG is initialized.
   Otherwise if multiple canvases are created in the same frame
   only one of them would get correctly updated.

11 years agoMove GUI init code to gui module.
ThorstenB [Tue, 25 Sep 2012 20:39:13 +0000 (22:39 +0200)]
Move GUI init code to gui module.

11 years agoMinor pointer safety and compiler warning issues.
ThorstenB [Tue, 25 Sep 2012 20:09:26 +0000 (22:09 +0200)]
Minor pointer safety and compiler warning issues.

11 years agoCanvas: Redraw if OpenVG has been initialized.
Thomas Geymayer [Tue, 25 Sep 2012 19:34:37 +0000 (21:34 +0200)]
Canvas: Redraw if OpenVG has been initialized.

If OpenVG/ShivaVG is initialized nothing is drawn in the same
frame, therefore we need to draw another frame to ensure all
paths are rendered correctly.

11 years agoUse a helper thread to rebuild the navcache.
James Turner [Tue, 25 Sep 2012 16:24:12 +0000 (17:24 +0100)]
Use a helper thread to rebuild the navcache.

Avoid the application becoming unresponsive during nav-cache rebuilds. We still have to wait for the rebuild, but perform it on a helper thread so the main GUI thread stays responsive and hence doesn't trigger a beach-ball / 'not responding' alert. Also ensures there's some feedback (the spinner) during the rebuild operation, so users don't think we've hung.

11 years agoRestore named JS/input configs (overrides)
James Turner [Tue, 25 Sep 2012 13:20:18 +0000 (14:20 +0100)]
Restore named JS/input configs (overrides)

Thanks to jano for pointing out I'd broken this feature!

11 years agoFix linux build, needs explicit <cstring>
James Turner [Tue, 25 Sep 2012 09:29:32 +0000 (10:29 +0100)]
Fix linux build, needs explicit <cstring>

11 years agoFix a typo.
James Turner [Tue, 25 Sep 2012 09:07:11 +0000 (10:07 +0100)]
Fix a typo.

11 years agoHelpers to access view position.
James Turner [Tue, 25 Sep 2012 09:06:30 +0000 (10:06 +0100)]
Helpers to access view position.

Avoid direct use of FGViewer in various places, by providing property-based accessors to the current view position.

11 years agoMake the view-manager and sound-manager independent.
James Turner [Tue, 25 Sep 2012 08:17:00 +0000 (09:17 +0100)]
Make the view-manager and sound-manager independent.

Use properties to pass current-view information to the sound-manager, so there is no hard-coded dependency between the subsystems.

11 years agoWhoops, parking refactoring changed the positioned types.
James Turner [Tue, 25 Sep 2012 08:15:36 +0000 (09:15 +0100)]
Whoops, parking refactoring changed the positioned types.

Force a nav-cache rebuild to accommodate the renumbered types.

11 years agoMake FGControls behave like a standard subsystem.
James Turner [Mon, 24 Sep 2012 23:48:48 +0000 (00:48 +0100)]
Make FGControls behave like a standard subsystem.

11 years agoMake FGTaxiNode and FGParking inherit FGPositioned.
James Turner [Mon, 24 Sep 2012 23:31:17 +0000 (00:31 +0100)]
Make FGTaxiNode and FGParking inherit FGPositioned.

In preparation for caching the groundnet in the NavCache, make taxi-nodes and parkings inherit from FGPositioned. As part of this, make them heap (as opposed to value) classes, disable their copy-constructors, remove many mutating operations, and give them real constructors.

11 years agoMinor tile manager clean-up.
ThorstenB [Mon, 24 Sep 2012 21:42:25 +0000 (23:42 +0200)]
Minor tile manager clean-up.
The tilemgr schedules scenery, so it should also trigger the
"sceneryloaded" signals once it's done.

11 years agostd namespace fixes in headers.
James Turner [Mon, 24 Sep 2012 07:39:30 +0000 (08:39 +0100)]
std namespace fixes in headers.

11 years agoDefer SGEphemeris creation until ::init()
James Turner [Sun, 23 Sep 2012 23:37:46 +0000 (00:37 +0100)]
Defer SGEphemeris creation until ::init()

Trying to make subsystem *creation* cheap - major work such as IO should be deferred until init() where possible.

11 years agoParking: another segfault edge-case.
James Turner [Sun, 23 Sep 2012 23:36:47 +0000 (00:36 +0100)]
Parking: another segfault edge-case.

Again, when there's no parking/ground-net, tolerate this.

11 years agoAdapt to revised SGTime API
James Turner [Sun, 23 Sep 2012 23:03:23 +0000 (00:03 +0100)]
Adapt to revised SGTime API

Convert SGTime users to pass SGGeod/SGPath instead of raw values.

11 years agoAvoid a segfault-on-null
James Turner [Sun, 23 Sep 2012 22:07:00 +0000 (23:07 +0100)]
Avoid a segfault-on-null

This code is called both when there's no ground-net, but also when there's no parking data at all.

11 years agoClean up dynamics/parking handing code.
James Turner [Sun, 23 Sep 2012 20:42:40 +0000 (21:42 +0100)]
Clean up dynamics/parking handing code.

Refactor some parking / airport-dynamics APIs, in preparation for caching the ground cache data in the nav-cache.

11 years agoCommands to bind metar to the property tree.
James Turner [Sun, 23 Sep 2012 15:55:29 +0000 (16:55 +0100)]
Commands to bind metar to the property tree.

New commands request-metar and clear-metar will bind metar reports to an arbitrary property tree path. E.g:

fgcommand("request-metar", var n = props.Node.new({ "path": "/foo/mymetar", "station":"LOWI"}));

11 years agoCanvas: Fix detection if something has changed
Thomas Geymayer [Sun, 23 Sep 2012 15:30:20 +0000 (17:30 +0200)]
Canvas: Fix detection if something has changed

 - Reset dirty flag for redrawing canvas properly after
   rendering has complted.
 - Update path properly if path elements have been removed.

11 years agoFix compilation with enabled EVENT_INPUT
ThorstenB [Sat, 22 Sep 2012 12:20:49 +0000 (14:20 +0200)]
Fix compilation with enabled EVENT_INPUT
Need to move the definition to the toplevel cmake file, since sources
are no longer compiled on directory level (individual libs per dir).

11 years agoFix NavDisplay segfault
ThorstenB [Sat, 22 Sep 2012 12:00:05 +0000 (14:00 +0200)]
Fix NavDisplay segfault
When "addSymbolInstance" returns NULL, we cannot update "ins->endPos".

11 years agoFix shared library build with sqlite
ThorstenB [Fri, 21 Sep 2012 20:32:07 +0000 (22:32 +0200)]
Fix shared library build with sqlite
Dependency to threading lib is required (It is already provided for
static SimGear).

11 years agoCanvas: Support for pseudo non-zero fillrule
Thomas Geymayer [Fri, 21 Sep 2012 20:03:44 +0000 (22:03 +0200)]
Canvas: Support for pseudo non-zero fillrule

11 years agoCanvas: Performance improvements.
Thomas Geymayer [Fri, 21 Sep 2012 19:20:35 +0000 (21:20 +0200)]
Canvas: Performance improvements.

 - Only render the canvas if something has actually changed
   (Currently checked by looking for modified properties).
 - Only write bounding box to property tree if it has been
   recalculated (until now this happened every frame).

11 years agosplash screen: use language resource for translation
ThorstenB [Fri, 21 Sep 2012 17:36:25 +0000 (19:36 +0200)]
splash screen: use language resource for translation
Also pimp the progress spinner.

11 years agoImprove readability.
ThorstenB [Fri, 21 Sep 2012 14:44:16 +0000 (16:44 +0200)]
Improve readability.

11 years agogyro heading indicator: realism when spin is low
ThorstenB [Fri, 21 Sep 2012 13:59:04 +0000 (15:59 +0200)]
gyro heading indicator: realism when spin is low
Low spin or switched off gyros result in the indicator being stuck.
When the gyros are repowered, the indication doesn't jump to the correct
indication, but keeps the current error.

11 years agoAvoid compiler warning.
ThorstenB [Fri, 21 Sep 2012 13:36:52 +0000 (15:36 +0200)]
Avoid compiler warning.

11 years agoSound Manager: support subsystem reinit
ThorstenB [Fri, 21 Sep 2012 13:32:31 +0000 (15:32 +0200)]
Sound Manager: support subsystem reinit
instead of using property listener.
Also moved run-time init to standard init phase.

11 years agoAvoid AL warning messages when using "--show-sound-devices".
ThorstenB [Fri, 21 Sep 2012 11:26:33 +0000 (13:26 +0200)]
Avoid AL warning messages when using "--show-sound-devices".

11 years agoFGProps: improve error messages
ThorstenB [Fri, 21 Sep 2012 11:26:05 +0000 (13:26 +0200)]
FGProps: improve error messages
Lowlevel "simgear:NetChannel" only returns status infos, but doesn't
output log messages itself.

11 years agoFix a stupid logic bug when re-ordering waypoints.
James Turner [Fri, 21 Sep 2012 11:47:51 +0000 (12:47 +0100)]
Fix a stupid logic bug when re-ordering waypoints.

http://code.google.com/p/flightgear-bugs/issues/detail?id=870

11 years agoLinux needs explicit <cstring> include.
James Turner [Fri, 21 Sep 2012 10:34:28 +0000 (11:34 +0100)]
Linux needs explicit <cstring> include.

11 years agoCached joystick config loading.
James Turner [Fri, 21 Sep 2012 09:17:16 +0000 (10:17 +0100)]
Cached joystick config loading.

Avoid parsing all the joystick configs every launch.

11 years agoLazy GUI dialog loading, for slightly faster startup.
James Turner [Fri, 21 Sep 2012 09:16:44 +0000 (10:16 +0100)]
Lazy GUI dialog loading, for slightly faster startup.

11 years agoCanvas: Change default fill-rule to nonzero
Thomas Geymayer [Thu, 20 Sep 2012 22:42:21 +0000 (00:42 +0200)]
Canvas: Change default fill-rule to nonzero

11 years agoSimplify code for taxiways.
Stuart Buchanan [Thu, 20 Sep 2012 20:53:31 +0000 (21:53 +0100)]
Simplify code for taxiways.

11 years agoExpose surface types and taxiways via the airportinfo() Nasal call.
Stuart Buchanan [Wed, 19 Sep 2012 21:33:43 +0000 (22:33 +0100)]
Expose surface types and taxiways via the airportinfo() Nasal call.

11 years agoAllow instruments/systems to reset on sim reset
ThorstenB [Wed, 19 Sep 2012 18:57:52 +0000 (20:57 +0200)]
Allow instruments/systems to reset on sim reset
so they can instantly adjust to the changed environment.
(Not fully working yet, since some environment settings, like environemnt
pressure/temperature, still changes slowly after a sim reset - instead of
immediately jumping to the new setting. Also, METAR sometimes arrives too
late...).

11 years agoAdjust subsystem order (instruments vs systems)
ThorstenB [Wed, 19 Sep 2012 18:53:54 +0000 (20:53 +0200)]
Adjust subsystem order (instruments vs systems)
"instruments" depend on "systems" (pitot/static pressure etc), so
"systems" should be there first.

11 years agoMinor renaming issue.
ThorstenB [Wed, 19 Sep 2012 18:52:36 +0000 (20:52 +0200)]
Minor renaming issue.

11 years agoExpose the route-path of leg to Nasal.
James Turner [Wed, 19 Sep 2012 17:40:34 +0000 (18:40 +0100)]
Expose the route-path of leg to Nasal.

In advance of converting the Map and NavDisplay to use the canvas, expose the full route-path vector for each flight plan leg, as a vector on the leg. Use leg.path() to get this.

E.g.:

var fp = flightplan();
for (var i=0; i<fp.getPlanSize(); i += 1)
{
  var leg = fp.getWP(i);
  debug.dump(leg.path());
}

11 years agoKill off some globals.
James Turner [Wed, 19 Sep 2012 17:17:44 +0000 (18:17 +0100)]
Kill off some globals.

Break some subsystem dependencies, by explicitly using properties to read the primary position, orientation and velocities. (Instead of directly accessing the primary model placement). This means a couple more globals can die.

11 years agoSupport string-list properties in the cache.
James Turner [Wed, 19 Sep 2012 17:15:49 +0000 (18:15 +0100)]
Support string-list properties in the cache.

Not used yet, but will aid in caching joystick and dialog configs.

11 years agoWhoops, some code got re-introduced.
James Turner [Wed, 19 Sep 2012 14:56:23 +0000 (15:56 +0100)]
Whoops, some code got re-introduced.

Merging/rebase the navcache re-added this code to fg_init.cxx, remove it again.

11 years agoFix a Clang warning in Shiva.
James Turner [Wed, 19 Sep 2012 14:55:49 +0000 (15:55 +0100)]
Fix a Clang warning in Shiva.

11 years agoAllow use of the system's SQLite3 library.
James Turner [Wed, 19 Sep 2012 13:28:25 +0000 (14:28 +0100)]
Allow use of the system's SQLite3 library.

Keep distro packagers happy by having the option to use the system's sqlite library instead of our bundled version. Set SYSTEM_SQLITE=1 when running cmake to use the system one.

11 years agoImplement a persistent cache for navigation data.
James Turner [Mon, 27 Aug 2012 23:26:36 +0000 (00:26 +0100)]
Implement a persistent cache for navigation data.

Cache the parsed navigation and airport data in a binary file to reduce
startup times and memory consumption (since only referenced FGPositioned
elements are held in memory).

Data will be reimported when the mod-time of any input file is changed.
If a global file is changed (nav.dat, awy.dat, apt.dat, etc), the cache
will be completely rebuilt, which takes approximately 30 seconds on
moderate hardware. (Future work may reduce this).

11 years agoFix classes derived from SubsystemGroup.
James Turner [Wed, 19 Sep 2012 10:37:19 +0000 (11:37 +0100)]
Fix classes derived from SubsystemGroup.

Various classes derive from SubsystemGroup, but extend the init behaviour. Fix those for the incremental init scheme, generally by forcing their init to be atomic. Can convert them to be truly incremental in the future if it's needed, but probably not.

11 years agoCanvas: Don't crash on removing child hierarchie from map
Thomas Geymayer [Tue, 18 Sep 2012 21:21:50 +0000 (23:21 +0200)]
Canvas: Don't crash on removing child hierarchie from map

Currently if a SGPropertyNode is removed from the property tree
only for this single node a childRemoved event is triggered. So
if we just check for a specific child to be removed, we will never
be notified. This commit manually triggers the event recursively
for all children but this should probably go directly into simgear.

11 years agoSink position-init code into its own file.
James Turner [Tue, 18 Sep 2012 19:50:28 +0000 (20:50 +0100)]
Sink position-init code into its own file.

Separate other init functions from position init, since they are unrelated, and made fg_init.cxx very complex. Next step will be brining some sanity to the position init logic :)

11 years agoMake subsystem init incremental.
James Turner [Tue, 18 Sep 2012 19:29:36 +0000 (20:29 +0100)]
Make subsystem init incremental.

(Requires latest SimGear!)

Break fgInitSubsystems into several phases - subsystem creation, then binding and then init. Run init over multiple main-loop iterations so the application stays responsive to GUI/OS events during init.

There should be no behaviour changes due to this, except that during init Windows and OS-X should no longer show the beach ball / 'application not responding feedback', hopefully.

11 years agoExpose the shader language version, to help diagnostics.
Stuart Buchanan [Tue, 18 Sep 2012 14:48:06 +0000 (15:48 +0100)]
Expose the shader language version, to help diagnostics.

11 years agoAvoid an 'overloaded-virtual' warning.
James Turner [Mon, 17 Sep 2012 23:59:36 +0000 (00:59 +0100)]
Avoid an 'overloaded-virtual' warning.

Clang reports an overloaded-virtual in FGGeneric (and it's correct). Rename the overload to avoid both the warning and confusion.

11 years agoMake magavr a regular subsystem.
James Turner [Mon, 17 Sep 2012 23:58:27 +0000 (00:58 +0100)]
Make magavr a regular subsystem.

Remove various hacks and make magvar work like a normal subsystem, as part of the environment manager. Fix the remaining users of the globals->get_mag accessor, and hence kill off the global pointer.

11 years agoCanvas: Use seperate projection instance for each map
Thomas Geymayer [Mon, 17 Sep 2012 22:29:54 +0000 (00:29 +0200)]
Canvas: Use seperate projection instance for each map

11 years agoMinor main loop/init clean-up
ThorstenB [Mon, 17 Sep 2012 11:41:42 +0000 (13:41 +0200)]
Minor main loop/init clean-up

11 years agoAvoid compiler warnings.
ThorstenB [Mon, 17 Sep 2012 11:38:00 +0000 (13:38 +0200)]
Avoid compiler warnings.

11 years agoHandle scenery-override in a single place only.
ThorstenB [Mon, 17 Sep 2012 11:37:36 +0000 (13:37 +0200)]
Handle scenery-override in a single place only.

11 years agoCreate FGSoundManager as a wrapper for SGSoundMgr_OpenAl
ThorstenB [Mon, 17 Sep 2012 11:36:38 +0000 (13:36 +0200)]
Create FGSoundManager as a wrapper for SGSoundMgr_OpenAl
and sink all sound related code from main.cxx in there.

11 years agoPrepare and implement reinit methods for instruments
ThorstenB [Sun, 16 Sep 2012 22:12:29 +0000 (00:12 +0200)]
Prepare and implement reinit methods for instruments
to clear error conditions, drifts, offsets etc

11 years agocmake: Make rti/hla compile again.
Mathias Froehlich [Sun, 16 Sep 2012 19:14:59 +0000 (21:14 +0200)]
cmake: Make rti/hla compile again.

11 years agoSort fgfs source files in IDE folders
Frederic Bouvier [Sun, 16 Sep 2012 17:26:12 +0000 (19:26 +0200)]
Sort fgfs source files in IDE folders

11 years agoFix case-sensitivity typo
James Turner [Fri, 14 Sep 2012 16:21:51 +0000 (17:21 +0100)]
Fix case-sensitivity typo

11 years agoUpdate FindSimGear for simplified lib names.
James Turner [Sun, 16 Sep 2012 15:07:53 +0000 (16:07 +0100)]
Update FindSimGear for simplified lib names.

11 years agoCorrect ATIS pressure phraseology
ThorstenB [Sun, 16 Sep 2012 12:21:11 +0000 (14:21 +0200)]
Correct ATIS pressure phraseology
Unit is spoken for all values <1000hPa (to avoid confusion with inHg).
Unit is not spoken for values >=1000hPa (but don't drop highest digit).
(And we should replace "millibars" with "hectopascal" - we're missing the
necessary voice sample though.)

11 years agoproperty-interpolate: support using rate instead of time.
Thomas Geymayer [Thu, 6 Sep 2012 12:05:57 +0000 (14:05 +0200)]
property-interpolate: support using rate instead of time.

 - property-interpolate now supports specifying the
   interpolation time by passing rate instead of the actual time,
   similar to max-rate-of-change in the noise-spike filter.

11 years agoMinor error message improvement.
ThorstenB [Tue, 4 Sep 2012 22:00:25 +0000 (00:00 +0200)]
Minor error message improvement.

11 years ago#858: Fix loading issue with aircraft models in "--fg-aircraft" directories
ThorstenB [Tue, 4 Sep 2012 21:57:25 +0000 (23:57 +0200)]
#858: Fix loading issue with aircraft models in "--fg-aircraft" directories
Something after FG 2.8.0 has broken loading aircraft models from
--fg-aircraft directories. Issue is fixed by resolving the aircraft path
in FGAircraftModel (though this module itself hasn't changed and things
were working before...).