James Turner
4396c035df
Linux build fix.
2016-01-10 22:11:32 -06:00
James Turner
f2bf30bcc7
Current time of day (warp) fixes:
...
- sim-speed-up (a/A keys) offsets warp correctly. This means at 4x speed
up the warp will increase by 3 seconds for one elapsed real second.
In practice this means simulation elements timed using sim ‘current time’
will be correctly synchronised with those using simulated elapsed time.
(AI traffic being a prime example of this)
- warp-delta (t/T keys) is independent of frame rate, and works when
paused. The warp-delta values in the keybindings / GUI dialog
will need to be updated since warp-delta in now seconds-per-second,
as opposed to seconds-per-frame.
2016-01-10 22:10:10 -06:00
James Turner
d10d279064
Launcher finds parking positions from scenery
...
- change launcher to examine the scenery paths and hence load
ground-net files for airports to populate parking data.
- refactor ground-net XML parsing to use FGGroundNetwork only, not
AirportDynamics.
- change parenting of GroundNetwork to Airport, since it contains
immutable data now.
2016-01-10 16:38:01 -06:00
James Turner
4befe0e6ea
Launcher: Maintain aircraft selection better
...
- when launching or toggling settings, try to keep the current
aircraft selected and in-view.
2016-01-10 13:47:57 -06:00
James Turner
b0ee3f98f3
‘only show installed checkbox’ for Qt launcher
...
- will be replaced when I think of a prettier UI, but this
feature is important to have for now.
2016-01-10 12:56:46 -06:00
James Turner
078366cbf7
Fix some FDM warnings with Clang
2016-01-10 12:55:18 -06:00
James Turner
e5c6d14cef
Allow re-ordering of paths in the launcher.
...
- suggested by Gilberto, allow the user to set the order of the
scenery and aircraft paths by dragging.
2016-01-09 17:17:58 -06:00
James Turner
a1b88d77ab
Fallback for runway assignment logic
...
- when no runway use preferences XML exists, be smarter about using
available runways. Makes the common case of using two parallel
runways for arrivals and departures work, greatly improving AI
traffic behaviour.
2016-01-09 13:48:00 -06:00
James Turner
704aba9041
Fix a dumb AI traffic bug I introduced.
2016-01-06 22:27:33 -06:00
James Turner
b2bec04733
Fix acceleration path of default takeoff taxi.
2016-01-06 17:58:24 -06:00
James Turner
ed8970a29d
Fix some more uses of libC time()
2016-01-05 23:19:28 -06:00
James Turner
52f39abc6b
Apply /sim/speed-up to general subsystem dt
...
- consistent with pause (freeze), /sim/speed-up is now applied to the
dt value for all subsystems, not just the FDM and some instruments.
For example AI traffic can now be sped-up or slowed down.
- requires both an FGData and Simgear update.
2016-01-05 23:19:28 -06:00
James Turner
540d4c2111
Use SGTime instead of time() in traffic/AI code
...
- avoids manual handling of /sim/time/warp in many places
2016-01-05 23:19:28 -06:00
James Turner
ac146f5658
Remove dt member of AIAircraft
2016-01-05 23:19:28 -06:00
Torsten Dreyer
b284553a9d
Version 2016.1.0
2016-01-05 20:44:42 +01:00
James Turner
fadad5d70b
Make TrafficRecord own its AIAircraft.
...
- use the ref-counting system, hopefully avoid a dangling pointer
crash I encountered. (Of course it may turn into a leak)
2016-01-04 13:34:39 -06:00
James Turner
359f924ec9
Package variants working.
2016-01-03 20:58:03 -06:00
James Turner
c400405b0a
Chatter-queue moved out of globals
...
- now lives as part of the sound-manager, yay.
2016-01-03 12:00:15 -06:00
James Turner
fc9c43b48d
Remove FontCache from globals.
...
- access via a singleton instead.
2016-01-03 12:00:15 -06:00
Erik Hofman
0cd38c8be4
Remove scenefx code, it keeps crashing in untracable places and I lost interrest. It was a hughe waste of time
2016-01-03 14:38:18 +01:00
James Turner
52fd6986f8
Pull Sound-manager out of FGGlobals
2015-12-31 15:19:57 -06:00
James Turner
ba56c42eb4
Pull Ephemeris out of FGGlobals
2015-12-31 15:19:51 -06:00
James Turner
ebc10ee44f
Update to newer version of HTS engine
...
- version 1.1, released 25th December 2015
(note there is no corresponding update to Flite)
2015-12-30 17:05:25 -06:00
James Turner
9e4e6a6fbf
Avoid view-manager returning default SGGeod
...
- when switching views, force an update() to ensure view position
is valid. Otherwise various subsystems such as AI traffic and the
tile manager see a request for a 0,0 location.
- when switching to model view, we still generate a 0,0
location initially - to be fixed.
2015-12-30 14:48:01 -06:00
Erik Hofman
335fda719d
Prevent two possible nan's
2015-12-29 14:55:22 +01:00
Erik Hofman
d6c5dc647d
Do not call setIsPushback, it causes a segmentation fault after about 10 minutes. I did commit this change in 6b9a28a568
to fix a warning, but it night not have been the wisest thing to do.
2015-12-24 13:44:34 +01:00
Erik Hofman
de023dd7bd
Fix the tile-manager subsystem name
2015-12-24 11:52:09 +01:00
James Turner
7644c74df9
Better Traffic performance data warnings.
2015-12-22 15:15:27 -06:00
Torsten Dreyer
7a69b9beff
don't always open "file opened in new browser window" popup
...
Setting /sim/gui/show-browser-open-hint to false disables the popup.
Default is true (show the popup)
2015-12-22 11:42:27 +01:00
Torsten Dreyer
2b66cf3484
Remove unused code
2015-12-22 11:41:56 +01:00
James Turner
6da9461f92
Fix a typo
2015-12-19 00:32:25 -08:00
James Turner
c69e6fde12
AI subsystem now does an orderly shutdown
...
- remove special case logic which is no longer required
2015-12-19 00:30:31 -08:00
James Turner
83ea6d32d0
Make PerformanceDB a real subsystem
2015-12-19 00:29:00 -08:00
James Turner
e80fc563e5
Fix off-by-one errors in GroundController
...
findSegment() and segments[] array use different indexing, account
for this in the conversion to always use findSegment
2015-12-19 00:08:07 -08:00
James Turner
b7c88e7acc
Stop OSG threading earlier on shutdown.
...
Avoid intermittent race conditions on shutdown when the OSG
pager/Db thread is running. Ensure the OSG threads are stopped before
we start tearing down any scene graph nodes.
2015-12-18 22:00:37 -08:00
James Turner
0e71a9593b
Quiet down Traffic error logging.
2015-12-18 21:59:28 -08:00
James Turner
865bb365ed
Trying to bullet-proof the traffic code.
2015-12-18 21:42:22 -08:00
James Turner
0f590280c7
Aircraft-model subsystem behaves better
...
- make shutdown logic more robust
- shutdown is no longer special cased in globals.
2015-12-18 20:13:23 -08:00
James Turner
89065ea5c2
Proper shutdown() for the model manager
...
- also move property setup to bind/unbind
2015-12-18 19:56:56 -08:00
James Turner
c76d106e64
Runtime checks for GroundContoller crashes.
...
Trying to identify what’s actually going wrong here.
2015-12-17 20:23:45 -08:00
James Turner
b431696e9b
Fixes for first/last legs on a route
...
- fixes total route distance calculation
2015-12-17 19:22:14 -08:00
James Turner
c585f7f7d1
Asserts to pin down a reported crash.
2015-12-16 13:02:06 -08:00
Erik Hofman
64b80b4dab
Sync with JSBSim again: remove a lot of unused trimming code
2015-12-15 09:47:08 +01:00
James Turner
ff33aa038e
Fix a startup issue Vic Mar reported
...
- accept invalid/missing airport IDs when starting ATC
2015-12-14 14:59:33 -06:00
James Turner
9c467af6bf
Interim windows build fix
...
(real fix to follow shortly)
2015-12-14 10:56:42 -06:00
James Turner
e5fa1a5ab1
Merge /u/userid-1550991/flightgear/ branch next into next
...
http://sourceforge.net/p/flightgear/flightgear/merge-requests/31/
2015-12-14 14:57:18 +00:00
Erik Hofman
a5e516fe8c
Replace a program segmentation fault by an annoying message
2015-12-14 11:14:40 +01:00
www2
2da5541901
Add feedback if prompt mode is use
2015-12-13 15:57:53 +01:00
www2
95e3d00a17
Add new commands to telnet protocall
...
New comands:
setb set a Boolean value
setd set a Floaring point value
seti set a integer value
del delete a node
2015-12-12 15:43:00 +01:00
James Turner
7afedb1702
Work on visualisation of Vias
2015-12-11 13:43:25 -06:00