1
0
Fork 0
Commit graph

8451 commits

Author SHA1 Message Date
jmt
d784810430 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. 2009-10-06 10:44:01 +02:00
ehofman
b64259b295 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 2009-10-06 10:23:15 +02:00
ehofman
446b200edc 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 2009-10-06 10:23:03 +02:00
ehofman
86f462933d Initial commit of the new sound system, expect more updates to follow 2009-10-06 10:22:09 +02:00
Tim Moore
5f134cdec8 Merge branch 'topic/atis' into merge/master-atis 2009-10-06 10:21:19 +02:00
jmt
2d5924939e Extend FGPositioned API to support queries by name as well as ident. 2009-10-06 07:29:03 +02:00
jmt
5c2dbb4239 Extender iterative search APIs with a 'has-next' return arg, to enable better iteration UI. 2009-10-06 07:28:38 +02:00
durk
b40321380d New feature: Allow the loading of shared models that are not located inside
the base package, but are maintained in the SVN repository of the custom
scenery project.
2009-10-06 07:27:39 +02:00
jmt
90106c59ce Dialog support for conditional enable and visible flags, and re-running layout when conditions change. Used by the GPS code, but potentially in many other places I expect. 2009-10-04 02:06:48 +02:00
jmt
26cd4f92c5 Fix another crash in the autobrake code, with 'aircraft' (eg, ATC) with no weight-on-wheels flag. Thanks to Jacob Burbach for the report. 2009-10-04 02:05:51 +02:00
durk
47a7952f89 Stuart Buchanan:
Improvements to the cloudsystem:
        - A new xml format
        - Texture indexing based on the position of the sprite in the cloud
          mass, allowing more control over the texture set.
        - Improved fog and shading
        - Better sprite distribution
        - A more natural distribution of clouds, so no more obvious grids.
2009-10-04 02:05:08 +02:00
jmt
c08cc9693e Bugfix use of type checks in FGPositioned::findAllWithIdentSortedByRange 2009-10-04 02:04:18 +02:00
torsten
26859ad4b9 Non platform specific:
- normalize axes events
- handle relative and absolute axes separately in own classes
- ignore tolerance for relative axes, they can fire the same event multiple times which must not be ignored.
2009-10-04 02:02:47 +02:00
Tim Moore
4023bdaf26 Merge branch 'jmt/navradio'
The previous merge claimed to have merged this branch; it didn't because
I had reset the branch to someplace weird.
2009-10-01 23:50:21 +02:00
Tim Moore
8b10bb12f5 Merge branches 'jmt/navradio', 'jmt/cleanup' and 'torsten/gps-fix' 2009-10-01 15:17:24 +02:00
curt
28b847da09 Smooth out the time-to-intercept radial computation so it's a bit more useful. 2009-10-01 00:16:30 +02:00
Tim Moore
9ebd19babf Use boost::to_lower_copy instead of function from simgear
The simgear function is about to get removed.
2009-10-01 00:15:37 +02:00
jmt
4ec0d64c50 Allow airports system to function without an environment manager - useful in some tests I'm writing. 2009-09-30 08:14:39 +02:00
jmt
e1555ba9a5 Positioned support for adding user waypoints. 2009-09-30 08:13:09 +02:00
Tim Moore
d59088dc1a Try to improve frame rate and reduce jitter
Signed-off-by: v meazza <vivian.meazza@lineone.net>

Conflicts:

	src/AIModel/AIGroundVehicle.cxx
