1
0
Fork 0
Commit graph

9276 commits

Author SHA1 Message Date
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
Durk Talsma
c6feba04c9 Make the script a little more general purpose usable by removing a hardcoded filename. 2011-01-03 13:58:12 +01:00
Durk Talsma
6c165c30f2 Change file permissions to make the scripts executable. 2011-01-03 13:06:12 +01:00
Durk Talsma
3a8261a8a0 Merge branch 'next' of git@gitorious.org:fg/flightgear into next 2011-01-03 13:03:10 +01:00
Frederic Bouvier
1028e54cb1 Cmake: MSVC_3RDPARTY_DIR is a path, not an option 2011-01-03 11:37:59 +01:00
James Turner
6d3773cb40 Olaf Flebbe: Removed Boost serialization linkage on MSVC 2011-01-03 09:50:05 +00:00
Durk Talsma
dcfa2632fb Traffic tools. Conversion scripts to convert between xml and plain text format. Initial version of conf2xml.pl by me. Updated and modified by Mike Nieber. xml2conf.pl by Mike Nieber. 2011-01-03 09:59:48 +01:00
Dave Luff
2cb67b06b7 ATIS fixes from John Denker 2011-01-03 01:19:01 +00:00
Torsten Dreyer
3f6285965c Merge branch 'next' of gitorious.org:fg/flightgear into next 2011-01-02 21:09:59 +01:00
James Turner
4428b7358c Fixed CMake version.h, config.h creation 2011-01-01 21:46:16 +00:00
James Turner
61c88af564 CMake: Windows PLIB fixes from Olaf Flebbe. 2011-01-01 21:22:37 +00:00
James Turner
4d1d215ded version.h support in CMake builds. 2011-01-01 18:24:53 +00:00
James Turner
d4d70200eb Better fix for bug #204; bind after all engines are loaded. 2011-01-01 16:08:17 +00:00
James Turner
738d653745 Work-around for bug #222 - delete the units/WOW property on init.
Another cleanup
2011-01-01 16:08:06 +00:00
Torsten Dreyer
70a525d47c Merge branch 'next' of gitorious.org:fg/flightgear into next 2010-12-31 12:23:54 +01:00
Dave Luff
1758c11889 ATIS: Slight tweak
Add a slight gap between the end of the time and the start of the weather
2010-12-31 00:15:17 +00:00
Frederic Bouvier
a746f08806 Ignore some MSVC warnings 2010-12-30 23:15:59 +01:00
Frederic Bouvier
445306cac7 Win32 fix 2010-12-30 19:07:49 +01:00
Dave Luff
c4ae902d75 ATIS: evaluate airport abbreviations case-insensitively
The apt.dat file contains inconsistent case for many airport name abbreviations,
e.g. MUNI/Muni and intl/Intl.  Evaluate the abbreviations in lower-case when
expanding them in order to avoid missing any.
2010-12-30 16:24:43 +00:00
Dave Luff
9a987a3709 ATIS fixes/refactoring from John Denker
Some fixes, and refactoring of the lexicon and abbreviation remapping
into headers where it can be picked up by the scripts that generate
the voice files.
2010-12-30 16:24:43 +00:00
James Turner
e97eb4db85 Reduce log-level of aircraft-dir related messages. 2010-12-30 09:38:21 +00:00