1
0
Fork 0
Commit graph

9296 commits

Author SHA1 Message Date
James Turner
db3717a30e Working Cmake-terrasync-libsvn support. Probably needs additional refinement, but testable. 2011-01-22 19:24:35 +00:00
ThorstenB
d365689d5c Fix crash in GPS module.
Fixes crash on exit (during property untie). Also potential run-time crash.
2011-01-22 00:03:07 +01:00
ThorstenB
99ee9a1bbb GPWS: avoid "altitude_callout_voice != NULL" assertion
Properly remember which active alerts were already voiced.
Added NULL-pointer safety check
2011-01-21 20:20:22 +01:00
Torsten Dreyer
258a4436aa Fix bug 255, support turbulence to weather menu 2011-01-21 19:01:32 +01:00
Torsten Dreyer
5fc0be8820 Fix bug #253, at least partially
make options
--wind=nnn@mm
--visibility
--visibility-miles
--ceiling
--turbulence
work again. These options now write properties in the
/environment/config/presets
branch. The values will be applied in the property-rules
in FGDATA/Environment/interpolator.xml
2011-01-21 19:01:27 +01:00
John Denker
f025c65c60 Fix ADF bugs ... including still driving the needle when power off.
ADF bug fixes from John Denker.  Changes from current behaviour are:
* Include the power button in the electrical checks
* Raise the required input voltage from 1V to 8V
* Don't reset the heading to 90 degrees when out of range or no power
  (heading is now only reset to 90 in ANT or TEST mode)
2011-01-18 22:12:29 +00:00
ThorstenB
5ec5c34255 Minor update
Missed this place during code clean-up
2011-01-16 17:45:39 +01:00
ThorstenB
4043e79774 AI traffic performance boost for busy airports
Stop ground elevation (scenery) checks for stationary AI aircraft.
2011-01-16 17:45:39 +01:00
James Turner
c2a3d24ef3 Make the Nasal NaN check less aggressive - still SG_ALERT, but return nil instead of terminating the Nasal script completely. 2011-01-14 20:05:58 +00:00
James Turner
5deec69e00 First attempt at libsvn support in terrasync with CMake
- not yet working!
2011-01-09 00:15:29 +00:00
James Turner
6564a9858b Fix CMake inclusion for copied FindGit.cmake 2011-01-09 00:04:59 +00:00
James Turner
e3d317d31e Add FindGit from CMake 2.8.3 distribution 2011-01-08 21:43:23 +00:00
ThorstenB
8efe895355 Added several include files, thanks to Roland Haeder
Added includes missing for some compiler/platform.
2011-01-08 22:34:43 +01:00
ThorstenB
4458f7ce73 Enable AI traffic for offline users and issue #248
- #248: new enable/disable-ai-traffic command-line option
- AI traffic: don't wait for METAR when real-wx-fetch disabled, to
enable AI traffic when running offline
2011-01-08 21:38:26 +01:00
Frederic Bouvier
9a0f0cb15a Cmake: fix copy/paste typo 2011-01-08 16:45:40 +01:00
Frederic Bouvier
39ecaf0ca8 Cmake: use debug version of plib when building in debug mode 2011-01-08 15:17:49 +01:00
Frederic Bouvier
311925ecb4 Cmake: use debug version of simgear when building in debug mode 2011-01-08 15:02:30 +01:00
Torsten Dreyer
8cab5f9e60 Make mouse buttons work again. 2011-01-08 12:50:55 +01:00
Torsten Dreyer
8a08507282 MouseInput: invert y-accel property
Syd Adams:  It could be inverted with nasal for use,
but it feels more natural with positive /forward , negative /
back.
2011-01-08 09:11:46 +01:00
Torsten Dreyer
0361f136fe MouseInput: Add accel-x and accel-y
Syd Adams:
Is there any interest in mouse acceleration properties, besides myself ?

Obviously there is. Some code cleanup comes with it.
2011-01-07 21:05:17 +01:00
Curtis L. Olson
7fb8114feb Add code to draw AI ships on the map widget (useful for carrier ops.)
An AI Tanker requested from the AI menu has an id of -2, so change the code to
only ignore AI models with an ID of -1.
2011-01-07 13:05:47 -06:00
Torsten Dreyer
9337584df0 METAR: enable reports from multiple stations
This patch enables multiple MetarProperties instances tied to the
property tree. For each node's value of /environment/realwx/metar
one MetarProperties instance is created and tied to the property
tree named there. (See FGDATA/Environment/environment.xml for details)

