1
0
Fork 0
Commit graph

6805 commits

Author SHA1 Message Date
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
664817b0a7 Make the Nasal NaN check less aggressive - still SG_ALERT, but return nil instead of terminating the Nasal script completely. 2011-01-14 20:04:20 +00:00
ThorstenB
867508def8 Minor update
Missed this place during code clean-up
2011-01-10 21:19:51 +01:00
ThorstenB
6ff61836fe AI traffic performance boost for busy airports
Stop ground elevation (scenery) checks for stationary AI aircraft.
2011-01-10 20:53:46 +01:00
James Turner
5deec69e00 First attempt at libsvn support in terrasync with CMake
- not yet working!
2011-01-09 00:15:29 +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
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
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
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
James Turner
7d58b44f73 Alexey Varjat: Add ILS data to GUI/MapWidget 2011-01-03 17:29:24 +00:00
James Turner
6d3773cb40 Olaf Flebbe: Removed Boost serialization linkage on MSVC 2011-01-03 09:50:05 +00: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
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
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
Frederic Bouvier
92be000dbd Merge branch 'next' of git://gitorious.org/fg/flightgear into next 2010-12-29 23:58:18 +01:00
Frederic Bouvier
4eb0634c9a Space change to trigger a rebuild on Hudson 2010-12-29 23:55:01 +01:00
James Turner
6fd33dd2c3 Fix bug #204, and help with bug #222 - delete all
properties under /fdm/jsbsim when deleting the JSBSim interface.
2010-12-29 22:46:35 +00:00
ThorstenB
6eadcb8dfc Fixed AIplane vertical speed.
Fixed reversed fps-fpm conversion.
2010-12-29 21:17:46 +01:00
Dave Luff
07d430c129 More fixes to the ATCDCL & ATC compilation
Rename ATC/atis.[ch]xx to ATC/atis_mgr.[ch]xx, to avoid confusingly
having 2 atis.cxx and 2 atis.hxx in the source tree.  Also fix a copy
and paste error in src/ATCDCL/CMakeLists.txt.
2010-12-29 18:52:39 +00:00
Dave Luff
9dd0d403ea Merge branch 'next' of gitorious.org:fg/flightgear into atcdcl 2010-12-28 21:01:53 +00:00
Dave Luff
4042385a21 ATIS fixes from John Denker 2010-12-28 20:47:33 +00:00
Dave Luff
58f46bbe18 ATCDCL: Initialisation order fixes from John Denker. 2010-12-28 19:13:31 +00:00
Dave Luff
7d3d22f6c2 ATCDCL: Remove some unused cruft. 2010-12-28 19:05:44 +00:00
Dave Luff
d6fceb3fbc Remove conditional compilation of ATCDCL
This patch removes the conditional compilation of ATCDCL, compiling both
the old and new ATC systems.  The old system only provides ATIS, AWOS and
some dialog lookups, and hence should not conflict with the new system.
2010-12-28 18:23:40 +00:00
James Turner
ce2a112639 When attempting to pass a NaN between Nasal and property nodes, catch this. 2010-12-28 11:58:03 +00:00
Torsten Dreyer
a0689eedd7 Cleanup: don't unbind unknown properties 2010-12-28 12:28:26 +01:00
Dave Luff
b26705d3be Remove more code only concerned with the depreciated interactive ATC/AI 2010-12-27 21:54:20 +00:00
Dave Luff
f3cfddfd92 Merge branch 'next' of gitorious.org:fg/flightgear into next 2010-12-27 19:25:43 +00:00
Dave Luff
a3433fbc6c Remove legacy interactive tower and ground control
Also includes some whitespace cleanup of the remaining legacy ATC code.
2010-12-27 19:24:03 +00:00
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
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
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
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
Dave Luff
d1601ff8b2 KLN89: Fix ARINC 424 loader for airports with parallel runways.
To load approach data into the KLN89, drop an ARINC 424 format file
named "rnav.dat" into the data/Navaids directory.  The loader has
been tested on the 424-18 data revision, so may need tweaking for
the latest data.  Currently about 97% of the listed US non-precision
approaches are loaded, the majority of the failures appear to be due
to 1-digit runway code offsets between the flightgear airport data
and the ARINC data due to magnetic variation changes.
2010-12-05 10:57:36 +00:00
Dave Luff
ca7f9dec76 Merge branch 'next' of gitorious.org:fg/flightgear into next 2010-12-05 10:48:02 +00:00
Dave Luff
316f68cbf1 KLN89: Remove hardwired instrument approach, and add initial support for loading non-precision approaches from ARINC 424 format data. Currently fails on airports with multiple parallel runways. 2010-12-04 16:55:26 +00:00
Tim Moore
c9d29905dd Merge remote branch 'gitorious/next' into next 2010-12-04 16:27:25 +01:00
Tim Moore
79a2173ef9 Fix bug 182 - make sun direction agree with position of sun from the ephemeris
http://code.google.com/p/flightgear-bugs/issues/detail?id=182

