Commit Graph

9438 Commits

Author SHA1 Message Date
Mat Sutcliffe
4703edb841 Fix dbus assert when hostname contains non-Latin characters 2022-02-20 14:33:07 +00:00
Mat Sutcliffe
20f8609357 Add missing xswiftbus DBus methods 2022-02-19 21:35:31 +00:00
Mat Sutcliffe
94c8d7211c Add Enter as an assignable hoykey 2022-02-19 21:35:31 +00:00
oktal3700
5a0e01c997 [GUI] Fix wrong default xswiftbus version in updater
Fixes #154
2022-02-19 21:35:31 +00:00
Lars Toenning
dee61a8c14 Issue #122 Block network connect without simulator 2022-02-17 21:18:16 +01:00
Lars Toenning
424ac1b3da Fix typo 2022-02-13 16:58:20 +01:00
Lars Toenning
bc660e5f81 Extract method to convert between FlightRules and FlightType 2022-02-13 16:58:20 +01:00
Lars Toenning
209f145f98 Explicitly set flightrule on SimBrief xml flightplan import 2022-02-13 16:57:45 +01:00
Lars Toenning
e16dc6ef25 Initialize FlightRule when using default constructor
The FlightRule enum of CFlightPlan was uninitialized when using the default constructor. This caused undefined behavior in some special cases while e.g. loading a SimBrief xml flightplan.
2022-02-13 16:57:45 +01:00
Lars Toenning
5837351605 Issue #127 Set IFR to default in flight-plan page 2022-02-13 16:57:45 +01:00
Roland Rossgotterer
f2399cacd9 [FS9] Disable setting of CG since it looks wrong 2022-02-04 22:50:26 +01:00
Roland Rossgotterer
099f72693b [FS9] Set ground elevation at own aircraft position 2022-02-04 22:49:30 +01:00
Mat Sutcliffe
2ccee127e9 [XP] Get the ground elevation under the own aircraft 2022-02-03 20:43:45 +00:00
Mat Sutcliffe
f5a9452ec2 [XP] Invert latitude, pitch, and roll velocities 2022-02-03 20:43:45 +00:00
oktal3700
79cc13b43f Remove siliconmind.de bootstrap mirror from CGlobalSetup 2022-02-01 18:19:38 +00:00
oktal3700
dfeb281368 [FSD] Send incremental parts packets to pilots only
I was just told by Mike and Ross that ACC packets should be sent to 94836 (pilot clients) not 94835 (all clients).
2022-02-01 18:19:25 +00:00
Lars Toenning
594f589a64 Issue #134 Fix double free crash on exit
The destructor of CThreadedTonePairPlayer was called twice:
- after the local stack-variable of CSelcalPlayer got out of scope.
- again as part of the CContinuousWorker/DeferredDelete
2022-02-01 18:19:06 +00:00
Lars Toenning
154a1c803f Use =default for default constructor 2022-02-01 18:19:05 +00:00
Roland Rossgotterer
1c23dfc0ab Delete network reply at the very end 2022-02-01 14:01:21 +01:00
Mat Sutcliffe
4b00c0e3bf Bump Vatsim protocol version number 2022-01-29 16:07:54 +00:00
Mat Sutcliffe
a4448dddc6 Issue #94 Implement $SF packet to toggle visual pilot data sending
Still send a visual pilot data update at the slow rate of
every 5 seconds when visual pilot data update is disabled.
2022-01-29 14:44:46 +00:00
Mat Sutcliffe
872f546881 [FSD] Vatsim auth token webservice to avoid sending password as plaintext 2022-01-29 14:41:12 +00:00
Mat Sutcliffe
4a94f61f73 Removed ctor that constructed an invalid CSlot 2022-01-29 14:41:12 +00:00
Mat Sutcliffe
aa7da1de53 Increase number of situations stored per remote aircraft
With 5Hz updates and a maximum offset of 6s, we need to store
at least 30 situations to guarantee we're not throwing away
situations that we haven't even used yet.

