1
0
Fork 0
Commit graph

7047 commits

Author SHA1 Message Date
Frederic Bouvier
5e30675c70 Fix issue #398: Menubar - Help > Help opens strange path when including space character 2011-08-08 23:26:58 +02:00
Durk Talsma
8212c88969 Fix state changes related to hold position and resume taxi ATC instruction. 2011-08-08 21:50:44 +02:00
Durk Talsma
b5025ccf5d Merge branch 'next' into durk-atc 2011-08-08 20:20:21 +02:00
James Turner
a18dc00f4a Merge branch 'next' of gitorious.org:fg/flightgear into next 2011-08-08 18:17:15 +01:00
James Turner
3c9f4ad73e Switch RealWx to use simgear::HTTP class. Also tweak metar-proxy to send a HTTP status response. 2011-08-08 18:16:49 +01:00
Mathias Froehlich
fc38d69823 Fixes #397: YASim aircraft start at >32000ft instead of runway
The usual 'modify code before checkin but past testing' Problem.
Return the elevation of the intersection result instead of the
elevation of the querys start point.
2011-08-08 19:12:14 +02:00
Durk Talsma
5f3804e816 AI/ATC enhancements:
- Better transistion between taxi and takeoff phases.
 - Skipping the pushback stages when a gate doesn't require push-back.
 - Some test code always chooses the user aircraft as the one that has to hold position.
2011-08-07 21:38:50 +02:00
ThorstenB
d3c06bd19b #389: NumPad keys not working when NumLock is off
Map keys to something useful when NumLock is off (arrow keys etc),
since keycode was completely ignored (out of range) otherwise
2011-08-07 18:24:13 +02:00
Stuart Buchanan
02cf9774e8 Add property binding for 3D cloud wrapping. Note that this relies on SimGear commmit 410c5ae 2011-08-07 14:27:36 +02:00
Mathias Froehlich
2c24b1da17 Use the bv tree leafs for altitude queries.
Make use ot the bounding volume tree nodes already
present in the scenegraph for the ground cache for
scenery intersection and elevation queries.
2011-08-07 11:12:45 +02:00
Durk Talsma
37591d0ac9 Merge branch 'next' into durk-atc 2011-08-07 09:33:54 +02:00
Durk Talsma
63151fd579 Reinstate the check for aircraft that are under tower control. 2011-08-07 09:24:15 +02:00
ThorstenB
0b04bf9cdd #393: Vertical speed indicator affected by sim speed up
VSI showed incorrect values with sim speed-up factors != 1.
Time dt must be corrected by sim speed up factor.
2011-08-06 12:54:21 +02:00
Durk Talsma
513d2d7dad Merge branch 'next' into durk-atc 2011-08-04 19:01:26 +02:00
ThorstenB
c4dc12ec94 Improved CMake support for libsvn
Don't detect libsvn without APR.
When installed, enable libsvn support by default (same as for automake).
When enabled, provide libsvn to fgfs.
gitignore temporary CMake files
2011-08-04 18:59:46 +02:00
Durk Talsma
98048d1000 Some preparory work for enabling the handover from ground to tower controller. 2011-08-03 23:09:52 +02:00
Durk Talsma
449675deca Removal of some debugging statements. 2011-08-03 21:23:42 +02:00
Durk Talsma
4928886e56 Bugfix: Change the point where leg numbers recycle, in order to avoid hitting the default case in AIFlightPlan::create(). 2011-08-01 21:34:33 +02:00
Durk Talsma
2c1de98ef3 Merge branch 'next' into durk-atc 2011-07-31 19:31:25 +02:00
Durk Talsma
f84d9d4757 A fairly major interal reorganization of the AI code
- Change AIFlightPlan::waypoint into an independent class FGAIWaypoint
 - Don't update leg count until the aircraft has passed the last waypoint that was created by the corresponding leg
 - Clear ground network rendering for controllers that are no longer active.