There were two issues. The biggest is that the sunsolver was accessing
parameters from the ephemeris and doing a different calculation with
them to derive the right ascension and declination of the sun. I'm not
sure who is right, but I changed sunsolver to agree with the
ephemeris. Also, there was an inappropriate use of geodetic
coordinates in calculating  the sun latitude and longitude.

Also, I did some cleanup in updateSunPos().
2010-12-04 16:26:46 +01:00
Torsten Dreyer
c1336db664 METAR: symbolic cloudnames
- use symbolic names for scattered, broken, overcast, etc. cloud
coverages.
2010-12-04 12:05:35 +01:00
Frederic Bouvier
1830f2be4d Merge branch 'next' of git://gitorious.org/fg/flightgear into next 2010-12-03 08:59:36 +01:00
Frederic Bouvier
58ca6c916f Fix for bug #177 - check for empty strings 2010-12-03 08:59:14 +01:00
James Turner
b9976f7d34 Fix for bug #72 - don't init traffic manager if disabled.
Disabling the traffic-manager at runtime will prevent new flights being scheduled.
2010-12-02 20:29:28 +00:00
James Turner
a9a1734f1e Fix bug 191, uninitialised HUD color. 2010-12-02 00:41:29 +00:00
James Turner
55c0d3f4d6 Build without OSG implicit ref-ptr conversion 2010-12-01 23:57:18 +00:00
James Turner
f7548fec1f Fix bug #185 - altitude ignored when adding waypoints to the route. 2010-12-01 23:57:01 +00:00
ThorstenB
7a2e1be5bf GPWS: change default source to match all FDMs
Provide another built-in altitude source to hook a radio-altimeter instrument
2010-12-01 22:57:35 +01:00
Erik Hofman
d66903e9ad latest updates from JSBSim 2010-11-30 13:44:10 +01:00
Erik Hofman
2a674c76fa Merge branch 'next' of git://gitorious.org/fg/flightgear into next 2010-11-30 13:35:18 +01:00
Tim Moore
4b2436a4e5 remove call to function removed in OSG 2010-11-30 12:01:52 +01:00
Csaba Halasz
c5c895dae2 Merge commit 'refs/merge-requests/14' of git://gitorious.org/fg/flightgear into next 2010-11-30 00:42:34 +01:00
Csaba Halasz
674a295896 Merge commit 'refs/merge-requests/13' of git://gitorious.org/fg/flightgear into next 2010-11-30 00:26:22 +01:00
ThorstenB
79094e8c36 Fix bug #187: check if path cache matches fg-aircraft dirs
Check if any fg-aircraft dir changed - sequence also matters.
2010-11-29 22:48:37 +01:00
Tim Moore
27a7b98284 compilation fixes for older versions of OSG 2010-11-29 22:43:52 +01:00
Erik Hofman
c44948041b PAtch by Andreas Gaeb to eliminate NaN's in the location code 2010-11-29 09:57:45 +01:00
Tim Moore
d38fcc9979 panoramic spherical distortion
This supports the panoramic distortion option, as found in osgViewer, in
the camera file syntax of flightgear.
2010-11-28 23:29:20 +01:00
Erik Hofman
1cf207e054 Quick update with Bertrand Coconnier's fixes 2010-11-28 15:14:12 +01:00
Erik Hofman
ad51a9bde2 Sync JSBSim again 2010-11-28 10:58:47 +01:00
Erik Hofman
4dc76922c8 Merge branch 'next' of git://gitorious.org/fg/flightgear into next 2010-11-28 10:58:18 +01:00
ThorstenB
d438a180ab Fix route manager exception and following crash (may fix #177)
See bug issue #177 for more.
Also fix minor compiler warning.
2010-11-27 20:05:28 +01:00
ThorstenB
b037a80e5f bug #183: Increase area where models are force-loaded before FDM release 2010-11-26 23:33:22 +01:00
Torsten Dreyer
6403a119a2 Expose the cloud layer type to the property tree
Missing file
2010-11-26 19:29:59 +01:00
Torsten Dreyer
f92eac7696 Expose the cloud layer type to the property tree 2010-11-26 19:27:05 +01:00
Torsten Dreyer
1223b4af9e Expose visibility within cloudlayers to the property-tree 2010-11-26 19:26:12 +01:00
Torsten Dreyer
f33d26d51c Warning fix: unused variables 2010-11-26 16:14:43 +01:00
James Turner
ce8ca7853c Fix bug #125 2010-11-24 20:57:56 +00:00
Erik Hofman
eea6bd1e37 Merge branch 'next' of git://gitorious.org/fg/flightgear into next 2010-11-24 14:40:26 +01:00
Dave Luff
df35559246 Merge branch 'kln89' into next 2010-11-23 18:04:10 +00:00
Dave Luff
7ac304398b KLN89: Small improvement to flightplan page: dash out invalid distances when entering a new waypoint 2010-11-23 18:03:13 +00:00
Dave Luff
438cb4a462 KLN89: Jump to the next position in the flightplan after waypoint entry, as per the real-life unit 2010-11-23 16:29:53 +00:00
Dave Luff
3ac2f000d2 KLN89: Fix small bug in FPL pages due to comparison against a negative quantity with unsigned variables 2010-11-23 16:29:21 +00:00
Dave Luff
c171c44653 KLN89: Allow CLR to abort flightplan waypoint entry at the waypoint review page, as per the real-life unit 2010-11-23 12:21:25 +00:00
Dave Luff
c6276f5845 KLN89: Fix both incorrect behaviour and a segfault when deleting a partially-entered waypoint in the flightplan pages 2010-11-23 10:51:37 +00:00
Dave Luff
c30c183999 KLN89: Fix some bugs in the flightplan page text entry. Basically, draw the text entry string instead of the dummy waypoint ID. 2010-11-23 10:15:10 +00:00
James Turner
4a25fe3adc Ignore -psn_ argument if launched as a GUI app on Mac. 2010-11-22 23:28:12 +00:00
Dave Luff
a39fa6ca1e Merge branch 'kln89' into next 2010-11-22 22:44:21 +00:00
Dave Luff
dbd3e7077d KLN89: Change to more meaningful function names, and always clear the buffer after drawing. 2010-11-22 22:21:09 +00:00
Dave Luff
cd420dadf7 KLN89: Fix clipping bug affecting the KLN89 map page. Pixels and lines must be clipped when being put into the buffer, since the clip region may change before the buffer is rendered. Also, the wrong DrawPixel function was called from the oldDrawLine function. 2010-11-22 21:34:24 +00:00
James Turner
e0aef846e3 Fixing bug #172 - warp handling during pause. 2010-11-21 23:43:41 +00:00
Dave Luff
0b941b759a KLN89: Round properly when converting map points to pixel locations 2010-11-21 20:46:14 +00:00
Dave Luff
95f244b741 KLN89: Update obsolete email address 2010-11-21 17:14:15 +00:00
Dave Luff
34cbe3623b KLN89: Update obsolete email address 2010-11-21 17:13:41 +00:00
Dave Luff
650483f1d3 KLN89: Cleanup - fix broken indentation and email address, and replace tabs with spaces 2010-11-21 17:05:33 +00:00
Dave Luff
35e63ca406 Fix copy-and-paste error which resulted in right inner knob having left inner knob function whilst setting ID in flightplan pages 2010-11-21 15:56:15 +00:00
Erik Hofman
929ef66fc8 Merge branch 'next' of git://gitorious.org/fg/flightgear into next 2010-11-21 15:44:45 +01:00
Dave Luff
19d94f21e2 Clean up indentation and then replace tabs with spaces 2010-11-21 14:16:43 +00:00
ThorstenB
dec020cd64 Suppress framerate while splash screen active
Don't irritate the fps-geeks while the sim isn't ready yet.
And a minor pointer safety issue.
2010-11-21 13:58:10 +01:00
Dave Luff
80badf9fc5 Clarify comments 2010-11-21 09:59:49 +00:00
Torsten Dreyer
495a23a80a Avoid division by zero in exponential filters 2010-11-20 11:07:24 +01:00
Erik Hofman
2ea50c63bb Merge branch 'next' of git://gitorious.org/fg/flightgear into next 2010-11-19 15:35:38 +01:00
ThorstenB
fabf45bfd5 Use simgear abstraction for sleeping.
Fix required for Bill's OS...
2010-11-19 15:05:12 +01:00
ThorstenB
44901ae86f Tile manager improvements
Priority scheme for tile loading/removing
Cleaner tile manager interface for AI/groundcache/...
Reduce start-up delay. Drop splash screen when inner scenery is available.
Be nice to osg loader: slow-down main loop while initial scenery is still loading.
2010-11-19 13:59:43 +01:00
ThorstenB
20b58fd9ab Set initial environment visibility (thanks to kantoon) 2010-11-19 13:47:13 +01:00
ThorstenB
ca3cabc60a Kill some unnecessary include dependencies.
Speed-up compilation when working on tilemanager.
2010-11-19 13:44:52 +01:00
Vivian Meazza
6ac7271d80 Add oitput to property tree.
Signed-off-by: Vivian Meazza <vivian.meazza@lineone.net>
2010-11-19 09:55:36 +00:00
Vivian Meazza
12d10066a6 Merge branch 'next' of D:\Git_New\flightgear into next 2010-11-18 23:51:12 +00:00
Vivian Meazza
a68b07e67a Add Alignment settable at runtime, and add movement-induced errors.
Signed-off-by: Vivian Meazza <vivian.meazza@lineone.net>
2010-11-18 23:48:58 +00:00
ThorstenB
da32e9332c Freeze MP position during replay.
Now you can replay and watch your favourite landing
101 times without pi**ing off everyone else playing MP. :)
2010-11-15 23:28:51 +01:00
Tim Moore
38e1600bed add a command to print information about visible objects in the scene 2010-11-15 00:09:52 +01:00
James Turner
86b906e84e Expose SimGear and OSG versions via properties too. 2010-11-14 22:55:55 +00:00
Vivian Meazza
f51f15eb50 Merge branch 'next' of D:\Git_New\flightgear into next 2010-11-14 22:24:00 +00:00
ThorstenB
1d8913b53e Fixed path resolution (search --fg-aircraft dirs)
Do not abort early when resource doesn't match /sim/aircraft-dir.
2010-11-14 21:06:19 +01:00
Frederic Bouvier
3209a4db09 MSVC: ensure that HAVE_VERSION_H always has a value 2010-11-14 15:33:08 +01:00
Torsten Dreyer
8e55b03f01 Merge branch 'next' of gitorious.org:fg/flightgear into next 2010-11-14 13:54:59 +01:00
Torsten Dreyer
f97295f004 fix inconsitent property name fuel[-_]pump 2010-11-14 13:53:45 +01:00
Frederic Bouvier
79ece1c22c MSVC: compile with version.h if environment variable HAVE_VERSION_H is set to 1 2010-11-14 13:28:17 +01:00
Mathias Froehlich
3d54541cad Make out of source builds again work. 2010-11-14 11:07:46 +01:00
James Turner
1dbe833579 Use updated version.h if available.
Add single fallback header if version.h is missing.
2010-11-13 18:58:55 +00:00
James Turner
a6458c2ed6 Autoconf changes for more flexible versioning. 2010-11-13 10:40:29 -08:00
ThorstenB
e5348b67a5 New property identifying missing MP planes
Provide "model-installed" property at MP planes for pilot list.
Avoid direct directory access in Nasal (aircraft installed check).
2010-11-13 16:29:34 +01:00
Christian Schmitt
0a5e86f4e6 remove old .cvsignore files 2010-11-11 01:16:29 +01:00
Torsten Dreyer
0917a5e062 Bugfix: no automatic runway selection with --parkpos= 2010-11-10 23:28:07 +01:00
Torsten Dreyer
9242f3a083 Make startup.nas obsolete
This is an ugly hack for automatic runway selection on startup based on
metar data. It's main intention is to make startup.nas obsolete and
to guarantee the same runway selection logic as used for AI traffic.

