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
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
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
Rebecca N. Palmer
997a431d53
{fatal,modal}MessageBox: Use Qt on Linux when available
...
(console error messages are invisible when started from an icon)
2015-11-24 07:24:32 +00:00
Rebecca N. Palmer
3e67417bf0
Initialise Qt earlier, and whenever available
...
(to allow it to be used for error boxes)
2015-11-24 07:21:52 +00:00
James Turner
be1291f689
Change handling of default hangar / catalog.
...
- no longer re-add it on startup, add an explicit button in the UI
(will add a more obvious item to the aircraft list in a follow-up
commit)
2015-11-23 22:58:00 +00:00
James Turner
4ea093ecc4
Ensure aircraft list stays in sync
...
- when removing a catalog, use the new notification to refresh
the list, so we don’t show stale package data.
2015-11-23 17:59:16 +00:00
James Turner
3ccea681ea
Fix merge noise
2015-11-23 01:19:03 +00:00
James Turner
579881322e
Lat-lon startup location fixes.
2015-11-23 00:48:21 +00:00
James Turner
5184f3404c
Labels on large airports in the diagram
2015-11-23 00:48:21 +00:00
James Turner
e356e691b2
Cap number of airports displayed in diagrams
...
- restrict heliports / seaports by aircraft type
- prioritise by runway length
- clean up airport label names
2015-11-23 00:48:21 +00:00
James Turner
1010caeaf6
Remove some debugs.
2015-11-23 00:48:20 +00:00
James Turner
97a5e15aaf
Show paused message when starting frozen.
2015-11-23 00:48:20 +00:00
James Turner
e63a95feb9
Draw aircraft on airport diagram
2015-11-23 00:48:20 +00:00