2011-07-31 19:27:44 +02:00
ThorstenB
b0a4299d46 #232: early propagation of "point sprites for runway lights" switch
Property value is required early during initialization since the feature
isn't run-time configurable. Disable run-time calls since it has no effect.
2011-07-31 13:33:11 +02:00
James Turner
6c52a5ac85 Fixes for include-file flattening - condition.hxx no longer pulls in props or props_io 2011-07-30 10:47:28 +01:00
Torsten Dreyer
62e46b09a5 fix for #381:fgfs -h -v throws error with no --fg-root
Because there is no help without fgdata,
be a little more verbose with the error message and
give the user at least a hint about what might help.
2011-07-28 22:52:40 +02:00
Mathias Froehlich
b3ad524cec Try to fix using an own cull visitor with osg 3. 2011-07-28 18:23:54 +02:00
Durk Talsma
0215d66957 Bugfix: fix the on-runway crash, as reported by several people on the forum and mailing list. 2011-07-27 11:01:37 +02:00
Durk Talsma
987a0fd1df Fix broken constructor to prevent a segfault when deleting taxiroute during program shutdown. 2011-07-26 18:28:34 +02:00
Durk Talsma
dbceffeae8 Fix flightplan initialization issue. 2011-07-25 21:36:09 +02:00
Durk Talsma
acb2bc9286 Bugfixes:
- Allow the ATC/AI code to start from a non-airport location
	- Windows compilation fixes.
2011-07-25 12:53:10 +02:00
Durk Talsma
561282b2f9 Rename ATCDCL/ATCDialog.[ch]xx to ATCDCL/ATCDialogOld.[ch]xx to prevent compilation problems under windows (as reported by Alan Teeder). 2011-07-24 19:19:20 +02:00
Torsten Dreyer
0c9716227c let bool FGAIFlightPlan::createCruise() return a value
fix Windows build.
2011-07-24 17:22:00 +02:00
Mathias Froehlich
971e98cd14 Fix cmake build. 2011-07-24 14:38:53 +02:00
Durk Talsma
3f26233d69 Some cleanup in the ATC/AI code before merging with the next branch:
- Hide the ATC dialog box by default
 - Allow dynamic enabling and disabling of the AI groundnetwork visualization
 - Cleanup of debug messages
2011-07-24 12:48:13 +02:00
Durk Talsma
5228053f7f Merge branch 'next' into durk-atc 2011-07-24 08:44:22 +02:00
Torsten Dreyer
3723de56ca Experimental navinfo() Nasal extension function
Add a navinfo() Nasal extension function to provide
information about navaids. Inspired by the airportinfo
function.

This is work in progress, do not rely on this in your Nasal
code - the interface might change over the next weeks.
2011-07-22 12:37:41 +02:00
James Turner
1c8d8e7908 More CMake headers support 2011-07-19 07:58:03 +01:00
James Turner
7abf7c5748 CMake header support for XCode/Visual Studio 2011-07-19 07:58:03 +01:00
Torsten Dreyer
7c56cc617d Fix minor memory leak in terrainsampler
Thanks to ThorstenB
2011-07-18 11:55:50 +02:00
Torsten Dreyer
c6d5b6ebdb Partial fix for #228: ambiguous navaid-names
This fixes at least the startup process.
If an ambigous fix name was presented with --vor=ID or --ndb=ID
present a list of matching records along with frequency and
position in the console to give the user the chance to pick
the correct one by adding the frequency with --vor-frequency=nnn.nn

