James Turner [Mon, 31 Oct 2011 13:08:58 +0000 (13:08 +0000)]
Restore options *processing* order (which is now distinct from *parsing* order), to resolve issues when distinct but internally overlapping options are specified, e.g. for initial position or time.
ThorstenB [Sun, 30 Oct 2011 13:48:53 +0000 (14:48 +0100)]
Clean-up date/time option parser.
Add range checks and provide error messages.
Extend time offset to 64bit - so we're safe for 2038-01-19 (and the next
couple of millions years beyond...).
Support partial date/time strings, such as --start-date-gmt=2011 or
--start-date-gmt=:::12:00:00
ThorstenB [Sat, 29 Oct 2011 19:58:11 +0000 (21:58 +0200)]
Configure font in osg StatsHandler for OSG3.
OSG3 relies on "fonts/arial.ttf" being available. FG doesn't provide it -
so it's not necessarily available everywhere (not here). Use one of our
txf fonts instead.
Curtis L. Olson [Sat, 29 Oct 2011 15:36:34 +0000 (10:36 -0500)]
Commit changes to this file so I can switch branches safely, so I can pull
changes to the 2.4.0 branch, so that I can push my actual changes to the
options.cxx file. Go git!
Make use of SGTimeStamp::sleepUntil for accurate sleeping.
For use with frame rate throtteling make use of
SGTimeStamp::sleepUntil. This function should cover the
system dependent parts of accurate sleeps and should
move the system dependent code out of the time manager.
James Turner [Fri, 28 Oct 2011 14:09:10 +0000 (15:09 +0100)]
Fix Mac crashing on exit - link order determines library load order at runtime, and both ALUT and OpenAL.framework (on Mac) define the alut symbols. Fix the order so we always use ALUT.framework for the alut symbols.
Durk Talsma [Thu, 27 Oct 2011 21:24:56 +0000 (23:24 +0200)]
Improved AI taxi behavior:
* Use aircraft specific time-stamps for blocking taxiways
* Issue a stop instruction well-ahead of moving onto a blocked taxiway. This still needs some more braking power.
Durk Talsma [Wed, 26 Oct 2011 20:26:37 +0000 (22:26 +0200)]
* Updated routing algorithm. Just sorting the schedules by usage heuristics doesn't work well for major multihub airlines.
* Improved groundnetwork routing algorithm. Don't uncesscarily block taxiways. Instead, use a "just-in-time" blocking system. The unblocking algorithm still needs some work, but the current version is already a major improvement over the previous version.
* Some tweaks to the handover from ground to tower controller. Aircraft could refuse to take-off of even refuse to taxi onto the runway. This now seems to be solved.
Add a new way to configure multi screen systems.
The new version allows easier configuration of displays
that need to fit at the edges as well as configurations
where the screens match at reference points.
This kind of screen configuration will again zoom.
If set to true, the decision about the near and far
planes in the viewer are still adapted to not clip away
everything before the configured near plane.
Frederic Bouvier [Sat, 22 Oct 2011 08:15:16 +0000 (10:15 +0200)]
Fix a problem in AITraffic where waypoint iterator is trashed by push_back. A cleaner solution would be to use indices instead of iterators to track position in the waypoint vector
James Turner [Sun, 16 Oct 2011 17:35:40 +0000 (18:35 +0100)]
Restructure option/config handling code, to avoid multiple scans & parses for special options (fg-root/fg-aircraft/aircraft). Push most of the code into a new Options class, inside options.cxx, and clean up various call-sites as a result.
Durk Talsma [Mon, 10 Oct 2011 19:55:09 +0000 (21:55 +0200)]
Finetuning of AI Aircraft landing performance. Aircraft slow down to taxi speeds just before leaving the runway. Increased vTaxi on the runway to further reduce time on the runway and slow down to vTouchdown well ahead of touching down.
Torsten Dreyer [Sun, 9 Oct 2011 18:21:02 +0000 (20:21 +0200)]
Reintroduce an old bugture: use localizer as dme
Our nav.dat.gz seem to have many bugs regarding paired LOC/DME where
the DME is missing.
A feature has recently been introduced to always use a LOC frequency
as a DME to avoid these issues. However many LOC station do not have
a DME paired at their frequency and this behaviour might be as confusing
as having no DME where one should be.
Before we get new/bugfree navdata, a property can be set to select
the desired behaviour:
if /sim/realism/dme-fallback-to-loc is true or absent, LOC will be
treated as DME (realism is off)
if /sim/realism/dme-fallback-to-loc is false, LOC will be NOT be
treated as DME (realism is on)
ThorstenB [Sun, 9 Oct 2011 10:37:43 +0000 (12:37 +0200)]
Add generic "open-browser" command to show URLs or local HTML/text pages.
Replace deprecated "old-help-dialog" command with generic "open-browser".
Can also be used to add links to aircraft manuals in the menubar (local
file or http) , i.e.
<binding>
<command>open-browser</command>
<path>Aircraft/ogeL/FlightManual.html</path>
</binding>
Durk Talsma [Sat, 8 Oct 2011 22:25:04 +0000 (00:25 +0200)]
Several Bugfixes:
* Landing AIAircraft now land properly!!!
* Fixed problems with takeoff scheduling.
* Untangled several vertical speed calculation algorithms.
* No more bent-over-backwards and jump-in-the-air AI aircraft initializations.
* Fixed intermixed target speed and target altitude during climb phase.
* Implemented beginnings of a "line up and wait" procedure.
* Tried to use actual runway elevation for calculating the decent profile.
ThorstenB [Sat, 8 Oct 2011 09:28:28 +0000 (11:28 +0200)]
fgpanel: improved path handling
- Allow relative paths for panels.
- Set FGROOT as resource manager base path, so absolute
XML includes can be resolved
Torsten Dreyer [Wed, 5 Oct 2011 13:26:41 +0000 (15:26 +0200)]
Introducing: The new navradio code (WIP)
Here comes the work-in-progres code for a new navradio
implementation. Once completed, it will replace the
old/current navradio implementation.
The new code can be activated by setting
/instrumentation/use-new-navradio=true
at startup. This disables the old navradio implementation.
Current state:
- VOR works pretty good including the new
functionality 'code of confusion'.
- LOC and GS basically work
- backward compatibility (many properties) is to be implemented
Durk Talsma [Mon, 3 Oct 2011 18:54:58 +0000 (20:54 +0200)]
* A new algorithm for determining hold position instructions. This version still needs some finetuning, but already appears to be more solid than the old version.
* Some tweaks to the traffic scheduling algorithm.
* Misc cleanup.