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
James Turner
e5df6e6d4a
Allow distinguishing un-towered airports.
2015-11-23 00:47:01 +00:00
James Turner
5043bf0966
Fixes to launcher aircraft thumbnail sizing
...
- handle large images and longer descriptions correctly
2015-11-23 00:47:01 +00:00
James Turner
ceebd59001
Fallback when aircraft description is missing.
...
- avoids corrupted delegate display caused by asking for
bounds of empty string.
2015-11-23 00:47:01 +00:00
James Turner
a39df48772
Navaid diagram for launcher
...
- work in progress, needs labels
2015-11-23 00:47:01 +00:00
James Turner
2b18479859
Lat-lon position support
2015-11-23 00:47:01 +00:00
James Turner
adedf7af65
Navaid diagram work
2015-11-23 00:47:01 +00:00
James Turner
c277395010
Start-paused for in-air starts
2015-11-23 00:47:01 +00:00
James Turner
addcc432fd
ILS drawing in the airport diagram
2015-11-23 00:47:01 +00:00
James Turner
09cac14089
Work on LocationWidget for Qt launcher
2015-11-23 00:47:01 +00:00
James Turner
56d7d049bc
Launcher GUI for in-air / navaid starts
2015-11-23 00:46:25 +00:00
James Turner
1e213201cf
Work on the launcher
2015-11-23 00:45:21 +00:00
Rebecca N. Palmer
9d0fe40a45
QtLauncher::initApp: store argc to avoid crash
...
As QApplication only stores a reference to argc, it may crash if
the argc passed to it goes out of scope. (One way to trigger this
is to pass an invalid --fg-root, triggering an initApp call from
Options::setupRoot.) Copy argc to prevent this.
2015-11-22 21:05:09 +00:00
Stuart Buchanan
660c38ce72
Fix for SEGFAULT when using multiple loggers.
...
Patch from Julian BREITENEICHER.
2015-11-22 17:11:36 +00:00
Rebecca N. Palmer
3e462f3056
fgValidatePath: allow Nasal to read user-set scenery directories
...
(but not the Terrasync directory, as Nasal can change that)
2015-11-22 11:27:39 +00:00
Rebecca N. Palmer
97f235173e
fgValidatePath: documentation improvements
2015-11-22 11:03:00 +00:00
Rebecca N. Palmer
91dc448875
Simplify fgValidatePath + minor fix (requires simgear update)
...
Drop fgNormalizePath, use realpath() only
As this makes it accept relative paths, always use the returned
(absolute) version for the actual file operation to avoid check-to-use
races, or where this is not possible (NasalSGPath) explicitly reject
relative paths
Fix: do_save is a write, not a read
2015-11-21 21:37:19 +00:00
James Turner
29ef561ed9
Fix some inverted logic
...
- spotted by Thomas Geymayer!
2015-11-20 21:28:19 +00:00
Thomas Geymayer
fdf4a61ed5
fgcommand remove-subsystem: fix double delete/segfault.
2015-11-19 23:17:58 +01:00
James Turner
f110fc57d6
Fix enable/disable-freeze option.
...
- set /sim/freeze/clock as well as /sim/freeze/master
Fix by Hamza Alloush
2015-11-13 22:13:44 +00:00
James Turner
bf6ef6664c
Fix for OSG 3.5
2015-11-13 22:13:44 +00:00
James Turner
ca1f8cddc9
Fix a package crash on startup.
2015-11-13 22:13:44 +00:00
James Turner
2314ccfe13
Developer-warnings
...
- make some existing warnings developer-mode only
- add a warning about legacy aircraft path usage
2015-11-13 22:13:44 +00:00
James Turner
3e64e276d7
Remove OldGNUInstallDirs helper
...
- we require CMake 2.8.11 now
2015-11-13 22:13:44 +00:00
Erik Hofman
27ca027a7e
Fix permissions
2015-11-10 16:15:42 +01:00
Erik Hofman
26f1d12ad7
Rename EnvironmentFX to SceneFX and rethink the aircraft model specific properties: use a samping factor which applies to both volume and reference_distance and max_distance
2015-11-05 15:31:52 +01:00
Erik Hofman
8363ee8784
Add Nasal bindings
2015-11-04 14:37:41 +01:00
Erik Hofman
0f113060e9
First implementation of an environment audio fx module
2015-11-03 14:51:01 +01:00
Torsten Dreyer
62d0d2ab06
event input system: be a little more helpful on errors
2015-11-02 11:42:30 +01:00