1
0
Fork 0
Commit graph

10074 commits

Author SHA1 Message Date
James Turner
6adb42078e Refactor fg-home computation, use Library/Application Support on Mac. 2011-10-16 19:55:04 +01:00
James Turner
0431822e2a Fix Unix build. 2011-10-16 19:17:23 +01:00
James Turner
b1c7495fec 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. 2011-10-16 18:35:40 +01:00
James Turner
3d544fbc1f Tweak map-widget data boxes for AI objects, so speed/altitude update in real-time. 2011-10-12 22:33:56 +01:00
Torsten Dreyer
9f41ee414f Join duplicate fields ident and trans_ident in navrecord 2011-10-12 11:06:01 +02:00
James Turner
8986c3488d Make sun-angle a plain property, so observers fire. 2011-10-12 09:17:58 +01:00
ThorstenB
b16338598a Use more specific log classes.
Log class filters work better when different modules
use different classes :).
2011-10-11 21:55:50 +02:00
ThorstenB
53e6c0ac5f Reduce AI/MP lags when removing models
Move load of removing OSG objects to the OSG pager thread
2011-10-11 21:43:24 +02:00
Durk Talsma
020d6a6363 -Revert to the original design. It still appearch to yield the best scheduling results. 2011-10-10 23:03:57 +02:00
Durk Talsma
835334bd4f 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. 2011-10-10 21:55:09 +02:00
Durk Talsma
88dc9a14b7 Remove the assertSpeed debugging code. 2011-10-10 18:51:41 +02:00
Durk Talsma
894f066370 Merge branch 'next' of gitorious.org:fg/flightgear into next 2011-10-09 23:46:52 +02:00
Durk Talsma
da3c098a4b AITraffic exits the runway as soon as possible (in theory; the code still needs some fine tuning). 2011-10-09 23:44:42 +02:00
Torsten Dreyer
7431c14ba6 don't use uninitialized variables 2011-10-09 21:37:52 +02:00
Torsten Dreyer
9a21896a33 start adding backward-compatibility to newnavradio 2011-10-09 21:17:33 +02:00
ThorstenB
8b05d7b211 replay system: allow to resume simulation at any point of replay-time.
Currently supported for YASim only.
2011-10-09 20:36:01 +02:00
Torsten Dreyer
9022c6a58d 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)
2011-10-09 20:21:02 +02:00
ThorstenB
30e2db94b1 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>
2011-10-09 12:37:43 +02:00
ThorstenB
5b8ab277fd Minor FDM shell performance improvement
Don't resolve all properties at run-time.
2011-10-09 12:24:16 +02:00
Durk Talsma
ed30b0c9a3 Merge branch 'next' of gitorious.org:fg/flightgear into next 2011-10-09 00:31:47 +02:00
Durk Talsma
02712dc1ad 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.
2011-10-09 00:25:04 +02:00
Frederic Bouvier
c92bc96ff8 Fix win32 fgpanel build 2011-10-08 13:41:32 +02:00
ThorstenB
32a49cb689 fgpanel: improved path handling
- Allow relative paths for panels.
- Set FGROOT as resource manager base path, so absolute
  XML includes can be resolved
2011-10-08 11:28:28 +02:00
James Turner
ef995913e1 Further NavDisplay hacking, symbol binding is working more sanely now. 2011-10-07 08:34:56 +01:00
Durk Talsma
a9ac75b9c9 Revert back to the version from sept 4. Vertical speed calculations of decending AI aircraft were messed up. 2011-10-05 21:40:47 +02:00
Torsten Dreyer
e9d24b05ca 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
2011-10-05 15:26:41 +02:00
Mathias Froehlich
a486eebeef hla: Avoid explicit attribute update request. Is already done by simgear. 2011-10-04 20:58:46 +02:00
James Turner
c4c5cc850b Adjust cursor-setting code, for better compatibility with Cocoa-Viewer (OSG patch still required, unfortunately) 2011-10-04 09:17:56 +01:00
James Turner
1692bc749e Mac: Work-around for OSG3's Cocoa Viewer interacting badly with PUI 2011-10-04 09:14:15 +01:00
James Turner
41759b15d6 Work on the NavDisplay instrument. 2011-10-04 08:58:09 +01:00
Torsten Dreyer
5f2fff4ec4 Merge branch 'next' of gitorious.org:fg/flightgear into next 2011-10-03 22:29:48 +02:00
Durk Talsma
f2b354d9cb Merge branch 'next' of gitorious.org:fg/flightgear into next 2011-10-03 20:57:32 +02:00
Durk Talsma
4640f5bb02 * 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.
2011-10-03 20:54:58 +02:00
Mathias Froehlich
40d72b3ba7 hla: use the property based interface from the property data element. 2011-10-03 13:00:25 +02:00
ThorstenB
3451012bca Make LOD properties of AI/MP aircraft run-time configurable. 2011-10-03 12:01:58 +02:00
James Turner
465557cfa7 Improve magnetic heading handling in MapWidget - following some testing at NZCH 2011-10-02 14:30:06 +01:00
Mathias Froehlich
761644c51d hla: use the new HLAFederate::processMessages() call. 2011-10-02 15:13:55 +02:00
ThorstenB
56912c17c5 adf: fix "in-range" node
"in-range" should also be false when no station is available
2011-10-02 13:24:12 +02:00
ThorstenB
558f0c2d8f multiplay manager: option to disable freeze-on-replay feature 2011-10-02 13:23:31 +02:00
ThorstenB
a6a6910653 ATCMGR: fix minor output formatting issue 2011-10-02 13:22:09 +02:00
ThorstenB
ab84ff5904 Replay upgrade, part II: Integrate flight recorder, update replay system.
Drop hard-coded replay property logic, cut ties to net_ctrls, net_fdm.
Improve replay system controls and status information.
2011-10-01 22:58:40 +02:00
ThorstenB
d64bcf0175 Replay upgrade, part I: Add new flight recorder. 2011-10-01 22:41:53 +02:00
Mathias Froehlich
7645dd3a1d hla: make use of createJoin/resignDestroy. 2011-10-01 18:37:55 +02:00
James Turner
283b26114c Fix glx shutdown to only apply on Unix & !Mac (but we should really add a proper ifdef for GLX) 2011-10-01 10:05:01 +01:00
Mathias Froehlich
978a577ea2 Ugly workaround for a crash on exit with multiple screens 2011-10-01 09:50:34 +02:00
Mathias Froehlich
af1e00ac72 clouds: remove unused bump mapping flag. 2011-10-01 09:22:44 +02:00
Anders Gidenstam
90b35f2cbe Added /scenery/events as a new MP enabled property for sharing scenery events. 2011-10-01 00:17:23 +02:00
ThorstenB
3c6b7e0836 Merge commit 'refs/merge-requests/1553' of git://gitorious.org/fg/flightgear into merge-requests/1553 2011-09-30 22:43:42 +02:00
ThorstenB
be720b424a fgpanel: fixed some error handling/setup issues
- Provide error message when fgdata path is missing.
- Exit game mode when closing/aborting program (show mouse cursor etc).
- Support absolute paths for "--panel" parameter.
- Don't crash when a font is missing.
2011-09-30 22:20:00 +02:00
Torsten Dreyer
478e771632 Add a localizer audio ident class
This will be needed soon in the new navradio code.
2011-09-29 00:01:44 +02:00