James Turner
eaa147e3c2
Work on FlightPlan VIA / discontinuity support.
...
Needed for realistic FMS route support.
2015-12-11 13:43:25 -06:00
James Turner
a55c939c5e
Fix a JSBSim crash on OSG-quit
...
(i.e Cmd-Q / window closing, not the normal FlightGear quit sequence)
2015-12-11 12:49:32 -06:00
James Turner
8877b442f8
ATC/Traffic doesn’t crash reset.
...
- remove some global headers from AI headers, to avoid pollution
- change how ATC owns the ‘player’ FGAIAircraft so reset works
- ensure AIAircraft controllers are cleared on unbind for reset
2015-12-11 12:11:59 -06:00
James Turner
1544641405
Remove view/tile/scenery members from globals
...
- also fix sound manager creation
2015-12-11 12:11:59 -06:00
Erik Hofman
6b9a28a568
Fix warning: variable ‘isPushBackRoute’ set but not used
2015-12-11 11:39:29 +01:00
James Turner
43fcbd2246
Progress towards testing
...
- remove route-manager from global variables
2015-12-10 16:40:22 -06:00
James Turner
76c6665af4
Merge /u/edauvergne/flightgear/ branch lat_lon_precision_fix_v3 into next
...
http://sourceforge.net/p/flightgear/flightgear/merge-requests/23/
2015-12-10 22:39:31 +00:00
James Turner
3c5340d98d
Merge /u/edauvergne/flightgear/ branch fdm_restoration into next
...
http://sourceforge.net/p/flightgear/flightgear/merge-requests/24/
2015-12-10 22:35:07 +00:00
James Turner
d891c5928c
Remove /sim/temp/winding-ccw property
...
- part of work on unit-testing, remove OpenGL usage in fg_props
2015-12-10 15:53:05 -06:00
James Turner
545b347a16
Relocate implementation of geocRadialIntersection
2015-12-10 15:53:05 -06:00
James Turner
d7a680e848
Templated subsystem handling
...
- remove explicit FGControls var from globals, as part of work
towards unit-testing infrastructure.
2015-12-10 15:53:05 -06:00
James Turner
6446d67431
Split GroundNetwork class down the middle
...
- ATC functions move to GroundController, which layers above
remaining GroundNetwork functionality
- dynamics owns both the groundNetwork and the ground controller.
2015-12-10 15:53:05 -06:00
James Turner
8b49ed08cc
Merge /u/edauvergne/flightgear/ branch warning_cleanup_UIUC_LaRCsim into next
...
http://sourceforge.net/p/flightgear/flightgear/merge-requests/26/
2015-12-10 20:22:56 +00:00
Erik Hofman
c1729253ee
Read the scenery global scene effects configration file and update them every frame. The SceneFX class is not yet registered though.
2015-12-10 13:24:52 +01:00
Edward d'Auvergne
9b7db929f2
LaRCsim FDM - detabbing of all files.
...
All '\t' have been replaced with 8 spaces, as most of the code is indented with spaces.
2015-12-10 10:07:21 +01:00
Edward d'Auvergne
dc04fc2294
UIUC FDM - detabbing of all files.
...
All '\t' have been replaced with 8 spaces, as most of the code is indented with spaces.
2015-12-10 10:04:45 +01:00
Edward d'Auvergne
7ed80221c3
LaRCsim cleanup of -Wimplicit-function-declaration compilation warnings.
...
The stub FDM/LaRCsim/default_model_routines.h header has been expanded and completed.
2015-12-10 10:01:37 +01:00
Edward d'Auvergne
97d0ab7eb9
LaRCsim cleanup of -Wunused-variable compilation warnings.
...
A number of static array definitions were shifted into the scope of the function.
2015-12-10 09:23:29 +01:00
Edward d'Auvergne
cf9e3e7bf0
LaRCsim cleanup of -Wformat-contains-nul compilation warnings.
...
The sprintf() function automatically adds the terminating null character, so no
need to have it in the formatting string.
2015-12-10 09:13:34 +01:00
Edward d'Auvergne
13b05db6f9
UIUC cleanup of -Wunused-but-set-variable compilation warnings.
...
The two unused variables were commented out.
2015-12-10 09:11:09 +01:00
Edward d'Auvergne
4eeeaf140c
UIUC cleanup for -Wsign-compare compilation warnings.
...
The string find_first_not_of() and find_first_of() functions return string::npos
if not found, rather than -1.
2015-12-10 09:04:23 +01:00
Edward d'Auvergne
e7d405d0ee
UIUC and LaRCsim cleanup of -Wunused-variable compilation warnings.
...
This is for defined but unused variables, many of which are in commented out
code.
2015-12-10 09:04:18 +01:00
Edward d'Auvergne
ce7c6de726
UIUC cleanup of -Wparentheses compilation warnings.
2015-12-10 09:04:09 +01:00
James Turner
5bf59d58c4
On Mac, force the macon-min-version value
...
- Workaround for CMAKE_OSX_DEPLOYMENT_TARGET not behaving as it’s
supposed to reliably.
2015-12-08 20:47:02 +00:00
Erik Hofman
5c7d261df5
Sync JSBSim again
2015-12-07 11:10:03 +01:00
Edward d'Auvergne
912215e949
The OSG version is now printed with --version.
...
This adds the OSG version number between the simgear and PLIB versions.
2015-12-05 15:24:47 +01:00
Edward d'Auvergne
acea7c422b
Reactivated the UIUC, LaRCsim, and special purpose FDMs.
...
As the FlightGear distribution ships aircraft based on these FDMs with each
release, the shipped FlightGear executables should therefore be able to handle
these aircraft. For example the unique ornithopter can only be flown with the
UIUC FDM, hence it is available for download but will be non-functional for most
users.
This partly reverts commit e819a4aaa4
from Nov 1,
2011 which deactivated the compilation of these in the CMakeLists.txt file.
Signed-off-by: Edward d'Auvergne <edward@nmr-relax.com>
2015-12-05 14:56:42 +01:00
James Turner
2af076e6cb
Add airport dynamics manager
...
- decouple dynamic airport data from the static (nav-db) data.
2015-12-05 00:25:29 +00:00
Edward d'Auvergne
524136d709
Minor rounding error fix for the latitude and longitude strings.
...
This is for the FGProperties::getLongitudeString() and
FGProperties::getLatitudeString() functions. The previous algorithm was to
round the degrees up by the smallest fraction required to prevent a round up to
60 minutes or seconds, and then round down the final minutes or seconds by the
same fraction. The new algorithm is to detect if the final minute or seconds
will be rounded to 60 by the string formatting and, if so, the higher unit
(degrees or minutes) is incremented by one, and the lower unit decremented by
60.
2015-12-02 17:48:02 +01:00
James Turner
fc887b106b
Checkpoint - ground-net skips the cache
2015-12-01 14:01:32 +00:00
Rebecca N. Palmer
d56fbfd415
Revert "Initialise Qt earlier, and whenever available"
...
Temporary workaround for
http://sourceforge.net/p/flightgear/codetickets/1819/
This reverts commit 3e67417bf0
.
2015-11-30 23:10:32 +00:00
James Turner
6954360dfa
Merge /u/r-harrison/flightgear/ branch next into next
...
http://sourceforge.net/p/flightgear/flightgear/merge-requests/21/
2015-11-29 21:51:08 +00:00
Richard Harrison
0368e9a003
Fix indentation and use naIsNil to determine if _globals is nil
2015-11-29 19:15:24 +01:00
James Turner
cec1de6219
Use a transaction when indexing polylines.
2015-11-29 14:18:30 +00:00
James Turner
8bfb1c3aa5
Move functionality into clear_fg_scenerey helper.
2015-11-27 23:25:53 +00:00
James Turner
5e4f212b84
Remove some debugs
2015-11-27 23:25:24 +00:00
James Turner
6ee7e51af3
Clamp diagram zoom.
...
- avoid poor performance and unusable UI when zooming out
2015-11-27 23:25:11 +00:00
James Turner
242e79f5e9
Fix some coastline issues.
2015-11-27 23:02:42 +00:00
James Turner
bfb539f090
Launcher shows polygon/polyline data
2015-11-27 23:02:42 +00:00
James Turner
e52e20b54f
SHPParser
2015-11-27 23:02:42 +00:00
James Turner
6a41353bdc
Remove accidentally duplicated functions.
2015-11-26 23:48:16 +00:00
James Turner
f39fc0f086
Remove a stray debug.
2015-11-26 23:48:16 +00:00
James Turner
2328f7fbdb
Handle libCurl linkage when enabled in SimGear
...
Detect if SimGear was built with Curl support,
and if so, find and link against libCurl
2015-11-26 23:40:14 +00:00
James Turner
a63fff14cc
Graphical picking of parking/helipads too.
2015-11-24 22:14:22 +00:00
James Turner
cfcdd9da45
Add helipad support to the diagram.
...
- stops crashes selecting a heliport.
2015-11-24 21:46:14 +00:00
James Turner
b15e5f559f
Remove long-obsolete fields
2015-11-24 21:46:14 +00:00
James Turner
3cee5eea73
Initial work on rendering parking locations.
2015-11-24 21:46:14 +00:00
Rebecca N. Palmer
cc725c61de
Use SLOT for both uses of QTimer::singleShot
...
(fix Qt < 5.4 build)
2015-11-24 18:40:54 +00:00
James Turner
2d1c5d47ee
Fix MSVC2012 build
...
- multi-line QStringLiteral doesn’t work on MSVC prior to 2013. Boo.
2015-11-24 15:36:53 +00:00
James Turner
9e60dcba61
Use old-style SLOT macro for Qtimer::singleShot
...
- member-function-pointer variant was only added in 5.4
2015-11-24 08:05:17 +00:00