Commit Graph

1118 Commits

Author SHA1 Message Date
Klaus Basan
a629b70724 Ref T773, clear log when written, set object name for logger 2020-06-12 18:42:31 +01:00
Klaus Basan
60b556f118 Ref T773, allow to set test elevation (from log.display) 2020-06-12 18:42:31 +01:00
Mat Sutcliffe
f4f34341e6 [xswiftbus] getElevationAtPosition also returns latitude and longitude 2020-06-12 18:42:31 +01:00
Mat Sutcliffe
ecc38fede7 [XP driver] Fixed failure to find CSL package in certain directory layouts
Issue reported by Richard Åsberg on Discord. If one package is located
two subdirectories below the parent directory of another, the first one
might not be loaded.
2020-06-12 18:42:31 +01:00
Klaus Basan
86c8568bf2 Fixes some CLANG warnings (QtC IDE checks, nevertheless does not harm to fix them) 2020-06-12 18:42:30 +01:00
Mat Sutcliffe
39907bf7ea [XP driver] fixed bug that inverted engines on/off state 2020-06-12 18:42:30 +01:00
Roland Rossgotterer
f60a44ea1e [FS9] Fix double deletion of CFs9Host
CFs9Host was guarded by a QSharedPointer plus it had a QObject parent.
2020-06-12 18:42:29 +01:00
Klaus Basan
b4a7d59b7b Ref T773, allow to "fake" elevations for testing purposes and improved elevation logging in the interpolation log. display
* history of requested elevations
* bogus elevations for testing if needed (mostly to test the display)
2020-06-12 18:42:28 +01:00
Klaus Basan
6b6a6e0d8e [emulated driver] minor fixes
* dialog size
* update sim.value UI fields if emulated simulator changes
* renamed function
2020-06-12 18:42:25 +01:00
Mat Sutcliffe
de037af702 [xplane] Allow disabling terrain probe for diagnosing performance issues 2020-06-12 18:42:24 +01:00
Mat Sutcliffe
e50bb6d5c7 [xplane] Add monitoring of the number of minutes behind due to low FPS 2020-06-12 18:42:23 +01:00
Mat Sutcliffe
377b2f6a3e [xplane] Add monitoring of the number of track miles lost due to low FPS 2020-06-12 18:42:23 +01:00
Mat Sutcliffe
4bfa5d5f40 Fix assert due to NaN in CXSwiftBusTrafficProxy::getElevationAtPosition 2020-01-25 16:55:51 +00:00
Klaus Basan
785dc7f016 [XPlane][FG] Q_UNREACHABLE removal follow up
* removed CSimulatorXPlane::connectionFromString as this only works for session DBus
* renamed to "checkConnectionViaSessionBus"
* discussed around here: https://discordapp.com/channels/539048679160676382/539925070550794240/668105458300485652
2020-01-18 18:46:19 +01:00
Mat Sutcliffe
20a2f3b9e7 [XP driver] Using unsigned for timer call counters, to avoid UB on overflow 2020-01-13 18:53:30 +00:00
Mat Sutcliffe
35cfaebc7d [xplane] Added display of simulation time ratio in simulator component 2020-01-13 18:53:30 +00:00
Klaus Basan
8eaa4f7f15 Qt 5.14 hi-res adjustments, as HI-DPI screen handling has changed
* see // https://lists.qt-project.org/pipermail/development/2019-September/037434.html
* qss adjustemnts
* larger default sizes for core/launcher/client for 1920x1080 screens
2020-01-07 19:57:28 +00:00
Klaus Basan
72c3abb1e7 [xswiftbus] display FPS in simulator data window
* added driver getAverageFPS function
* display in simulator component
2020-01-07 19:57:28 +00:00
Klaus Basan
548a12a502 Style 2020-01-07 19:57:28 +00:00
Mat Sutcliffe
516c8a2fce [xswiftbus] Added FPS monitoring 2020-01-07 19:57:26 +00:00
Mat Sutcliffe
836eb107a3 Smart xswiftbus compatibility check based on git commit SHA-1
This is more tolerant that the simple check based on version numbers.
Different versions can be compatible if they have the same SHA-1 when
considering only those files that can influence xswiftbus.
2020-01-07 19:57:25 +00:00
Mat Sutcliffe
48d1521d3a Correct filename extension 2020-01-07 19:57:25 +00:00
Klaus Basan
12fbd87bbc Ref T723 [xswiftbus] UI/settings for TCAS enabled and debug mode
* UI checkboxes added
* Qt free settings updated
2020-01-07 19:57:24 +00:00
Roland Rossgotterer
d29dec81d7 [FS9] Test connection via FSUIPC in listener
Checking whether the FS2004 host is connected is not enough since we rely
on FSUIPC. Do not activate the simulator if FSUIPC is not available (e.g.
not installed).
2020-01-07 19:57:23 +00:00
Roland Rossgotterer
b7c2775ea2 [FS9] Let IDirectPlay8Client::Connect process request asynchronously 2020-01-07 19:57:23 +00:00
Klaus Basan
a924b5e78b Improved (error) message if owner is empty 2020-01-07 19:57:23 +00:00
Klaus Basan
22d8b52fe8 [FS9] Minor style fixes 2020-01-07 19:57:20 +00:00
Klaus Basan
123387f1a7 Style 2020-01-07 19:57:18 +00:00
Klaus Basan
5fea046c0b Style and log messages 2020-01-07 19:46:18 +00:00
Klaus Basan
441ca41ee3 [FS9] Log. messages 2020-01-07 19:46:18 +00:00
Roland Rossgotterer
5efa52cba6 Update aircraft parts in FS9 plugin 2019-10-18 10:36:24 +02:00
Roland Rossgotterer
84248fc1b0 Fix double deletion of CLobbyClient during shutdown 2019-10-18 10:36:24 +02:00
Klaus Basan
10f696d558 Ref T730, in emulated driver only use frequencies from COM, do NOT override the tx/rx values 2019-10-11 19:00:49 +01:00
Klaus Basan
b408c8ffed Style 2019-09-16 22:41:38 +01:00
Klaus Basan
f80e093a0a Ref T717, function to send parts/situation for testing and in the model browser 2019-09-16 22:41:37 +01:00
Klaus Basan
6151f434c6 Ref T717, simulator "is test" conditions where required 2019-09-16 22:41:37 +01:00
Klaus Basan
6f27032f5c Ref T717, XPlane function to push back situation/parts (surfaces)
* directly update after an aircraft has been added
* push_back functions
2019-09-16 22:41:36 +01:00
Klaus Basan
85a3a0ee99 Style 2019-09-16 22:41:36 +01:00
Klaus Basan
838e41051c Ref T717, simulator adjustments to support "TEST AIRCRAFT" 2019-09-16 22:41:35 +01:00
Klaus Basan
4c9654d81d Use simulator from plugin if plugin is connected 2019-09-16 22:41:34 +01:00
Klaus Basan
19c9a51c38 Style 2019-09-16 22:41:34 +01:00
Roland Rossgotterer
e0b52db77a [MinGW] Fix many unresolved symbols 2019-09-16 22:41:33 +01:00
Klaus Basan
9ec1d54908 Ref T610, added COM async getter functions and bundled async calls
* reduced the number of async XSwiftBus calls by getting multiple values at once
* the concept was already used for getOwnAircraftSituationDataAsync
* now also used for COM, parts, model and lights
* As Qt restricts to 8 parameters not further bundled
* new COM1 getter functions for receive/volume/transmit
2019-09-16 22:41:26 +01:00
Klaus Basan
d1fac2e1a4 Ref T610, support for XPlane COM volume and receive/transmit
* proxy and
* DBus service functions
2019-09-16 22:41:26 +01:00
Klaus Basan
105db27fa8 Avoid ASSERT in XPlane "rapid shutdown" 2019-09-16 22:41:23 +01:00
Klaus Basan
25532497d6 Fixed FS9/FSX message handling as reported here: https://discordapp.com/channels/539048679160676382/567139633964646411/612104936574156870 2019-09-16 22:41:22 +01:00
Klaus Basan
51ce3778b6 FS9 style 2019-09-16 22:41:22 +01:00
Klaus Basan
aa765e9adb Style 2019-09-16 22:41:20 +01:00
Klaus Basan
23d29e1f33 Ref T709, UI for settings "lights" and "message box margins" 2019-09-16 22:41:19 +01:00
Klaus Basan
0da1881003 Ref T709, added support for taxi lights in XPlane, using the "bundle lights" flag 2019-09-16 22:41:19 +01:00