Calling presets-commit from startup.nas during the initialization
sequence caused occasional trouble and sometimes, the AI traffic
operated on the opposite runway.
2010-11-10 22:19:25 +01:00
Vivian Meazza
66f1ac9222 Merge branch 'next' of D:\Git_New\flightgear into next 2010-11-08 22:06:04 +00:00
ThorstenB
85185b56c5 Fixed hot-spot display for 3d modes
Also set left/right culling masks (standard mask no effect when 3d rendering is enabled).
2010-11-08 00:24:41 +01:00
Vivian Meazza
438e365aad Merge branch 'next' of D:\Git_New\flightgear into next 2010-11-06 10:21:15 +00:00
Erik Hofman
9ad18de448 Merge branch 'next' of git://gitorious.org/fg/flightgear into next 2010-11-06 10:05:46 +01:00
James Turner
0cb0c59bc9 FGIO uses new SGSubsystem shutdown() logic 2010-11-06 07:22:37 +00:00
Vivian Meazza
8150bca689 Merge branch 'next' of D:\Git_New\flightgear into next 2010-11-04 20:09:52 +00:00
James Turner
c053de6b4c If preset-commit occurs during init, skip most re-init logic. 2010-11-02 23:19:09 +00:00
Vivian Meazza
cbb502957c Merge branch 'next' of D:\Git_New\flightgear into next 2010-11-02 22:59:34 +00:00
James Turner
eeaf4b13e6 Unify reset/reposition code-paths, and ensure initial state is preserved by a reset. 2010-11-02 22:45:43 +00:00
James Turner
0d6de72b57 Add headerpax-max-install-names, for Mac deployment. 2010-11-02 14:24:09 +00:00
Torsten Dreyer
c56aaa8771 add <initialize-to> to components
The tag <initialize-to> can be used to control the value
of the output when the component is first enabled. This
controls initialization of the output property and the current
value for internal computation
Valid values are

  <initialize-to>input</initialize-to>