It does not yes solve the issue when the user relocates using the
GUI dialog. This requires some GUI and Nasal hacking along with a
new Nasal helper function "navaidinfo".
2011-07-18 11:09:43 +02:00
Torsten Dreyer
24383e5194 Two minor MSVC90 build fixes
- provide SIMGEAR_VERSION in no_version.h
- remove duplicate define of FLIGHTGEAR_VERSION
2011-07-18 10:24:52 +02:00
Torsten Dreyer
ca02aa8a04 JoystickInput: fix potential init problem
Don't remember the axis position before bindings are loaded
2011-07-17 22:26:37 +02:00
Torsten Dreyer
1cf7e78ae5 Fix compile for 32bit (handleFPE() undeclared) 2011-07-17 22:15:57 +02:00
Torsten Dreyer
c1d150a8e5 Ray protocol: don't use hardcoded gravity 9.81 2011-07-17 19:32:16 +02:00
Torsten Dreyer
eab9a65ebc Fix some gcc warnings 2011-07-17 19:31:28 +02:00
James Turner
b0566a3ed0 Fix make dist rule for removed files. (will pick to 2.4) 2011-07-17 11:58:46 +01:00
Torsten Dreyer
c238f86637 Bump to version 2.5.0 2011-07-17 11:07:07 +02:00
Torsten Dreyer
172c635f03 Bump version to 2.4.0 2011-07-17 10:47:27 +02:00
James Turner
8e682cb8a4 Disable flight-related key-bindings in the WaypointList widget for 2.4 release, pending a better solution to PLIB's lack of focus. 2011-07-16 13:25:29 +01:00
ThorstenB
80f9092460 Fix issue reported by heap debugger
Subsystems are erased by the subsystem manager - so better avoid
dependencies in their destructors.
2011-07-14 00:22:35 +02:00
ThorstenB
dcc8d22f7c Don't crash on exit, when initialization was aborted.
Some errors cause fgfs to abort/exit before "controls" is set.
2011-07-13 21:52:29 +02:00
ThorstenB
ccd6a094f1 Avoid creation of stray "/null" property nodes.
"property-assign" command had a side-effect of creating stray "/null"
nodes when assigning a value (since "getprop2" always creates some node).
2011-07-10 21:25:16 +02:00
ThorstenB
cbc048b801 Fix minor DME frequency issue.
DME frequency value should be double - not string.
2011-07-10 12:52:45 +02:00
Torsten Dreyer
5303d15aa3 Fix #369: ATIS receiver has excessive range
Add a range filter when searching for CommStations,
searching by frequency is not enough.
2011-07-08 10:56:18 +02:00
Mathias Froehlich
32159c6bce Make the 32'th joystick button work. 2011-07-07 18:41:26 +02:00
ThorstenB
eb3f135985 #367: Add visible error messages when flight plan file isn't found/readable 2011-07-07 08:44:09 +02:00
ThorstenB
b839e8c3ac #367: raise log level for some routemanager error messages
When flightplans cannot be loaded (i.e. --flight-plan command-line
option fails), make sure the message is visible to the user with
default log level.
2011-07-06 22:33:19 +02:00
Torsten Dreyer
d45bfbf225 Fix #220, Ctrl-U no longer working for YASim
Set model-state's position from properties so it can be manipulated
from the property tree.
2011-07-05 17:33:11 +02:00
Anders Gidenstam
69905cc45b Fixed faulty frame transformation of moment of inertia.
Thanks to Jon for finding the problem.
2011-07-03 22:06:54 +02:00
ThorstenB
4fd1e219a4 #348 related: More places where missing files were not reported properly
Whenever resolving a (relative) path to an absolute path with
'resolve_maybe_aircraft_path', check if the result is empty and report original
(relative) path as missing. Otherwise no or a meaningless message is
issued ("File '' not found.").
2011-07-03 13:06:41 +02:00
Durk Talsma
f8a8805e2d Merge branch 'next' into durk-atc 2011-07-01 22:20:40 +02:00
Erik Hofman
18eff91839 Update to sync with JSBSim CVS, small bug fixes. 2011-07-01 08:21:06 +02:00
Torsten Dreyer
279fbdc837 Fix #357: Enabling "fixes" on map dialog crashes FG
This happened for fixes with names shorter than 5 characters.
range check added, which operator[] does not perform.
2011-06-28 12:51:00 +02:00
ThorstenB
b2c03e4efc #178: improve normalization issue (avoid loops altogether)
thanks to Torsten
2011-06-26 19:05:28 +02:00
ThorstenB
68dec9af2d #178 related: avoid sim from freezing when FDM goes wild 2011-06-26 16:18:36 +02:00
ThorstenB
1ebab94710 #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.
2011-06-26 16:08:19 +02:00
ThorstenB
c19664291f #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.
2011-06-25 20:44:44 +02:00
James Turner
029d2b00eb Tone down some log output for the release, especially related to airways/navaid loading. 2011-06-25 16:18:07 +01:00
Frederic Bouvier
523f7f4cb7 Trying to fix compilation failure on Linux and Mac 2011-06-25 10:05:38 +02:00
Frederic Bouvier
243acb61c8 Fix issue #354: updateCameras reset viewport size to its initial value on OSG 3.0 2011-06-25 09:22:51 +02:00
ThorstenB
e19c49a273 Enable parameter for new command-line option. 2011-06-22 20:01:31 +02:00
ThorstenB
cd20c6073c #346 related: missing status message for property server
Provide same start-up status message as for other protocols.
2011-06-20 22:50:07 +02:00
Erik Hofman
fac1525fde Removed useless divisions - As a side effect, it removes the risk of divisions by zero 2011-06-19 10:34:21 +02:00
Erik Hofman
02eb2ac2e1 Improved the calcs during trimming after a suggestion from Dennis 2011-06-18 17:50:47 +02:00
Erik Hofman
1dbc2c0f7a Fixed switch parsing and message 2011-06-17 14:16:49 +02:00
Erik Hofman
ec454158fe sync with JSBSim CVS 2011-06-17 09:26:52 +02:00
ThorstenB
702d323a39 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!)
2011-06-13 20:31:27 +02:00
ThorstenB
25fdbebd57 Revert "issue #127: make screen shots work with OSG multi-threading"
This reverts commit b4d90150c5.
2011-06-13 00:52:43 +02:00
ThorstenB
9d7ec8f238 Martin Spott: Fix special FDM define for CMake. 2011-06-13 00:46:50 +02:00
ThorstenB
826784eb18 Martin Spott: Add CMake DBus support for event driven input.
Tested on Linux only, please improve if you see fit.
2011-06-13 00:45:40 +02:00
ThorstenB
76ffb086eb Betrand Coconnier: fix for issue #220 for JSBSim a/c
Modifying /position/altitude-ft did not change a/c position
2011-06-12 21:04:16 +02:00
ThorstenB
88f7c05274 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.
2011-06-12 20:31:56 +02:00
ThorstenB
505d4c5219 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.
2011-06-12 13:53:14 +02:00
ThorstenB
d767fe1696 Avoid compiler warning. 2011-06-12 13:45:10 +02:00
ThorstenB
ee40e8ae3f Introduce terrasync subsystem.
Fix tile reloading issue.
2011-06-12 00:44:07 +02:00
Torsten Dreyer
bad5fbf66a Use computed gravity instead of hardcoded value 2011-06-08 20:17:40 +02:00
Torsten Dreyer
f52cf4e3b8 Merge commit 'refs/merge-requests/11' of git://gitorious.org/fg/flightgear into vivian 2011-06-08 20:12:53 +02:00
ThorstenB
db7112c20b Remove stray space
Thanks to Vivian - make MSVC9 happy again.
2011-06-06 19:53:21 +02:00
Vivian Meazza
8b6779aa96 Bugfix: set life timer to 0 on instantiation and when ballistic object dies.
Signed-off-by: Vivian Meazza <vivian.meazza@lineone.net>
2011-06-06 09:32:00 +01:00
Mathias Froehlich
d21924770f Avoid crashing in hla initialization failure. 2011-06-05 13:45:40 +02:00
Erik Hofman
afca14c372 add a sanity check for the overcast property 2011-06-05 10:26:55 +02:00
Erik Hofman
8f3cdc9404 Add a /rendering/scene/overcast option to color the skydome gray in case of overcast 2011-06-05 10:20:16 +02:00
Durk Talsma
808c4c635d Merge branch 'next' into durk-atc 2011-06-05 10:06:35 +02:00
ThorstenB
bc9ffe96c2 Minor error message formatting. 2011-06-04 17:55:37 +02:00
ThorstenB
a2c768c7cd Fix crash when display/screen number invalid
getScreenResolution shouldn't be called before the safety check.
Fixes commit ba7d8b8155
2011-06-04 17:55:12 +02:00
Torsten Dreyer
c9bb9f6044 Merge branch 'next' of gitorious.org:fg/flightgear into next 2011-06-04 15:58:54 +02:00
Torsten Dreyer
0774ca000a Anticipating v2.4.0 - bump fgdata version to 2.3.0 2011-06-04 15:53:38 +02:00
Erik Hofman
8b72e13d2f As torten explains: it is probably not a good idea to ti /environment/relative-humidity since the FGEnvironment ties to this property too 2011-06-04 15:39:45 +02:00
Erik Hofman
c346bcee77 Add the /rendering/scene/scattering property to allow the weather system to contoll the amount of light scattering (or absorption) of the fog 2011-06-04 13:11:56 +02:00
Torsten Dreyer
f28ddb0b5a 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.
2011-06-03 22:05:43 +02:00
Durk Talsma
2f3faf4b8a Compilation error fixes following merge with next. 2011-06-03 10:02:18 +02:00
Durk Talsma
348ff2ec23 Merge branch 'next' into durk-atc
Merge with next.
Conflicts:
	src/Airports/dynamics.cxx
	src/Airports/dynamics.hxx
2011-06-03 09:31:04 +02:00