2009-09-30 08:08:09 +02:00
jmt
5755b7ae0e Further extensions to FGPositioned to support ongoing GPS work. 2009-09-29 00:01:56 +02:00
jmt
04b30f322d Extend FGPositioned to allow mapping from a string to a type. 2009-09-29 00:01:47 +02:00
daveluff
57d5e18074 Remove the GPSPage base class, that only KLN89Page was derived from. 2009-09-28 23:56:23 +02:00
jmt
739196c912 Refactor the XMLAuto parsing code to no longer warn about every node handled by the base class (FGXMLAutoComponent). As a side effect, issue better warnings when an unrecognised node is encountered. 2009-09-23 23:11:07 +02:00
Tim Moore
13ff5da4be Merge branch 'jmt/reciprocal' 2009-09-23 07:44:02 +02:00
torsten
eb8dd47971 Alex Buzin: Fix wrong calculation of temperature and dewpoint 2009-09-22 22:51:46 +02:00
jmt
4ccef76fc4 Auto-brake enhancements: support for JSBSim aircraft, Airbus-style combined MAX/RTO modes, correct disengage behaviour and more disengage conditions. 2009-09-22 22:51:29 +02:00
torsten
27d68533d7 Catch a possible NAN at insanely low but greater than zero speeds 2009-09-22 22:48:14 +02:00
Tim Moore
d3f0b13a38 Update MSVC project files for the autobrake files 2009-09-21 23:06:43 +02:00
jmt
289023da1d Don't crash with UFO FDM, etc, or other FDMs that don't define global props needed - just go into passive mode. 2009-09-21 22:51:40 +02:00
jmt
263ff7d93d Don't look for /velocities/groundspeed-kts during initialisation. 2009-09-21 22:51:40 +02:00
jmt
4d67c69462 A generic, configurable autobrake system. Not fully features yet, but works quite nicely in the 777, including RTO modes and auto-disengage on pilot input. 2009-09-21 22:51:40 +02:00
torsten
3714a0ef51 Fix the temperature computation. 2009-09-20 22:51:36 +02:00
torsten
694cae5e91 Ron Jensen:
While troubleshooting the new environment I discovered the metar station
elevation (station_elevation_ft) is never being set because there is a
local variable that overrides it.
2009-09-20 22:51:36 +02:00
Tim Moore
6db8687a75 Merge branch 'tat/configure' 2009-09-20 22:44:58 +02:00
jmt
b49ad1aaed Remove plib/fnt.h from panel header. 2009-09-20 16:46:32 +02:00
jmt
9d97531b82 Replace one SGD_ constant with a local one, in LaRCsim. 2009-09-20 16:46:32 +02:00
jmt
59895306a5 Remove <plib/sg> includes. 2009-09-20 16:46:32 +02:00
jmt
956ecf1cf2 Remove use of plig/sg from render-area-2d. 2009-09-20 00:20:17 +02:00
jmt
0dbf2de0b6 Remove audio update from main.cxx, back to FGFX (but keep the timing-dependent piece done artificially late) 2009-09-20 00:20:17 +02:00
jmt
0c8c8380b1 Break viewmgr.hxx dependency on on viewer.hxx. 2009-09-20 00:20:17 +02:00
Tim Moore
f4a8570cdd use boost::tie instead of make_ref 2009-09-19 23:55:09 +02:00
Csaba Halasz
a71a5cdf45 fix ATIS on 64bit machines 2009-09-19 23:50:41 +02:00
v meazza
179186e414 MSVC fixes for atis merge.
Avoid dynamic arrays such as char msg[len]; they are a gcc-ism.
2009-09-19 23:50:31 +02:00
jmt
3c84e07a25 FGFX clean-ups, conversion of one more sgVec user. 2009-09-19 12:10:17 +02:00
Tim Moore
08c0556dc7 Merge branch 'vivian/train' into next 2009-09-18 22:04:52 +02:00
Tim Moore
a9c47780a8 Merge branch 'jmt/cleanup' into next 2009-09-18 21:56:38 +02:00
Tim Moore
7a14ec7e32 Merge branch 'jd/atis' into next 2009-09-18 21:52:30 +02:00
jmt
05626756e7 Put back an unfortunate include, until ViewMgr can be fixed to not inline FGViewer destructor calls. 2009-09-18 20:25:54 +02:00
jmt
3c62011f03 Drat, this is really needed. Yuck, yuck, yuck. 2009-09-18 20:25:54 +02:00