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
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
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
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
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
James Turner
e50ff87300
Relocate appData fgfsrc loading prior to init of fg-root, so we can specify --fg-root that way.
2011-10-21 16:49:15 +01:00
James Turner
e1be74902a
Fix automake linkage of metar utility.
2011-10-21 14:15:40 +01:00
Frederic Bouvier
90b67e5fd5
Fix win32 cmake build of metar
2011-10-21 14:36:04 +02:00
Frederic Bouvier
ce97e3b57f
Fix win32 build of metar
2011-10-21 14:09:01 +02:00
James Turner
1b3ea65b5e
Hold an owning ref to the HTTTP request.
2011-10-21 12:58:19 +01:00
James Turner
c5cbc57895
Bring metar helper into CMake world, and use new HTTP code.
2011-10-21 12:48:42 +01:00
James Turner
8ef07230c4
Update FGMetar for revised SGMetar constructor.
2011-10-21 10:57:45 +01:00
James Turner
8382a8dc1e
CMake readme tweaks.
2011-10-19 10:24:10 +01:00
James Turner
617fb0299b
Merge downstream fix from Gentoo, to deal with libsvn versions.
2011-10-19 10:03:06 +01:00
James Turner
76c388f7cb
Minor CMake packaging tweaks, more to follow.
2011-10-18 12:14:20 +01:00
James Turner
dde3576cfb
Add README on basic CMake usage.
2011-10-18 12:13:49 +01:00
James Turner
b1b4b7ecf4
Fix (nearly) all the std:: namespace violations in headers, in preparation for fixing SGsmplstat.hxx to *not* do a 'using namespace std'.
2011-10-17 17:41:59 +01:00
James Turner
3d861475f7
Fix two issues caught by the German QA department ;)
2011-10-17 17:39:47 +01:00
James Turner
0f5d27c10e
Detect and read a config file in FG_HOME - allows nicer tweaking of settings on Mac/Windows for people with Terminal/cmd.exe phobia :)
2011-10-16 21:54:47 +01:00
James Turner
407a495546
Automate TerraSync integration with the scenery / dir creation. Now can be used with only --enable-terrasync (and some patience)
2011-10-16 21:46:27 +01:00
James Turner
3d0254f6ec
Allow aircraft-dir option to override aircraft search logic completely.
2011-10-16 21:15:54 +01:00
James Turner
ccb21d4c0c
And keep platforms other than my beloved OS-X working too ;)
2011-10-16 19:58:22 +01:00
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