James Turner
305d555be4
Reduce log output at level=debug
...
These messages aren’t adding much based on my understanding, we can
re-add something more specific if needed.
2019-01-22 17:30:36 +01:00
James Turner
d6ae2e6aa0
Tweak pixel-ratio handling in the PUI camera
2019-01-22 10:50:55 +01:00
Richard Harrison
cbde4c90da
optimise property usage for camera using local static for ratio.
2019-01-20 23:30:46 +01:00
Richard Harrison
832654fd2b
Use readRef version of osgDB methods to give us thread safety
2019-01-20 23:30:21 +01:00
Richard Harrison
d963aef562
OSG 3.5+ compatibility.
...
Still work to do here in implementing the methods; this just lets it compile and run.
Labelled with OSG:TODO
2019-01-20 23:28:32 +01:00
Richard Harrison
9639b63d44
Use readRef version of osgDB methods to give us thread safety
2019-01-20 23:26:58 +01:00
Richard Harrison
6e2443d268
Change to print exception type (inherited exceptions)
2019-01-20 23:26:58 +01:00
Richard Harrison
58314f359a
Change screenshot filename to have date time
...
Format fgfs-YYYYMMDDHHMMSS[-#] where the # is for the rare case when there are multiple screenshots per second.
The change makes the filenames sortable based on date and slightly improves run time performance when there are a lot of screenshots in a particular directory
2019-01-20 23:26:58 +01:00
Richard Harrison
88f43a33a3
Remove messages that appear when no tile is loaded because it isn't present in the scenery
...
These get a little spammy when flying over areas without terrain and don't really serve much of a purpose.
2019-01-20 23:26:58 +01:00
James Turner
b4009db5f6
Hide FGQCanvas UI in daemon mode
2019-01-19 15:20:19 +00:00
James Turner
da65411ef4
FGQCanvas clipping / default text color fixes
...
Also fix some compiler warnings, but the main thing is text now
defaults to white correctly if no color was set explicitly, and
local/parent clip-reference-frames are supported.
2019-01-17 10:46:58 +00:00
James Turner
4deb61d0af
Map dialog draws heliports now!
...
Patch from Daniel Wickstrom, with some style changes by James
2019-01-15 11:32:57 +00:00
Erik Hofman
073e8927b9
Split up SIMD support in ENABLE_SIMD which enables sse2 support for the compiler and ENABLE_SIMD_CODE which enables the hand crafted SIMD math functions which defaults to OFF now since compilers have catched up on generating optimized vectorized SIMD code.
2019-01-15 10:37:37 +01:00
James Turner
df537d6e57
Tolerate missing runways parsing procedures
...
Current Navigraph procedures contain runways we lack, skip these
procedures instead of failing to parse the data.
2019-01-14 16:46:38 +00:00
James Turner
fac110ca40
Airport-search can be filtered by type
...
Adjust the special NavCache function used for airport search, to
allow filtering by type (which is exposed in an upcoming patch to the
dialog code).
Patch by Daniel Wickstrom
2019-01-14 12:14:20 +00:00
James Turner
b3c72a6f2e
Fix a crash clearing the flightplan runway
2019-01-12 23:40:51 +00:00
James Turner
8487ca7ee6
Add findByIdent to Nasal API
2019-01-12 23:40:51 +00:00
James Turner
416317e444
Nasal: allow filtering airport approaches by STAR
2019-01-12 23:40:51 +00:00
James Turner
4df6cb0558
Nasal: expose additional members on fixes/navaids
...
Add a ‘colocated_dme’ member to identify VOR/ILS pairings with DME.
Also exposed the navaid unique ID for easy disambiguation.
2019-01-12 23:40:51 +00:00
James Turner
5affa13348
Nasal: expose airways data and via options
2019-01-12 23:40:50 +00:00
James Turner
d39bcca9cb
Improve airway parsing in ICAO routes
2019-01-12 23:40:50 +00:00
James Turner
758518b248
Launcher: improve flight plan leg display
2019-01-12 23:40:50 +00:00
James Turner
612693c276
Via stores Airway ref instead of std::string
...
Avoid lots of ambiguity resolving airways, especially high- vs low-
level airways with identical idents.
2019-01-12 23:40:50 +00:00
James Turner
6fd5fcfda0
Add missing isType overload for FGFIx
2019-01-12 23:40:50 +00:00
James Turner
615c8433c1
Airway API tweaks to support FMC/routing
2019-01-12 23:40:50 +00:00
James Turner
c6aa7fee26
Hacking on airway loading logging
2019-01-12 23:40:50 +00:00
Bertrand Coconnier
9c7243e1c4
[JSBSim] Exports the fuel density to the property tree.
2019-01-12 15:40:09 +01:00
James Turner
6de242f184
Launcher: hook up ‘available parking’ option
...
Many cases of this option were not setup correctly, fix this so it
works as advertised.
2019-01-08 23:21:28 +00:00
James Turner
845e7c6bef
Improved ‘is MP enabled’ check for pos-init
...
This fixes the MP detection check when selecting MP on the command-line
2019-01-08 23:20:51 +00:00
Richard Harrison
b56df3f1b7
Merge /u/janodesbois/flightgear-jano/ branch timemgr_mp into next
...
https://sourceforge.net/p/flightgear/flightgear/merge-requests/146/
2019-01-08 17:08:57 +00:00
James Turner
dd6294b5ea
Red-sky: fix edge-case in NaN avoidance code
...
https://sourceforge.net/p/flightgear/codetickets/2087/
for discussion on this.
2019-01-08 11:08:23 +00:00
James Turner
b0dc850df1
Fix type of some numerical constants
...
Patch by Ron Haertel
2019-01-06 14:30:58 +00:00
ThomasS
2d5d26260e
1) model search order property in super class AIBase and overridden by sub classes.
...
2) model search order stored as the enum type in AIBase.
2019-01-06 13:57:22 +00:00
James Turner
591750b911
Frameless mode for FGQCanvas
2019-01-02 17:35:45 +00:00
Bertrand Coconnier
e704d589f2
[JSBSim] Takes into account the amount of unusable fuel.
...
Properties /consumable/fuel/tank[*]/unusable-* supplied in the -set.xml file are propagated to the aircraft model and accounted for in the tanks management.
2018-12-31 00:59:21 +01:00
Bertrand Coconnier
466fb0979d
[JSBSim] Added cyclic clipping for FCS components
2018-12-30 20:51:18 +01:00
Bertrand Coconnier
27ddcedad2
[JSBSim] Extend the usage of template funcs to all <function>.
2018-12-30 00:31:47 +01:00
Bertrand Coconnier
3267aaf5e0
Sync'ed JSBSim
...
* <function> and <fcs_function> that are only applied on constant parameters are now recognized and replaced by their result during initialization.
* Fixed a regression which prevented the wheels rotation speed to slow down while the gears were retracted.
* Added the ability to control the turbine engines spin down factor (thanks to Jonathan Redpath for the pull request).
* Internals : JSBSim has been refactored to use FGPropertyValue in many FCS components. This will allow consistent behavior accross the FCS components including the ability to prepend property names with minus signs '-' to indicate that the opposite sign of the property should be used.
2018-12-27 18:40:03 +01:00
James Turner
018e193a58
Improve Nasal log callback handling
...
(Was being leaked on reset)
2018-12-20 16:07:44 +00:00
jean pellotier
faf06b42a3
preparation for the lag correction based on time sync, instead of fixed
...
lag compensation, this is the time manager part.
- introduction of a pure steady clock initialised from system clock at init
- the mp protocol clock have an offset available (will be used
to sync the players, in case ntpd is not accurate or inavailable)
- got a way to see drift between system clock and the fg steady clock, mainly
to see how differents OS behave ...
2018-12-18 02:38:46 +01:00
James Turner
c3cd7b3978
Remove public use of sglog()::would_log()
2018-12-14 15:41:53 +00:00
James Turner
56cc96f280
Parse radial+offset from lat,lon waypoint
2018-12-13 13:46:53 +00:00
James Turner
738101942f
Yasim ground friction (stiction) changes
...
Original code by Brendan Black, with changes / updates by
Daniel Wickstrom.
2018-12-11 15:23:56 +00:00
James Turner
12eac24039
Tests: NavRadio GS tests
...
Also includes false GS lobe tests
2018-12-10 17:44:09 +00:00
James Turner
5215e6fcfc
Fix an unused var warning
2018-12-10 16:09:53 +00:00
James Turner
f14aa4e57f
Navradio: move glideslope angle to NavRecord
...
Simplifies logic in testing code
2018-12-10 16:09:42 +00:00
James Turner
9339fd2375
Add some /sim/presets properties to setDefaults
...
Ensure these properties are always defined, but with default values,
to simplify usage.
2018-12-04 09:50:48 +01:00
James Turner
a9475bd0fa
Basic nav-radio ILS testing
...
Complex cases still to be added, but this tests the basic reception.
2018-12-04 09:39:36 +01:00
James Turner
1f1060431f
Avoid NaNs in environment code at extreme altitude
...
Avoid the ‘red sky zone’ when going to higher orbital altitudes
(thousands of km).
https://sourceforge.net/p/flightgear/codetickets/2087/
2018-12-04 09:39:36 +01:00
Richard Harrison
015742b28d
LOD: Multiplayer fix
...
The problem was using FLT_MAX, FLT_MAX to disable a model; this tricked OSG into thinking that FLT_MAX was a valid range and therefore didn't do the update traversal (found by Stuart).
The correct technique to disable a model is to set the min/max range to 0,0
Also generally improved the way that the ranges are managed.
2018-12-03 06:19:04 +01:00