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
Durk Talsma
894f066370
Merge branch 'next' of gitorious.org:fg/flightgear into next
2011-10-09 23:46:52 +02:00
Durk Talsma
da3c098a4b
AITraffic exits the runway as soon as possible (in theory; the code still needs some fine tuning).
2011-10-09 23:44:42 +02:00
Torsten Dreyer
7431c14ba6
don't use uninitialized variables
2011-10-09 21:37:52 +02:00
Torsten Dreyer
9a21896a33
start adding backward-compatibility to newnavradio
2011-10-09 21:17:33 +02:00
ThorstenB
8b05d7b211
replay system: allow to resume simulation at any point of replay-time.
...
Currently supported for YASim only.
2011-10-09 20:36:01 +02:00
Torsten Dreyer
9022c6a58d
Reintroduce an old bugture: use localizer as dme
...
Our nav.dat.gz seem to have many bugs regarding paired LOC/DME where
the DME is missing.
A feature has recently been introduced to always use a LOC frequency
as a DME to avoid these issues. However many LOC station do not have
a DME paired at their frequency and this behaviour might be as confusing
as having no DME where one should be.
Before we get new/bugfree navdata, a property can be set to select
the desired behaviour:
if /sim/realism/dme-fallback-to-loc is true or absent, LOC will be
treated as DME (realism is off)
if /sim/realism/dme-fallback-to-loc is false, LOC will be NOT be
treated as DME (realism is on)
2011-10-09 20:21:02 +02:00
ThorstenB
30e2db94b1
Add generic "open-browser" command to show URLs or local HTML/text pages.
...
Replace deprecated "old-help-dialog" command with generic "open-browser".
Can also be used to add links to aircraft manuals in the menubar (local
file or http) , i.e.
<binding>
<command>open-browser</command>
<path>Aircraft/ogeL/FlightManual.html</path>
</binding>
2011-10-09 12:37:43 +02:00
ThorstenB
5b8ab277fd
Minor FDM shell performance improvement
...
Don't resolve all properties at run-time.
2011-10-09 12:24:16 +02:00
Durk Talsma
02712dc1ad
Several Bugfixes:
...
* Landing AIAircraft now land properly!!!
* Fixed problems with takeoff scheduling.
* Untangled several vertical speed calculation algorithms.
* No more bent-over-backwards and jump-in-the-air AI aircraft initializations.
* Fixed intermixed target speed and target altitude during climb phase.
* Implemented beginnings of a "line up and wait" procedure.
* Tried to use actual runway elevation for calculating the decent profile.
2011-10-09 00:25:04 +02:00
James Turner
ef995913e1
Further NavDisplay hacking, symbol binding is working more sanely now.
2011-10-07 08:34:56 +01:00
adrian
312447c565
Merge branch 'next' into comm-subsystem
...
Conflicts:
src/ATC/trafficcontrol.cxx
src/ATC/trafficcontrol.hxx
src/Instrumentation/CMakeLists.txt
2011-10-06 15:18:44 +03:00
Durk Talsma
a9ac75b9c9
Revert back to the version from sept 4. Vertical speed calculations of decending AI aircraft were messed up.
2011-10-05 21:40:47 +02:00
Torsten Dreyer
e9d24b05ca
Introducing: The new navradio code (WIP)
...
Here comes the work-in-progres code for a new navradio
implementation. Once completed, it will replace the
old/current navradio implementation.
The new code can be activated by setting
/instrumentation/use-new-navradio=true
at startup. This disables the old navradio implementation.
Current state:
- VOR works pretty good including the new
functionality 'code of confusion'.
- LOC and GS basically work
- backward compatibility (many properties) is to be implemented
2011-10-05 15:26:41 +02:00
Mathias Froehlich
a486eebeef
hla: Avoid explicit attribute update request. Is already done by simgear.
2011-10-04 20:58:46 +02:00
James Turner
c4c5cc850b
Adjust cursor-setting code, for better compatibility with Cocoa-Viewer (OSG patch still required, unfortunately)
2011-10-04 09:17:56 +01:00
James Turner
1692bc749e
Mac: Work-around for OSG3's Cocoa Viewer interacting badly with PUI
2011-10-04 09:14:15 +01:00
James Turner
41759b15d6
Work on the NavDisplay instrument.
2011-10-04 08:58:09 +01:00
Torsten Dreyer
5f2fff4ec4
Merge branch 'next' of gitorious.org:fg/flightgear into next
2011-10-03 22:29:48 +02:00
Durk Talsma
f2b354d9cb
Merge branch 'next' of gitorious.org:fg/flightgear into next
2011-10-03 20:57:32 +02:00
Durk Talsma
4640f5bb02
* A new algorithm for determining hold position instructions. This version still needs some finetuning, but already appears to be more solid than the old version.
...
* Some tweaks to the traffic scheduling algorithm.
* Misc cleanup.
2011-10-03 20:54:58 +02:00
Mathias Froehlich
40d72b3ba7
hla: use the property based interface from the property data element.
2011-10-03 13:00:25 +02:00
ThorstenB
3451012bca
Make LOD properties of AI/MP aircraft run-time configurable.
2011-10-03 12:01:58 +02:00
James Turner
465557cfa7
Improve magnetic heading handling in MapWidget - following some testing at NZCH
2011-10-02 14:30:06 +01:00
Mathias Froehlich
761644c51d
hla: use the new HLAFederate::processMessages() call.
2011-10-02 15:13:55 +02:00
ThorstenB
56912c17c5
adf: fix "in-range" node
...
"in-range" should also be false when no station is available
2011-10-02 13:24:12 +02:00
ThorstenB
558f0c2d8f
multiplay manager: option to disable freeze-on-replay feature
2011-10-02 13:23:31 +02:00
ThorstenB
a6a6910653
ATCMGR: fix minor output formatting issue
2011-10-02 13:22:09 +02:00
ThorstenB
ab84ff5904
Replay upgrade, part II: Integrate flight recorder, update replay system.
...
Drop hard-coded replay property logic, cut ties to net_ctrls, net_fdm.
Improve replay system controls and status information.
2011-10-01 22:58:40 +02:00
ThorstenB
d64bcf0175
Replay upgrade, part I: Add new flight recorder.
2011-10-01 22:41:53 +02:00
Mathias Froehlich
7645dd3a1d
hla: make use of createJoin/resignDestroy.
2011-10-01 18:37:55 +02:00
James Turner
283b26114c
Fix glx shutdown to only apply on Unix & !Mac (but we should really add a proper ifdef for GLX)
2011-10-01 10:05:01 +01:00
Mathias Froehlich
978a577ea2
Ugly workaround for a crash on exit with multiple screens
2011-10-01 09:50:34 +02:00
Mathias Froehlich
af1e00ac72
clouds: remove unused bump mapping flag.
2011-10-01 09:22:44 +02:00
Anders Gidenstam
90b35f2cbe
Added /scenery/events as a new MP enabled property for sharing scenery events.
2011-10-01 00:17:23 +02:00
Torsten Dreyer
478e771632
Add a localizer audio ident class
...
This will be needed soon in the new navradio code.
2011-09-29 00:01:44 +02:00
Christian Schmitt
ede92fce54
Fix a segfault that became apparent with a 850 apt.dat file
2011-09-28 10:18:12 +02:00
James Turner
dbda2fb95d
Switch ATCmgr comm station search to filter by range in cartesian, not geodetic, space, to avoid numerical instability with extremely distant stations.
2011-09-28 09:06:31 +01:00
Erik Hofman
dbe1504858
remove a cvs conflict
2011-09-26 10:50:48 +02:00
Erik Hofman
1df7b9cdc2
JSBSim fixes.
2011-09-26 09:07:59 +02:00
Durk Talsma
b482188848
Whoops, lazy copy/paste job.
2011-09-22 22:08:20 +02:00
Durk Talsma
0fca002ab6
Bugfix: Retrieval of the next radio frequency was broken. Contributed by Adrian Musceac.
2011-09-22 21:38:37 +02:00
Durk Talsma
152fec1cb6
Patch by Torsten Dryer: Remove the Ugly global dialog variable and remove rwy as a member variable from the AIFlightPlan class.
2011-09-22 20:52:05 +02:00
Durk Talsma
e00157d4e8
Merge branch 'next' of gitorious.org:fg/flightgear into next
2011-09-22 19:09:36 +02:00
Durk Talsma
5ae207c2fc
Prefetch a previously saved aircraft settings configuration file to retrieve aircraft usage and livery information. Fallback to default settings in aircraft-set.xml file if not found.
2011-09-22 19:06:26 +02:00
James Turner
54aca561b6
Fix JPEG-server builds.
2011-09-21 19:22:13 +01:00
Torsten Dreyer
fcf0371777
fix cmake conditional for event-input
2011-09-21 19:22:32 +02:00
Torsten Dreyer
d860c949e3
Merge branch 'next' of gitorious.org:fg/flightgear into next
2011-09-21 19:19:10 +02:00
James Turner
5a17ccf9eb
Push aspect-ratio handling into CameraGroup, so renderer doesn't need to resize viewports each update.
2011-09-21 17:13:53 +01:00
James Turner
227b3e469c
Remove indirection on viewer draw/resize code-paths.
2011-09-21 17:13:53 +01:00
James Turner
7dd8f00c42
Enable event-input for joysticks by default on Mac + Linux, in Cmake.
2011-09-21 17:13:13 +01:00
Torsten Dreyer
25707ce82e
Add debug messages for real-weather runway selection
2011-09-20 16:15:47 +02:00
James Turner
563614f36c
Expose route-manager WP mirror nodes on the API
2011-09-19 11:38:35 +01:00
James Turner
af6ed2ff3a
Expose departure+arrival airport + runway on route-manager.
2011-09-19 11:38:35 +01:00
James Turner
28c8e6fe1c
Initial hacking on nav-display instrument, derived from the wxradar code
2011-09-19 11:38:35 +01:00
James Turner
66a3a7f164
Make map widget zoom a real property, so it persists between opening and closing the dialog.
2011-09-18 12:53:40 +01:00
Erik Hofman
e1d5a52a3a
resync JSBSim
2011-09-18 11:06:54 +02:00
Durk Talsma
db816deb90
Added a new startup option. By giving the command line option --parkpos=AVAILABLE you can -in principle- let FlightGear decide what the most optimal parking location is. This option does require a few properties to be set that are also needed for future ATC use. Hence, they are listed under /sim/ATC, but could move to a different location if desired.
...
/sim/ATC/radius should be a nummeric estimate of the size of your aircraft. A small aircraft fits into a large parking, but a large aircraft does not fit into a small parking space. Because the AI part of radius is also used for slightly different purposes (prioritizing gate assignmments, the given valuem may deviate slightly from the real aircraft size. See http:/wiki.flightgear.org/Aircraft.radii for an overview of currently used values for the redius property.
/sim/ATC/flight-type can be any one of "ga", "cargo", "gate", "mil-fighter", "mil-cargo", or "vtol". See http://wiki.flightgear.org/Interactive_traffic#A_technical_perspective for more information.
optionally, the property /sim/ATC/airline can be set set to a three letter icao airline code. By way of illustration, I will commit a number of startup preset files setting these properties shortly.
Also did some more finetuning to the traffic mananger routing algorithm can be any one of "ga", "cargo", "gate", "mil-fighter", "mil-cargo", or "vtol". See http://wiki.flightgear.org/Interactive_traffic#A_technical_perspective for more information.
optionally, the property /sim/ATC/airline can be set set to a three letter icao airline code. By way of illustration, I will commit a number of startup preset files setting these properties shortly.
Also did some more finetuning to the traffic mananger routing algorithm.
2011-09-17 16:51:00 +02:00
Durk Talsma
67c604a722
Some tweaks to the AI traffic scheduling algorithm. Remove the requirement for a home port, but keep planning until we are back at the original port of departure.
2011-09-16 20:04:13 +02:00
adrian
66e2bac574
commradio subsystem part deux
2011-09-16 16:28:16 +03:00
Torsten Dreyer
0fa556d36a
fix upper/lowercase typo
...
Just don't develop with windows. Never.
2011-09-15 22:39:47 +02:00
Torsten Dreyer
43109feb0c
Some more refactoring of the radios
...
- wrap the ident-generating code into a class
- move dme-in-range property into dme.cxx
- move dme-ident generation into dme.cxx
- support ident-button and volume for dme idents
- use globals.get_aircraft_position instead of properties
- some minor cleanup
2011-09-15 21:28:30 +02:00
James Turner
2de3872d66
In joystick configurations, fall back to <unix> if no <mac> entry was provided, since the number is frequently identical.
2011-09-15 09:54:00 +01:00
Torsten Dreyer
9cef27f5ca
Refactor morse and beacon as singleton
2011-09-13 20:12:52 +02:00
Durk Talsma
1e4b17595a
-Prevent crashing the sim when starting at a gate that is not connected to the ground network. For now, just silently shut down the ATC system.
2011-09-11 21:42:29 +02:00
Erik Hofman
7e91e7e98b
change file mode to 644
2011-09-11 13:19:51 +02:00
Erik Hofman
b09a2347a8
remove unused files
2011-09-11 11:44:19 +02:00
Erik Hofman
7375166c2b
New version of JSBSim, a big rewrite.
2011-09-11 11:42:21 +02:00
Mathias Froehlich
549c5eccb9
cmake: Factor out common simgear dependency libs.
...
Factor out and use this core simgear depenency
library cmake variable.
2011-09-11 11:22:10 +02:00
Frederic Bouvier
099bfd988b
fgfs and fgpanel need to be linked with the winsock library (on Windows)
2011-09-09 21:38:02 +02:00
James Turner
a5a8090d52
Cmake: Split simgear libraries into core and scene (only scene uses OSG). Fix linkage issues, and make helper binaries (yasim, terrasync) link against less stuff.
2011-09-08 13:59:40 +01:00
Mathias Froehlich
d09575e646
autotools build updated with sgthreads library
2011-09-08 00:49:23 +02:00
Csaba Halasz
938d4f3752
autotools build updated with sgthreads library
2011-09-07 22:14:36 +02:00
adrian
f96123de1c
begin work on radio subsystem
2011-09-06 10:29:54 +03:00
adrian
80e5585cc3
comm radio subsystem
2011-09-05 11:51:19 +03:00
adrian
2c91f179d1
reduce distance to 300 km
2011-09-05 09:46:19 +03:00
adrian
c69c91769e
fix array index out of bounds in dynamics.cxx
2011-09-05 07:56:13 +03:00
adrian
9afa0e90ed
print some relevant data on screen to verify accuracy
2011-09-05 07:35:44 +03:00
adrian
038251e8af
fix trx and rx heights and improve calculations
2011-09-05 07:23:48 +03:00
adrian
6a4272be14
Merge branch 'next' into radio-att
2011-09-05 05:26:24 +03:00
Durk Talsma
35abe6d0ab
A number of cosmetic and/or infrastructural changes.
...
Traffic Manager:
* Just continue routing until we run out of flights. This change removes one of the major requirements for setting the "Home port" field.
* Add a time restriction requirement for the aircraft scheduler; this became necessary after removing the limited-to-home-port routing restriction.
* Added a new field to the heuristics calculation: take into account whether an aircraft has already been used in a previous session. Rotate aircraft assignments for greater variability across sessions.
* Added a revision number to the cache files, so that old cache results, which are no longer compatible with the new file format, are discarded.
Groundnetwork and traffic control:
* Added a revision number to the cache files, so that old and incompatible results are discarded.
* The caching algorithm probably didn't store the correct data for airports that were processed while the user was quite far away. This is now corrected by checking whether the cached elevation data are equal to the generic airport elevation.
AIAircraft:
* I've been searching for the infamous aircraft bend-over-backward bug, that can occur during initialization, but to no avail yet. The only variable potentially responsible (tgt_vs) wich can explain the irregular jumping behavior, as well as the weird pitch results is initialized in AIAircraft's only constructor (through AIBase), and I can't find any situation in the ground handling code where this variable could get bizarre values. But,
* a couple of tgt_vs. calculations appear to be completely redundant. This value was calculated twice inside the ProcessFlightplan function, and subsequently again in the updateSecondaryTargetValues function. I have removed the calculations in the process flightplan function, without any apparent side effect.
2011-09-04 20:27:36 +02:00
adrian
135c544f6e
bugfix
2011-09-04 16:13:47 +03:00
adrian
2f0ea5f3f1
Merge branch 'next' into radio-att
2011-09-04 14:21:53 +03:00
adrian
9df5e8ee33
check for allowTransmission
2011-09-04 14:20:41 +03:00
adrian
3a82ce7696
functional radio signal attenuation
2011-09-04 13:56:03 +03:00
ThorstenB
741efe2efb
Attempt to tidy up the search path mess (noticed by TorstenD)
...
When a model is not found in the custom scenery directories, load data
from base-package (instead of trying to access file "").
Also allow paged models to be loaded from custom scenery folders.
2011-09-04 11:09:21 +02:00
adrian
4801b28c42
fix + define WITH_POINT_TO_POINT
2011-09-04 10:00:36 +03:00
adrian
c9ef773d98
compute radio transmission attenuation according to
...
the Longley-Rice Irregular Terrain Model propagation mode.
2011-09-04 09:18:13 +03:00
Anders Gidenstam
a2972051a9
Added an --materials-file option to select the materials file to use at startup.
...
The property /sim/rendering/materials-file can also be used for this purpose.
2011-09-03 21:48:50 +02:00
Durk Talsma
77e844a78d
Merge branch 'next' of git@gitorious.org:fg/flightgear into next
2011-09-03 11:40:51 +02:00
Durk Talsma
e65f53b571
Read groundnet node information from the scenery, and (optionally) write it to a cache file. Note that this mechanism should be extended, so that the cache files will be updated whenever the terrain files are changing. The current patch also uncovers a bug, in the sense that the groundnetwork destructor is never called. Presumably this is due to the way airports are allocated in flightgear. Because the ground networks are never saved, I am periodically saving the cache files; but this behavior should probably be changed later on.
...
The current patch incorporates work contributed by Adrian Musceac.
2011-09-03 11:26:17 +02:00
Mathias Froehlich
1c1722a2e9
Adapt to recent simgear hla/rti changes.
2011-08-31 20:02:00 +02:00
Torsten Dreyer
f835561fbe
Fix typo
2011-08-31 19:54:59 +02:00
Torsten Dreyer
d83715903a
Fix cmake build with SP_FDMS (missing BalloonSim.cxx)
2011-08-29 21:09:26 +02:00
Erik Hofman
1e9120a8ac
Add proper conversion factor
2011-08-29 18:34:57 +02:00
Torsten Dreyer
b4400f8316
Add convenience std::string versions for fg[G|S]etXXX
...
Add inline wrappers functions for fgGetXXX and fgSetXXX
to make life with std::string easier
2011-08-27 17:19:36 +02:00
Torsten Dreyer
7ae9122f4e
Final warning before egt_degf gets purged
2011-08-26 14:05:38 +02:00
Torsten Dreyer
54f1b83f98
refactor the realwx-controller
...
clean up the code and prepare for new real-weather sources
2011-08-26 09:01:31 +02:00
Torsten Dreyer
4599893fa9
fix #416 : reciprocal filter broken
2011-08-25 22:25:20 +02:00
ThorstenB
cc020fe9df
Avoid excessive load when no navaids are in range
...
When no navaid is found, '_ref_navaid_id_node->setStringValue("")' results
in a listener firing, which requests another navaid update when no navaid
is available.
=> Resulted in FGPositioned::findClosest being called in every update loop,
when no navaid was within range.
2011-08-24 23:17:05 +02:00
James Turner
557c95a5ec
Change default (non-set) MP hosts to be an empty string instead of '0'
2011-08-24 09:44:52 +01:00
James Turner
51e307a742
Make errno dependency explicit, since raw_socket.hxx won't expose it, soon.
2011-08-23 10:25:17 +01:00
Torsten Dreyer
b82ea065c3
Add the frequency to the navinfo hash
2011-08-22 09:18:04 +02:00
ThorstenB
d76a0b09f8
Use SG_LOG(&strerror) instead of "perror".
...
Also clean-up some error messages.
2011-08-20 23:13:42 +02:00
ThorstenB
cf2236351c
Avoid some useless file accesses
...
Empty "markers" in between scenery search paths shouldn't be
considered when building search paths.
2011-08-20 23:13:27 +02:00
ThorstenB
18983c5387
Avoid "no disk in drive" popups on Win7 systems
...
Stray accesses to exchangeable drives cause pop-up error boxes on
Win7 systems, blocking the entire process.
2011-08-20 23:13:17 +02:00
Torsten Dreyer
3fbbe3134a
new global function for aircraft position
...
add a new function to get the aircraft's position instead
of reading /position/* properties
2011-08-20 08:54:47 +02:00
ThorstenB
104507ad8b
#410 : multiplay manager reporting errors
...
receive on a non-blocking socket may return 0, which does not indicate an
error - and does not mean "errno" was upated. So do not check "errno",
errors there belong to calls elsewhere...
Error message apparently triggered constantly with FG2.4.0 on Windows.
2011-08-18 22:36:44 +02:00
ThorstenB
ae6623655c
#403 : 2D horizontal scrolling on Mac OS
...
Ignore events with X-axis scrolling only (getScrollingDeltaY() == 0).
Thanks to Tatsuhiro Nishioka.
2011-08-18 21:32:24 +02:00
Curtis L. Olson
a5de08e240
Fix a couple issues with non-referenced files missing from the source
...
distribution (and thus breaking the build.)
2011-08-15 22:50:39 -05:00
Frederic Bouvier
1c1947eab2
Remove obsolete msvc build files
2011-08-15 19:29:27 +02:00
ThorstenB
f22a36c59c
Fix replay NaN issue due to unrecorded/uninitialized data.
...
Replay was setting spoiler/speedbrake properties, however these were never
recorded/initialized, resulting in NaNs being introduced.
2011-08-13 16:53:47 +02:00
ThorstenB
20914e49cd
Tatsuhiro Nishioka: #403 , scroll up/down for Mac OS
...
Support osgViewer's Scroll_2D event (so far only available for Mac)
2011-08-12 23:28:57 +02:00
ThorstenB
28496bb6ac
#359 : jumping mouse control axis in "constrained" mouse modes
...
Experimental patch - let's see if this helps those who saw the issue,
otherwise we'll try a different patch...
2011-08-12 00:24:25 +02:00
ThorstenB
e9a9f8c96d
Use some more logging class variety.
...
Stop using SG_GENERAL and SG_ALL everywhere. Using different
classes makes switching the classes really useful...
2011-08-12 00:09:26 +02:00
Vivian Meazza
ce97a1e4c5
Bugfix: Ballistic objects with "expiry" set were not instantiating correctly.
...
Signed-off-by: Vivian Meazza <vivian.meazza@lineone.net>
2011-08-11 21:46:51 +02:00
Mathias Froehlich
5093cbed43
Do not delete disabled network protocols twice.
2011-08-11 20:35:44 +02:00
Durk Talsma
cfa08438ae
Merge branch 'durk-atc' into next
2011-08-10 21:42:12 +02:00
Durk Talsma
552aa5419f
Some fine tuning of the ATC messages related to ground to tower transfer.
...
Removal of obsolete debugging messages. Let's hope I caught them all.
2011-08-10 21:39:28 +02:00
ThorstenB
5bd8828fe6
Allow bidirectional support for generic interfaces.
2011-08-10 00:05:10 +02:00
Durk Talsma
b603344d69
Merge branch 'next' into durk-atc
2011-08-09 20:09:14 +02:00
Torsten Dreyer
1e7d072eed
Add LOD to each AI model
...
Add a LOD (range animation) to each AI model if the property
/sim/rendering/static-lod/ai is set to any number greater than
zero. AI models get loaded but only displayed when closer than
the number given in the property (in meters).
If the property is absent or it's value is less or equal 0.0
than no LOD is added to the AI model.
2011-08-09 18:02:37 +02:00
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