At least one instance will be created to provice backward compatibility
to the existing live-data weather system. This instance (tied to
/environment/metar) fetches a METAR for the nearest airport at a regular
schedule. All other instances fetch a report for airports named in the
property station-id. It re-reads the report every 15 minutes, the
remaining time until the next fetch will be scheduled is in the property
time-to-live. This property can be written to, to extend the live of
this report or schedule an immediate reload by setting it's value to zero.

This patch also provides magnetic variation for the station's location.
2011-01-07 13:11:06 +01:00
Torsten Dreyer
5cdfe3d7a5 Merge branch 'next' of gitorious.org:fg/flightgear into next 2011-01-07 09:07:56 +01:00
James Turner
45d33ef60c Make fgadmin optional (and hence, the FLTK dependency)
Also bump SimGear version to 2.2.0
2011-01-06 16:56:07 +00:00
Frederic Bouvier
3f400bcd24 Merge branch 'next' of git://gitorious.org/fg/flightgear into next 2011-01-05 23:47:16 +01:00
Frederic Bouvier
b0a61f6110 Cmake: finally build terrasync under Windows 2011-01-05 23:47:08 +01:00
Dave Luff
f7c487fd4e ATIS: revert to using inches globally by default.
Revert to using inches globally by default, unless the user sets the
property /sim/atc/use-millibars.  Whilst this is therefore wrong by
default, it is probably the best thing in the short term since
FlightGear's altimeter dialog and the altimeters on the default
aircraft set using inches.
2011-01-05 20:12:18 +00:00
Frederic Bouvier
6939abc9af Trying to fix Linux compilation 2011-01-05 18:43:55 +01:00
Frederic Bouvier
d4c9a393d1 Trying to fix Linux compilation 2011-01-05 18:24:49 +01:00
Frederic Bouvier
9a3e22d842 Trying to fix Linux compilation 2011-01-05 18:10:57 +01:00
Frederic Bouvier
ceabadacc2 Cmake: test the presence of FLTK 2011-01-05 17:58:20 +01:00
Frederic Bouvier
4d4c12bfa0 Replace plib/net.h by SimGear 2011-01-05 17:54:38 +01:00
Frederic Bouvier
ef4c4ac1f5 Cmake: add fgadmin to the project 2011-01-05 17:51:46 +01:00
Frederic Bouvier
1c792fb97c Provide declarations of hton*() and ntoh*() 2011-01-05 17:38:15 +01:00
Frederic Bouvier
402982f901 Cmake: add more utilities to the build system 2011-01-05 17:19:42 +01:00
Frederic Bouvier
65301bf84e Replace plib/net.h by SimGear 2011-01-05 17:18:12 +01:00
Frederic Bouvier
6c777745db Remove the dependency to boost serialization 2011-01-05 09:55:19 +01:00
Dave Luff
dd690909af ATIS improvements from John Denker
Primarily an improvment to the internationalisation.  Previously the ATIS considered
the world as either the UK or the rest of the world.  Now it considers it as US+Canada
or the rest of the world.  This is much more consistent with global usage of pressure
units as either inches or millibars, which is the most important difference.  Also
some other tweaks and cleanups.
2011-01-05 00:27:18 +00:00
Torsten Dreyer
c859833c63 Merge branch 'next' of gitorious.org:fg/flightgear into next 2011-01-04 17:21:47 +01:00
James Turner
b5d2e734d1 Merge branch 'next' of git@gitorious.org:fg/flightgear into next 2011-01-03 21:48:11 +00:00
Frederic Bouvier
d70c394cda Merge branch 'next' of git://gitorious.org/fg/flightgear into next 2011-01-03 22:47:40 +01:00
James Turner
4b7ce32387 Remove some legacy declarations from navrecord 2011-01-03 21:47:24 +00:00
Frederic Bouvier
670fa26f7e Cmake: more windows tweaks 2011-01-03 22:47:11 +01:00
James Turner
7ab8c72cf1 Fix bug #236, tower elevation was wrong with custom-scenery-data. 2011-01-03 21:26:09 +00:00
Torsten Dreyer
905e796e35 Merge branch 'next' of gitorious.org:fg/flightgear into next 2011-01-03 20:20:18 +01:00
Frederic Bouvier
4b873d974e Cmake: remove debugging message 2011-01-03 19:01:39 +01:00
Frederic Bouvier
c8bdf8c198 Cmake: fix SimGear version check for MSVC 2011-01-03 18:58:15 +01:00
Frederic Bouvier
f032943f46 Cmake: add probable location of SimGear 2011-01-03 18:57:08 +01:00
James Turner
7d58b44f73 Alexey Varjat: Add ILS data to GUI/MapWidget 2011-01-03 17:29:24 +00:00
Curtis L. Olson
5c7371938d Check for simgear v2.2.0 or newer. 2011-01-03 07:59:50 -06:00