ThorstenB [Sun, 26 Jun 2011 14:08:19 +0000 (16:08 +0200)]
#358: Missing option to disable AI scenarios
--ai-scenario=... can only add/enable another scenario.
Introduce --disable-ai-scenarios option to disable all scenarios (can be
used by external launchers, GUIs etc)
Also provide error instead of debug message when a scenario cannot be loaded.
ThorstenB [Sat, 25 Jun 2011 18:44:44 +0000 (20:44 +0200)]
#221, #242: Fix/work-around for AI traffic issues
Move the disable-HOT feature from the MP aircraft to the a/c base class,
disable HOT for all AIaircraft, since that's a fix/work-around for
#242: AI aircraft respect the user a/c only when HOT is _disabled_ for them
#221: AI aircraft don't stack at parking positions when HOT is disabled
Also generally disables HOT for ballistic and other models (suggested by vivian),
allowing it for ship/carrier models only.
ThorstenB [Mon, 13 Jun 2011 18:31:27 +0000 (20:31 +0200)]
issue #127: make screen shots work with OSG multi-threading
Make sure actual snap shot is executed in graphics context.
(Revert the revert :) - since the basic issue in simgear is solved now)
(patch requires simgear+fgdata update!)
ThorstenB [Sun, 12 Jun 2011 18:31:56 +0000 (20:31 +0200)]
Introduce "PRESERVE" flag to protect properties on sim reset.
Some specific properties need protection and shouldn't be restored to their
original values on sim-reset.
ThorstenB [Sun, 12 Jun 2011 11:53:14 +0000 (13:53 +0200)]
Do not reset persistent properties on sim-reset.
Fixed ugly sim-reset issue: Persistent properties (USERARCHIVE attribute)
are retained across sim sessions (when restarting the sim). So they should
also be retained on sim-resets (without the need to first exit/restart
the sim to make them really persistent).
Also, avoid warning due to read-only properties.
ThorstenB [Sat, 4 Jun 2011 15:55:12 +0000 (17:55 +0200)]
Fix crash when display/screen number invalid
getScreenResolution shouldn't be called before the safety check.
Fixes commit ba7d8b8155731c95acf43f5e5a5a007cc6e96cdc
Torsten Dreyer [Fri, 3 Jun 2011 20:05:43 +0000 (22:05 +0200)]
Fix bug#333 2D clouds sometimes not visible with material shaders are disabled
Only draw 3d clouds if enabled and shader-effects are true.
Remove the property-tie for 3dclouds-enabled and use a change listener
instead which also listens for changes of the shader-effects property.
ThorstenB [Wed, 1 Jun 2011 19:31:48 +0000 (21:31 +0200)]
Ensure window position is 0,0 for multi-display setups with fullscreen mode
Fix an issue introduced by commit 863551a932e21f3d4315c0ceb51005929acc9f20
for multi-display setups.
Some code clean-up.
Torsten Dreyer [Tue, 31 May 2011 13:28:32 +0000 (15:28 +0200)]
Compute gravitational acceleration
Compute gravitational acceleration based on the formula of
Somigliana corrected for altitude and provide the value
in property /environment/gravitational-acceleration-mps2
ThorstenB [Sat, 28 May 2011 22:05:33 +0000 (00:05 +0200)]
Bertrand Coconnier: bug fix for #184, JSBSim: command line arguments
1. The atmospheric properties of FG are not yet initialized when
JSBSim is initialized.
-> patch is quite basic and there may exist smarter ways to initialize
properly the environment before the FDM.
2. The Euler angles were initialized after the velocities.
3. The glide slope and rate of climb were ignored. Fixes all FDMs (YASim,
UIUC, JSBSim, etc.)
4. Some properties were instructed to re-use their previous value while
they should not.
5. Some bugs existed in JSBSim trim code. -> This bug has already been
fixed in JSBSim but the corresponding patch has not yet been applied to FG.
ThorstenB [Sat, 28 May 2011 21:27:46 +0000 (23:27 +0200)]
issue #127: make screen shots work with OSG multi-threading
Make sure actual snap shot is executed in graphics context.
(patch requires simgear+fgdata update!)
James Turner [Sat, 28 May 2011 20:20:06 +0000 (21:20 +0100)]
Fix yet another subtle resize problem I introduced, which upset PUI. This code is terribly fragile - yuck. Thanks to papillion 81 for tracking down the issue,