ThorstenB
33c63a6d72
This 'fixes' #613 but partly re-introduces #553 .
2012-02-06 22:12:58 +01:00
Frederic Bouvier
65628aab54
Merge branch 'next' of git://gitorious.org/fg/flightgear into next
2012-02-05 15:18:26 +01:00
Frederic Bouvier
462079151c
Fix MSVC90 project
2012-02-05 15:17:15 +01:00
ThorstenB
0b049c877a
#591 : night-time rendering issues, avoid negative color values
...
Fog color became negative at certain sun angles (around midnight), which
resulted in weird sky dome coloring issues.
Hack: simply clamp the value for now.
2012-02-05 15:14:30 +01:00
Torsten Dreyer
62dfa8cc64
new command: property-interpolate
...
exposes the SGInterpolator to <binding><command>
formerly only accessible via Nasal
2012-02-02 22:17:34 +01:00
Torsten Dreyer
72483d565b
initialize the heading-indicator/offset-deg in it's class
...
Don't initialize the offset in the main loop but in
the init method of the implementing class. This ensures
it gets initialized if you instantiate more than one
heading-indicator and does not initialize the property for
unsused heading-indicators (no more stray heading-indicator-fg
property anymore).
2012-02-01 22:24:06 +01:00
ThorstenB
5c3b6a2cc4
Fix string buffer issue with replay time display.
...
Unclean method of appending a string to a buffer would break with
some compiler optimization settings.
2012-01-31 23:19:02 +01:00
ThorstenB
5f6012802f
Use existing define to supply version number.
2012-01-31 21:42:37 +01:00
ThorstenB
7b83b49260
Oops...
2012-01-29 10:44:28 +01:00
ThorstenB
3e08e5ecfe
Minor clean-up.
2012-01-29 10:34:11 +01:00
James Turner
b501dc97ce
Bug 620, respect enable/disable state of entire menus when using native Cocoa menu
2012-01-25 18:56:51 +00:00
ThorstenB
b70055a9a2
fgpanel: use same default fgdata path as fgfs
...
Use location configured at compile-time (Linux) or use run-time check (Mac)
(copied from fgfs/options.cxx).
2012-01-25 17:37:14 +01:00
ThorstenB
477e621633
#561 : normalize to [0-360[
2012-01-22 19:15:25 +01:00
ThorstenB
4e9e35a0a2
#609 route manager/nav display related startup segfault
...
Immediately update the property-tree mirror when adding waypoints (i.e.
using the "--flight-plan=..." startup option).
2012-01-22 11:23:56 +01:00
ThorstenB
64fda03bd6
#605 : Reduce warning level for unsupported keys.
2012-01-18 21:41:55 +01:00
ThorstenB
90ce4ec93d
Clean-up: move autosave.xml loading code to proper method
2012-01-17 23:49:25 +01:00
ThorstenB
3100da1602
Fix "make package_source" target.
...
Hopefully fixes the Jenkins release builds...
Also use bz2 compression only - same as for simgear.
2012-01-17 23:29:16 +01:00
Stuart Buchanan
4c321b6b80
Add property controls for cloud impostors and LoD hierarchy radii.
2012-01-17 22:16:58 +00:00
Torsten Dreyer
3bfee87bba
bump version number to 2.7.0
2012-01-17 08:36:20 +01:00
Torsten Dreyer
979fc9785b
bump version number to 2.6.0
2012-01-17 07:46:52 +01:00
Curtis L. Olson
eb5f93c5e0
Keeping this package file up to date as we go forward.
2012-01-16 16:48:49 -06:00
James Turner
96cd6018f9
Allow distinct rule and symbol definitions for navDisplays.
2012-01-14 17:00:50 +00:00
ThorstenB
0b6579e0e4
Fix a minor warning.
...
System complains about "system" call's result being ignored.
2012-01-12 22:14:17 +01:00
ThorstenB
6f4a090770
#199 : fix issue with relative paths
...
Relative paths don't work with FG. Since we Linux users just love
command-lines and often do use relative paths, make sure to convert them
before use.
2012-01-12 22:14:17 +01:00
James Turner
472cc02d6e
NavDisplay: fix update lag when switching range or centre.
2012-01-12 10:08:08 +00:00
ThorstenB
d051ba5cd2
#577 : blinking not working for static HUD labels
...
Only worked for dynamic labels displaying a property (mode!=NONE).
2012-01-10 22:01:05 +01:00
ThorstenB
6b348dc481
#590 : agradar copying an uninitialized string
...
Thanks to Olaf Flebbe.
2012-01-09 23:41:07 +01:00
Olaf Flebbe
0eda5eee81
virtual destructor missing (in order to silence llvm warning)
2012-01-09 21:07:18 +01:00
adrian
045912f5a7
ITM radio calculations are only considered valid
...
between 40 MHz and 20 GHz.
Fix for bug which assigns a frequency of 0 MHz to
AI aircraft, thus resulting in infinite values.
2012-01-09 21:01:01 +01:00
ThorstenB
e82c36d76b
#587 : don't crash on negative sizes
...
(see simgear commit)
2012-01-09 20:29:51 +01:00
Erik Hofman
699f4eeb38
fix a typo
2012-01-09 08:14:46 +01:00
James Turner
fdbdbfe93d
When clearing the route, skip generated waypoints.
2012-01-08 19:31:07 +00:00
Mathias Froehlich
db241f3e10
Handle unset texture-compression property correctly.
2012-01-08 20:19:36 +01:00
James Turner
975a5202a8
NavDisplay: fix many bugs relating to stretched and heading-rotated symbols.
2012-01-08 17:47:13 +00:00
Erik Hofman
5f0066c4c2
Fix the sun position and fog/ambient coloring misalignment
2012-01-08 16:28:43 +01:00
Erik Hofman
94e4d19ad1
Merge branch 'next' of gitorious.org:fg/flightgear into next
2012-01-08 15:38:22 +01:00
Erik Hofman
3abf0b5df1
remove some ugly while loops
2012-01-08 13:51:38 +01:00
ThorstenB
59d400d58b
Temporarily disable Nasal callbacks in lazily loaded scenery models
...
to avoid segfaults due to multi-threading issues. Will need to be replaced
by proper fix, if this proves Nasal related segfaults to be fixed.
2012-01-08 13:31:49 +01:00
ThorstenB
246feef85f
#553 : MP-model-loading related segfault
...
MP aircraft are loaded by a separate OSG thread (introduced after FG2.4.0).
The OSG thread also calls the "modelLoaded" callback. However, we mustn't
allow the OSG thread to call FGNasalModelData::modelLoaded directly:
FGNasalModelData isn't thread-safe. There are obvious issues (_callCount++;),
tricky issues like calling the Nasal _parser_ or creating hashes and
modifying the global Nasal namespace. It doesn't use locks to protect
against another thread executing a Nasal context or running garbage
collection. It also executes Nasal code itself (the model's "load" hook),
which we also cannot allow in a separate thread...
This patch returns all Nasal parts of MP-aircraft loading (parsing,
module creation, execution) to the main thread, while keeping the
multi-threaded OSG part (loading of MP-aircraft model files itself).
The same issue exists with scenery models (see other commit).
To summarize with 2 words: It s*cks... ;-)
2012-01-08 13:28:49 +01:00
ThorstenB
277ba10b39
Potential fixes for #548 , #572 , groundnetwork related segfaults
...
Add some pointer checks - so we at least get some error message naming the
airport with the broken network.
2012-01-08 12:31:18 +01:00
Erik Hofman
d91a617423
vecotry color calculations
2012-01-08 12:09:46 +01:00
ThorstenB
484d3c61f8
#561 , clean-up using normalizePeriodic. Thanks to Hyde & James.
2012-01-07 08:17:34 +01:00
James Turner
da7adf63c0
Shortcuts support in the Cocoa menubar. We have fewer keyboard shortcuts for menu items than I realised.
2012-01-06 23:46:35 +00:00
James Turner
b1c6e31c22
Tweaks to get TCAS / multiplayer aircraft showing on the NavDisplay.
2012-01-06 20:47:21 +00:00
James Turner
a0bfa25aa7
Tweak the app-data path on Mac, after discussion with Tat.
2012-01-05 22:10:19 +00:00
Curtis L. Olson
cf86d37514
Fix YASim's /accelerations/pilot/{x,y,z}-accel-fps_sec computations. These
...
are the accelerations (forces) as felt from the pilot's perspective. This
combines the accelerations due to change in velocity vector and gravity.
Previosly the gravity part was right, but the body accelerations were being
transformed incorrectly. The error was very subtle and basically amounted to
the fact that inverting an axis of a vector before transforming it is not
equivalent to transforming the vector and then inverting that axis.
After this fix, pilot accelerations + gyro + gps can be fed into an external
kalman filter and it will converge properly (extra confirmation that there
was a problem and this fix corrects it.)
2012-01-04 19:17:32 -06:00
Stuart Buchanan
af150d1a56
Only initialize MP subsystem if a txhost is set.
2012-01-04 21:47:35 +00:00
James Turner
a3c243f266
Mark NavDisplay stateSet as STATIC
2012-01-04 12:43:25 +00:00
ThorstenB
23cdb0d302
#561 : keep magnetic heading within limits when mag-variation is negative
...
Thanks to Hyde!
2012-01-04 00:00:10 +01:00
ThorstenB
476a96dacf
Fix copy&paste issue in previous commit... *yuk*
2012-01-03 22:10:56 +01:00