curt
d24caed229
Alex Perry: some updates to terrasync.
2009-10-12 07:59:52 +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
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
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
torsten
27d68533d7
Catch a possible NAN at insanely low but greater than zero speeds
2009-09-22 22:48:14 +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
jmt
3c84e07a25
FGFX clean-ups, conversion of one more sgVec user.
2009-09-19 12:10:17 +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
jmt
8b649b06c4
Header clean-ups in viewer/view-mgr.
2009-09-18 20:25:54 +02:00
torsten
949981a6d7
only complain about binary record length mismatch if mode is binary.
2009-09-18 10:38:34 +02:00
torsten
6db0398d64
unintentional introduction of a not yet ready util.
2009-09-18 10:34:51 +02:00
torsten
1dff3bf29a
and the (hopefully) last one from Tat's Mac-can-run-make patch
2009-09-18 10:32:56 +02:00
torsten
d14a17b5b8
forgotten ones from Tat's patch to enable make builds on Macs
2009-09-18 10:32:42 +02:00
jmt
a683b5e0ed
NavRadio: By way of an experiment, make false courses/lobes disable-able via a property.
2009-09-17 22:55:18 +02:00
torsten
8265bc07b9
fgpanel is shouldn't have escaped (yet)
2009-09-17 22:54:42 +02:00
torsten
16eefc84d1
Tatsuhiro Nishioka:
...
Patches for configure.ac and Makefile.am files in FG/SG so Mac developers can build these in a unix way.
These also enables Mac developers to choose either PLIB framework or PLIB static libs.
2009-09-17 22:54:42 +02:00
jmt
5947f3fcd5
NavRadio DME in-range flag, and audio code improvements. By John Denker, adapted to current trunk by me.
2009-09-17 22:53:15 +02:00
jmt
29f84492a2
Different approach to handling the paired-ILS-on-opposite-runways situation. This uses additional information we now store (in FGRunway) to be more explicit about the behaviour (i.e only look at paired navids), and crucially, does not misbehave near either threshold. Instead it always switches about the runway midpoint (so back-course/missed-approaches are broken as before), leading to stable behaviour when touching down.
...
I am pretty confident this is (was, from FS2004) also the 'solution' taken by MSFS.
2009-09-17 22:51:44 +02:00
jmt
44bc440d32
Associate non-ILS localisers with their runway.
2009-09-17 22:51:44 +02:00
jmt
d4d1d827d0
Make FGRunway track reciprocal runways.
2009-09-17 22:51:44 +02:00
jmt
bf830f681d
One more divide by zero fix from Torsten.
2009-09-17 22:48:10 +02:00
jmt
ebf5dcb828
Work around the penaltyForNav broken-ness, by ensuring GS behaves sanely even if non-matches LOC and GS transmitters are selected. Which happens. Yuck.
2009-09-17 22:47:57 +02:00
jmt
c1598361ca
navradio: fix crash spotted by Torsten, when nav range is unspecified.
2009-09-17 22:47:45 +02:00
jmt
a650cf4239
Fix the has-gs flag when switching to a VOR (thanks Torsten), and expose GS validity via a new gs-in-range boolean prop, as suggested by John Denker.
2009-09-17 22:47:32 +02:00
jmt
971e87bb49
Logging: less verbose about navaids we didn't align.
2009-09-17 22:45:30 +02:00
jmt
daadb16370
Logging: less verbose traffic-manager startup.
2009-09-17 22:45:30 +02:00
jmt
fbf7d58c25
Logging: less verbose panel loading.
2009-09-17 22:45:29 +02:00
Tim Moore
d11ad100cc
Merge branch 'topic/atmos-merge' into next
...
John Denker's atmosphere changes. Original commit message:
Two-parameter physics-based model of atmosphere up to 262,467 ft i.e.
the top of the mesosphere. Correctly exhibits the HALT phenomenon.
2009-09-12 15:51:11 +02:00
jmt
3c48943e81
Various LOC/GS improvements from John Denker, adapted to trunk by me (hopefully not introducing too many bugs along the way). Includes:
...
- false LOC courses and GS lobes
- LOC sensitivity based on runway dimensions
- GS cutoff based on range
- More accurate GS deviation computation, making final approach more stable
2009-09-12 15:47:52 +02:00
curt
606f9173b2
Avoid strtof() for portability reasons.
2009-09-12 15:47:52 +02:00
curt
bf423ef0ca
Handle "double" type fields correctly for ascii input data. Previously double
...
data was being down-cast to float and the loss of precision impacted data types like lon/lat positions dramatically, preventing smooth replay of data.
2009-09-12 15:47:52 +02:00
frohlich
d09c0ec8b9
Disable collisions with the MP aircraft again.
...
Modified Files:
src/AIModel/AIMultiplayer.cxx
2009-09-12 15:47:52 +02:00
jmt
5f16e4da60
Add clamped degrees deviation for glideslope.
2009-09-12 15:47:52 +02:00
Tim Moore
a6db6d89ff
Merge branch 'jsd/atmos' into topic/atmos-merge
...
Conflicts:
src/Environment/environment.cxx
src/Environment/environment.hxx
John Denker's atmosphere changes. Original commit message:
Two-parameter physics-based model of atmosphere up to 262,467 ft i.e.
the top of the mesosphere. Correctly exhibits the HALT phenomenon.
2009-09-10 12:31:04 +02:00
Tim Moore
7b6d15d537
cleanup of atmosphere patch
...
Remove some dead code and space changes. Replace boost::tuple with std::pair,
but do use boost::tie.
2009-09-10 11:42:42 +02:00
John Denker
abc7ae96a5
Two-parameter physics-based model of atmosphere up to 262,467 ft i.e. the top of the mesosphere. Correctly exhibits the HALT phenomenon.
2009-09-10 10:59:51 +02:00
jmt
77a8b4db30
Add normalised heading deflection property to navradio.
2009-09-09 23:42:21 +02:00
daveluff
08dfa30d87
Fix MSVC compilation
2009-09-09 08:56:32 +02:00
torsten
a893748d4e
Tatsuhiro Nishioka:
...
Handle number keys on Keypad properly on Mac OS X
2009-09-09 08:56:32 +02:00