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
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
James Turner
5fd350cb3d
Fix unproject / navaid drawing.
2015-11-23 00:48:20 +00:00
James Turner
eb06aeba97
Closed airport support.
2015-11-23 00:48:20 +00:00
James Turner
f4500e03f4
Label de-overlapping for diagrams
2015-11-23 00:48:20 +00:00
James Turner
317498fe4a
Move airplane drawing into the base class.
...
- ground work for showing airplane on airport diagram
2015-11-23 00:48:20 +00:00
James Turner
6ec9c36afb
Fix Linux compilation issues.
2015-11-23 00:48:20 +00:00
James Turner
9ab672abd8
Location history re-instaed
2015-11-23 00:48:20 +00:00
James Turner
19a8fc8822
Fixing launcher save/restore of settings.
2015-11-23 00:48:20 +00:00
James Turner
aa58d5c761
Fix for determining towered vs untowered airports.
2015-11-23 00:47:01 +00:00
James Turner
b9acb26c07
Work on launcher diagrams.
2015-11-23 00:47:01 +00:00