James Turner
56bebe2a9b
Add GNU install dirs helper to local modules, since it's only available with very newest CMake releases.
2011-11-04 11:08:00 +00:00
James Turner
ecced6be78
Fewer static properties in the main loop, minor code tidying.
2011-11-04 09:40:09 +00:00
James Turner
23ae77cedf
CMake support for man page generation
2011-11-04 09:38:07 +00:00
Anders Gidenstam
cc1ab5b8b5
src/Main/options.cxx: It is rather common to have two --multiplay arguments.
2011-11-02 20:35:37 +01:00
James Turner
d75c0878fe
Switch the realWx controller to use the event-manager, and be slightly quieter.
2011-11-01 22:40:31 +00:00
James Turner
4b8ef9c3cf
Add compile-time support for a custom fg-root location, when using CMake
2011-11-01 17:05:54 +00:00
James Turner
e819a4aaa4
Make all FDMs selectable at runtime; default LARCsim/UIUC to off.
2011-11-01 16:21:59 +00:00
Mathias Froehlich
d1e5dc95ca
Remove automake ignores.
2011-11-01 13:53:52 +01:00
James Turner
70b4f38ebc
Goodbye automake.
2011-11-01 11:15:53 +00:00
James Turner
e3037b638f
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.
2011-10-31 13:08:58 +00:00
ThorstenB
c697c3cc3d
Fix stupid compile-time switch issue...
...
... introduced by recent commit.
2011-10-30 20:49:48 +01:00
ThorstenB
acdf0dc469
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
2011-10-30 14:48:53 +01:00
Erik Hofman
8f50e24f88
Merge branch 'next' of git://gitorious.org/fg/flightgear into next
2011-10-30 13:31:55 +01:00
Erik Hofman
1a13ecc1e9
Latest round of JSBim updates.
2011-10-30 13:30:57 +01:00
James Turner
43bc61d131
Make environment-manager closest airport updating quieter, and use an event instead of a manual time counter.
2011-10-30 11:59:24 +00:00
ThorstenB
9c04b2c1ad
TCAS: pressure vs radio altimeter
...
Altert altitudes refer to AGL/radar alt - not sea-level/pressure alt.
Avoids false alerts, i.e. while taxiing.
2011-10-30 11:47:28 +01:00
Mathias Froehlich
2a4657c609
Fix returning reference to temporary.
2011-10-30 10:31:41 +01:00
ThorstenB
b6695cd3fa
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.
2011-10-29 21:58:11 +02:00
Curtis L. Olson
355a17a562
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!
2011-10-29 10:36:34 -05:00
Curtis L. Olson
f59a0611f2
Add OPTION_MULTI to several more options that could potentially be used
...
multiple times to write/read data to more than one source.
2011-10-29 10:34:06 -05:00
Curtis L. Olson
33f7286180
Merge branch 'next' of gitorious.org:fg/flightgear into next
2011-10-29 10:31:56 -05:00
Mathias Froehlich
49b82663e2
Forward resize events to the stats handler.
2011-10-29 14:12:08 +02:00
James Turner
facf4c12d4
Make various protocols support multiple definitions, with the new options parsing code.
2011-10-29 11:15:45 +01:00
Curtis L. Olson
7c44fd4799
Merge branch 'next' of gitorious.org:fg/flightgear into next
2011-10-28 13:15:01 -05:00
Mathias Froehlich
81cab66c2c
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.
2011-10-28 17:43:47 +02:00
Curtis L. Olson
3f1a9d8de7
Merge branch 'next' of gitorious.org:fg/flightgear into next
2011-10-28 10:02:23 -05:00
Mathias Froehlich
0bd7078c42
Make use of SGTimeStamp for sleep*
2011-10-28 17:01:50 +02:00
James Turner
956ba8845b
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.
2011-10-28 15:09:10 +01:00
Curtis L. Olson
777b983094
Merge branch 'next' of gitorious.org:fg/flightgear into next
2011-10-28 07:10:24 -05:00
Durk Talsma
2da052d4ab
Merge branch 'next' of gitorious.org:fg/flightgear into next
2011-10-27 23:27:21 +02:00
Durk Talsma
7ae1aa4846
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.
2011-10-27 23:24:56 +02:00
Torsten Dreyer
b8cbaa9716
fgpanel: don't call nonexisting list
...
obviously something other was intended here.
2011-10-27 08:31:24 +02:00
Torsten Dreyer
1a80d70e00
Some autopilot fixes
...
- fix minor memory leak
- make autopilots addable and removeable at runtime
2011-10-27 08:27:52 +02:00
Durk Talsma
8eca759077
Merge branch 'next' of gitorious.org:fg/flightgear into next
2011-10-26 22:38:38 +02:00
Durk Talsma
538e632f45
* 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.
2011-10-26 22:26:37 +02:00
Curtis L. Olson
c1437d2c52
Merge branch 'next' of gitorious.org:fg/flightgear into next
2011-10-26 12:43:24 -05:00
James Turner
16a54a4409
Change a hot-spot in the AI code, to use cartesian instead of geodetic math.
2011-10-26 17:26:11 +01:00
Curtis L. Olson
35779cfafc
Merge branches 'next' and 'next' of gitorious.org:fg/flightgear into next
2011-10-25 09:31:18 -05:00
James Turner
34f86cd317
Many NavDisplay bug-fixes - almost usable now!
2011-10-24 23:55:46 +01:00
James Turner
9bd4ba6eb0
Anchor flight gear::Waypt's destructor, and make it virtual.
2011-10-24 18:21:50 +01:00
James Turner
fd06e568ea
CMake read me updates - document PREFIX_PATH
2011-10-24 09:10:06 +01:00
Mathias Froehlich
2bc5604797
Document fixed-near-far.
2011-10-23 16:45:00 +02:00
Mathias Froehlich
fea00cc9f8
Add seamless view muliscreen configuration.
...
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.
2011-10-23 16:40:13 +02:00
Mathias Froehlich
ad660380c2
Add fixed-near-far camera config parameter.
...
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.
2011-10-23 16:40:13 +02:00
James Turner
2157164271
Fix some code which clang didn't like
2011-10-23 15:33:00 +01:00
Durk Talsma
a6de24461e
Potential fix for bug #471 (crash in checkspeedadjustment).
2011-10-22 17:57:37 +02:00
James Turner
6ddc8e3390
source packaging for CPack
2011-10-22 16:07:09 +01:00
Frederic Bouvier
8057c50849
AITraffic fix - forgot two files
2011-10-22 10:31:38 +02:00
Frederic Bouvier
4d9439d0c1
Merge branch 'next' of git://gitorious.org/fg/flightgear into next
2011-10-22 10:16:26 +02:00
Frederic Bouvier
3a262fe7d3
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
2011-10-22 10:15:16 +02:00