1
0
Fork 0
Commit graph

9257 commits

Author SHA1 Message Date
Torsten Dreyer
e1858b14b6 GlobalWeather: don't crash
Don't crash when flying into METAR generated weather
reporting fog/mist/haze and clear sky
2010-12-27 14:24:44 +01:00
James Turner
a0d1a5cb10 Merge branch 'next' of git@gitorious.org:fg/flightgear into next 2010-12-27 12:45:07 +00:00
James Turner
2b5f50e856 WIN32/MSVC fixes from Olaf Flebbe 2010-12-27 12:44:17 +00:00
Dave Luff
4c288398cb Removed legacy interactive approach ATC 2010-12-27 11:39:07 +00:00
Dave Luff
86505fd8bc Fix up some include paths in main.cxx
Don't include legacy ATCmgr.hxx when it is not compiled (default).
Do include 3 paths that are necessary for main, but were only picked
up indirectly through the legacy ATC code.
2010-12-26 23:19:57 +00:00
Tim Moore
958a28b97f cmake changes for osg::CullSettings::ClearMask and Fedora
HAVE_CULLSETTINGS_CLEAR_MASK was not set, so a program to test
CLEAR_MASK was added. The Posix timer function clock_gettime is in
librt on Fedora, and probably on other systems too.
2010-12-26 00:44:02 +01:00
Torsten Dreyer
ded664e89e bugfix: set signal-quality-norm to zero if off or unserviceable 2010-12-23 22:16:55 +01:00
James Turner
7720c9d89e Another link-ordering fix for CMake, discovered by papillion. 2010-12-22 19:51:17 +00:00
Torsten Dreyer
6db56e8f27 Bugfix: Immediately fetch METAR on reenabling of "Live data"
If "Live data" was disabled in any way in the global-weather dialog
and reenabled later, the next metar fetch occoured only after up
to 15 minutes after the report expired. This patch triggers triggers
an immediate fetch of a metar after enabling live data.
2010-12-22 08:34:44 +01:00
Torsten Dreyer
fe00f76684 Precipitation: use /environment/[rain|snow]-norm
Don't use the properties in /environment/metar but the properties
unter /environment, so these values can be set from other environment
controllers.
2010-12-21 09:59:23 +01:00
Torsten Dreyer
f8c7f95745 fog/misg/haze: tweak layer's top and limit to 2d-clouds
For the time being, this works only with 3d clouds disabled.
When enabled, limit the top of the misty layer to the bottom of
a possible cloudlayer above.
2010-12-20 21:07:59 +01:00
Curtis L. Olson
f8015bf54f Add a small bit of nan/fpe protection. It's possible that this routine
could be called with a zero dt which would then lead to a divide by zero
error if we ran through all the computations.
2010-12-20 12:20:57 -06:00
James Turner
3f00b27926 Fix link ordering to keep GNU ld happy. 2010-12-19 09:03:35 -08:00
James Turner
0931fe332e Guard against NaN SGGeods in FGPositioned spatial queries, and in the GPS lat/lon reading code. 2010-12-19 16:18:12 +00:00
James Turner
099d6475fd CMake update for new KLN89 file. 2010-12-19 15:45:36 +00:00
James Turner
a91ec5f9f9 Initial work on CMake build files, with considerable help from Olaf Flebbe. 2010-12-19 15:06:04 +00:00
Curtis L. Olson
c396fae4a7 Merge branch 'next' of gitorious.org:fg/flightgear into next 2010-12-18 12:05:28 -06:00
Curtis L. Olson
f97d8e4267 Remove a file from the data package tar-ball creation command that no longer
exists (or has been moved.)
2010-12-18 10:49:27 -06:00
Torsten Dreyer
8f6098024b Some code cleanup, no functional changes
- indention
- unused variables
2010-12-18 11:30:03 +01:00
Torsten Dreyer
80e7955a0c metar: make unknown station-id's work again
Restore old feature where unknown station id's like XXXX were
substituted by the metar station closest to the current position.
2010-12-15 17:57:05 +01:00
Torsten Dreyer
8afcb8da0b metar fog/mist/haze: some final(?) tweaks 2010-12-15 16:58:42 +01:00
Torsten Dreyer
58fbd0d72a msvc warning fixes 2010-12-15 16:40:25 +01:00
Torsten Dreyer
1b4a4c9f52 Metar fog/mist/haze: no hardcoded constants
Move hardcoded constants to the property tree
2010-12-12 21:30:39 +01:00
James Turner
0b3829810f Don't crash if WindowBuild fails. 2010-12-11 14:29:05 +00:00
ThorstenB
2302f04095 fix NAV receiver vs GPS bugs
Allow switching off slaved-to-gps (resynch NAV radio/update all NAV outputs)
Allow tuning NAV stations and keep DME alive when slaved to GPS
Clear station ID and heading when loosing NAV signal
2010-12-11 12:37:39 +01:00
Frederic Bouvier
45b001a784 Fix a typo 2010-12-11 10:43:39 +01:00
Frederic Bouvier
29396f883d Update MSVC 2010 project files 2010-12-10 08:29:00 +01:00
Frederic Bouvier
2ae1499a7e Update MSVC 2008 project files 2010-12-10 08:28:40 +01:00
Frederic Bouvier
82b1735c64 Use a syntax MSVC can compile 2010-12-10 08:28:05 +01:00
Dave Luff
3d4d621a3b Merge branch 'next' of gitorious.org:fg/flightgear into next 2010-12-09 23:38:18 +00:00
Dave Luff
d73a3cd207 KLN89: Move units configuration out of dclgps and into KLN89 2010-12-09 23:34:37 +00:00
Dave Luff
2102c3c9ff KLN89: Add initial implemenation of ALT pages.
The user can now set the KLN89 baro pressure setting, but this is
not currently used since currently the unit performs no VNAV calcs.
2010-12-09 22:31:34 +00:00
ThorstenB
b4478b56c9 Issue #66: Non alphanumeric characters in callsign 2010-12-09 16:57:12 +01:00
Torsten Dreyer
87daa1290a Improved fog/mist/haze creation from METAR 2010-12-09 11:08:36 +01:00
Torsten Dreyer
340bb58579 Export the 2d cloudlayer transparency to the property tree 2010-12-09 09:08:49 +01:00
Dave Luff
d450900e0b KLN89: Fix a tiny UI bug - don't draw the indicator bar on the DTO page 2010-12-08 19:03:54 +00:00
James Turner
d2bbaa69e0 Change how ils.xml data is loaded, to reduce impact on startup time. 2010-12-07 18:07:50 +00:00
Dave Luff
9eca656a98 KLN89: Remove several bugs related to OBS mode 2010-12-07 17:34:30 +00:00
James Turner
b847ca6026 Merge branch 'topics/bug192' into next 2010-12-07 13:06:39 +00:00
James Turner
2c175f57ae Override puaComboBox recalc_bbox, ignore the popup-menu 2010-12-07 10:33:14 +00:00
Dave Luff
e6aea6dcde KLN89: Allow user to set default first char of waypoint as per real life unit. 2010-12-06 22:50:37 +00:00
Dave Luff
59a22860ff Merge branch 'next' of gitorious.org:fg/flightgear into next 2010-12-05 23:41:59 +00:00
Dave Luff
f234f76287 KLN89: Add user-adjustable minimum brightness setting. 2010-12-05 23:40:05 +00:00
ThorstenB
ca8cd763af Rid some uninitialized vectors (NaNs). 2010-12-05 23:01:57 +01:00
Torsten Dreyer
9e764ed4b0 Merge branch 'next' of gitorious.org:fg/flightgear into next 2010-12-05 21:35:13 +01:00
Torsten Dreyer
29161c2114 First shot at implementing fog from METAR 2010-12-05 21:34:28 +01:00
ThorstenB
138449f4bd Avoid exceptions in route manager module.
Avoid segfaults in gps when route manager doesn't throw exceptions.
Minor fix when removing waypoints by negative index.
2010-12-05 21:26:51 +01:00
ThorstenB
ebbd5bfd05 fix bug #177: crash caused by route manager/gps/navradio
Uninitialized variables were sources for NaN values.
Once NaNs are passed to Nasal (through (tied) properties), these cause
a crash. Nasal cannot handle NaNs - it interprets these as pointer values...
2010-12-05 20:35:21 +01:00
Dave Luff
7a0c2c2e8a KLN89: Move some KLN89 specific configuration from dclgps to kln89 2010-12-05 17:36:32 +00:00
Torsten Dreyer
c467c91c07 Merge branch 'next' of gitorious.org:fg/flightgear into next 2010-12-05 13:06:56 +01:00