1
0
Fork 0
Commit graph

9950 commits

Author SHA1 Message Date
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
f2f78e3646 ignore kdevelop developer projects. 2011-09-17 17:08:14 +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
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
Mathias Froehlich
633b07dedc cmake: clear the svn libraries variable if not found. 2011-09-14 09:57:57 +02:00
Torsten Dreyer
9cef27f5ca Refactor morse and beacon as singleton 2011-09-13 20:12:52 +02:00
Frederic Bouvier
587895bf2b Typo 2011-09-12 12:20:22 +02:00
Frederic Bouvier
8a63b26c42 Attempt to make FindSvnClient.cmake portable 2011-09-12 12:14:08 +02:00
Frederic Bouvier
d3d358bdbd Don't try to find winmm 2011-09-12 11:08:32 +02:00
Frederic Bouvier
918202a1ae Fix SVN detection for Windows 2011-09-12 11:08:02 +02:00
Frederic Bouvier
14fb839c44 Auto detect 3rd Party root for Windows 2011-09-12 11:07:31 +02:00
Mathias Froehlich
81b125069b cmake: Use a default build type that builds fast executables. 2011-09-12 08:10:48 +02:00
Durk Talsma
0749bbcaca Merge branch 'next' of gitorious.org:fg/flightgear into next 2011-09-11 21:45:34 +02:00
Frederic Bouvier
7a83db28c6 Lower the requirements on Cmake version (at least until Jenkins is updated) 2011-09-11 21:44:43 +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
Frederic Bouvier
57754b4ac8 Enforce the use of Cmake 2.8 2011-09-11 20:50:37 +02:00
Frederic Bouvier
6b3088346b Less confusing display name 2011-09-11 20:12:27 +02:00
Frederic Bouvier
ce8488c276 Change display name 2011-09-11 19:50:20 +02:00
Frederic Bouvier
7591494274 First stab at creating a nightly build for programs created with vs2010 and Cmake 2011-09-11 16:30:56 +02:00
Frederic Bouvier
45f08ceb6d Update version in Win32 dev packaging 2011-09-11 16:18:36 +02:00
Frederic Bouvier
073511492f Fix VS2008 build after JSBSim update - 2nd try 2011-09-11 16:09:26 +02:00
Frederic Bouvier
865a5c4f14 Fix VS2008 build after JSBSim update 2011-09-11 16:05:58 +02:00
Erik Hofman
b175d8f1ac Merge branch 'next' of git://gitorious.org/fg/flightgear into next 2011-09-11 13:20:54 +02:00
Erik Hofman
7e91e7e98b change file mode to 644 2011-09-11 13:19:51 +02:00
Mathias Froehlich
c5b22d248e cmake: Quote argument in FindSvnClient.cmake. 2011-09-11 12:42:59 +02:00
Mathias Froehlich
f4b45eca7e cmake: Use ws2_32.lib instead of the WINSOCK_LIBRARY variable.
Fixup for commit 549c5eccb9.
Do not refer to the no longer existing WINSOCK_LIBRARY variable.
Instead, at this single place where it is used, just use ws2_32.lib.
2011-09-11 12:17:20 +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
Mathias Froehlich
6b6238293f Revert to simgears thread support. Flightgear side.
For all source directories outside of simgear/scene,
which really depends very hard on osg, avoid using osg
classes. This should reenable the use of some basic and
scenegraph independent parts of simgear without the
the need for osg.
2011-09-06 07:31:12 +02:00
Martin Spott
c158619e3c Disable building fgadmin if FLTK's fluid command is unavailable. 2011-09-05 23:44:00 +02:00
Martin Spott
065f4ee5cb Make HLA configurable.
Permit un-breaking of FlightGear CMake builds on setups with a working HLA
RTI installed, accommodating with recent changes to SimGear CMake.
2011-09-05 20:25:30 +02:00
Martin Spott
5a198ca9f5 Merge commit 'refs/merge-requests/11' of git://gitorious.org/fg/flightgear into next 2011-09-05 14:17:31 +02: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
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
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
Dmitry Marakasov
a3df9dd120 Fix bashisms in configure.ac 2011-09-01 23:01:48 +04: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