set the output-property to the input value

  <initialize-to>output</initialize-to>
set the output-property to the output value

  <initialize-to>none</initialize-to>
ignore input and output value
2010-11-02 11:07:33 +01:00
Vivian Meazza
830c2ae7db Merge branch 'next' of D:\Git_New\flightgear into next 2010-11-01 18:23:23 +00:00
Erik Hofman
ff985e43df Merge branch 'next' of git://gitorious.org/fg/flightgear into next 2010-11-01 15:04:59 +01:00
James Turner
545969054c Use new Simgear platform defines in Input code. 2010-10-31 12:23:16 +00:00
Csaba Halasz
27782d7c8b Added null pointer check to AI subsystem tear down in FGGlobals destructor to avoid crash when using --help option 2010-10-31 00:36:54 +02:00
Vivian Meazza
8ec60b663d Merge branch 'next' of D:\Git_New\flightgear into next 2010-10-29 20:59:01 +01:00
ThorstenB
7dd2cf19e8 Fixed some compiler warnings.
Please the compiler (gods).
2010-10-29 21:14:09 +02:00
James Turner
f02267e3e3 Remove a stray include that got missed. 2010-10-29 14:11:54 +01:00
Vivian Meazza
9ac9940e38 Merge branch 'next' of D:\Git_New\flightgear into next 2010-10-29 10:14:12 +01:00
James Turner
d1a4590721 Goodbye old HUD - and the archeology it depended upon in cockpit.cxx 2010-10-29 08:47:58 +01:00
Erik Hofman
e7ed88af92 Merge branch 'next' of git://gitorious.org/fg/flightgear into next 2010-10-29 09:10:59 +02:00
Erik Hofman
61788d6558 temporary fix for a crash of the c172 (and possibly other aircraft) 2010-10-29 09:10:07 +02:00
Frederic Bouvier
6081f24b00 Don't blindly delete the global property tree on reinit 2010-10-29 09:00:31 +02:00
Vivian Meazza
02fb83c774 Merge branch 'next' of D:\Git_New\flightgear into next 2010-10-28 17:35:03 +01:00
Vivian Meazza
0840b188d2 Re-interpret gyro wander under g-forces
Signed-off-by: Vivian Meazza <vivian.meazza@lineone.net>
2010-10-28 17:32:22 +01:00