There is probably a smarter way, like keeping situations
based on their age rather than quantity, or letting the
consumer remove them after they are no longer needed.
2022-01-29 14:40:55 +00:00
Mat Sutcliffe
efb6a3211d Interpolate the dynamic offset time for aircraft situations 2022-01-29 14:40:55 +00:00
Mat Sutcliffe
6d66066d6a Add height AGL and nose gear angle in VisualPilotDataUpdate 2022-01-29 14:40:55 +00:00
Roland Rossgotterer
bb70bcc79d Issue #97 Read aircraft velocity and rotation from FSUIPC 2022-01-29 14:40:55 +00:00
Roland Rossgotterer
bdacb59b61 Issue #97 Read aircraft velocity and rotation from SimConnect 2022-01-29 14:40:55 +00:00
Lars Toenning
23eb283c19 Issue #96 [Flightgear] Get velocity data from Flightgear in fast update timer timeout 2022-01-29 14:40:55 +00:00
Mat Sutcliffe
1d9fcabebf Issue #94 GUI checkbox to enable visual position updates for each server 2022-01-29 14:40:55 +00:00
Mat Sutcliffe
7135e8953a Issue #94 Handle visual pilot data update in CAirspaceMonitor 2022-01-29 14:40:55 +00:00
Mat Sutcliffe
242a10c9d6 Issue #94 Add new FSD packet type VisualPilotDataUpdate 2022-01-29 14:40:54 +00:00
Mat Sutcliffe
a583ac056c Issue #94 Add server capability flag for VISUPDATE 2022-01-03 16:38:47 +00:00
Mat Sutcliffe
3f57c66784 Issue #95 [XPlane] Get velocity data from xswiftbus in fast update timer timeout 2022-01-03 16:38:47 +00:00
Mat Sutcliffe
0faa7ed8fc Issue #94 Add new class CAircraftVelocity as member of CAircraftSituation 2022-01-03 16:38:47 +00:00
Mat Sutcliffe
8dc206d62b Issue #93 Reduce update offset for 5 Hz updates and rename member 2022-01-03 16:38:47 +00:00
Mat Sutcliffe
855c97bc88 Issue #92 Bump version number and switch to 3-part version numbers 2022-01-03 16:38:47 +00:00
Mat Sutcliffe
8f11e42b15 Replace an enable_if with an if constexpr 2022-01-03 16:38:46 +00:00
Mat Sutcliffe
8f0271aa2a Fixed assert in CUser::comparePropertyByIndex 2022-01-01 14:48:20 +00:00
Mat Sutcliffe
566882bc22 [xswiftbus] Include readme.txt containing version number 2021-12-22 17:49:29 +00:00
Mat Sutcliffe
65b85a1606 Don't require air files for MSFS (32 or 64 bit) 2021-12-09 18:21:47 +00:00
Lars Toenning
45a5ce5a6a Issue #131 Sync date when time-sync is enabled for FSX/P3D 2021-11-28 12:52:54 +00:00
Mat Sutcliffe
acf6da4226 [FS9] Fix a crash (pure virtual call) 2021-11-28 12:52:54 +00:00
Mat Sutcliffe
2257d87b64 Issue #125 Linux: error on failure to open input device file 2021-11-27 20:05:09 +00:00
Mat Sutcliffe
0c7238e572 Add F13-F24 as assignable hotkeys 2021-11-21 20:07:17 +00:00
Mat Sutcliffe
2d62e90c54 Issue #115 Blink connect button in addition to disconnect button 2021-11-13 19:27:59 +00:00
Mat Sutcliffe
b46d4c7bb9 Add more keyboard key codes assignable to hotkeys
F1-F12, CapsLock, Home, End, PgUp, PgDn, and some more numpad keys.
2021-11-13 01:13:52 +00:00
Mat Sutcliffe
7573d91854 Fix mistake 2021-11-13 01:09:19 +00:00
Mat Sutcliffe
28e0afa88c Style 2021-11-13 01:08:05 +00:00
Mat Sutcliffe
0c8e10058c xswiftbus follow aircraft: use new X-Plane API to support multi-monitor setups 2021-11-12 17:57:50 +00:00