Commit Graph

8918 Commits

Author SHA1 Message Date
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
Mat Sutcliffe
efd9b69161 xswiftbus follow aircraft: keep following when mouse goes off screen 2021-11-12 17:54:46 +00:00
Mat Sutcliffe
27f7d4d656 Issue #125 Explicitly request Input Monitoring and error if denied 2021-11-01 18:26:09 +00:00
Mat Sutcliffe
b7b71b2245 Simplify trait 2021-10-29 16:47:13 +01:00
Mat Sutcliffe
586f605d04 Delegate parts of CSequence to a non-template implementation
To reduce build time.
2021-10-29 16:47:13 +01:00
Mat Sutcliffe
85dae5f8a4 Remove unused method 2021-10-15 00:55:08 +01:00
Mat Sutcliffe
cd59cf6ad4 Fix mistake 2021-10-15 00:55:08 +01:00
Mat Sutcliffe
df446cfdd6 Fix mistake 2021-10-12 18:35:16 +01:00
Mat Sutcliffe
9fdeb466fa Member functions of mixins should be defined out of line
Per [temp.explicit]/10, explicit instantiation declarations
do not affect inline member functions
2021-10-11 14:20:08 +01:00
Mat Sutcliffe
5a1f3e8dd1 Explicit template instantiations for mixins for PQ and units 2021-10-11 14:20:07 +01:00
Mat Sutcliffe
a185c7aae7 Explicit template instantiations for mixins for containers 2021-10-11 14:20:07 +01:00
Mat Sutcliffe
2b72600937 Explicit template instantiations for mixins for value classes
To reduce compile time.
2021-10-11 14:20:07 +01:00
Mat Sutcliffe
0a121d913d Own implementation of std::tuple with reduced functionality
To reduce compile time.
2021-10-11 14:20:07 +01:00
Mat Sutcliffe
916448ef6a [Clang][Windows] Remove workarounds 2021-10-11 14:20:07 +01:00
Mat Sutcliffe
2ac222f700 Issue #11 CEventLoop uses QPointer trick to guard against use-after-free
See https://blogs.kde.org/2009/03/26/how-crash-almost-every-qtkde-application-and-how-fix-it-0
2021-10-11 14:20:06 +01:00
Mat Sutcliffe
02d0f40c6d Issue #11 Use CEventLoop in CAirspaceMonitor 2021-10-11 14:20:06 +01:00
Mat Sutcliffe
002cd1d5b9 Issue #11 Improve CEventLoop API 2021-10-11 14:20:06 +01:00
Mat Sutcliffe
fd02656eb2 [AFV] Disregard 6th digit of VHF alias frequency
This means for example 132.070 is equal to 132.075
2021-10-10 01:26:17 +01:00
Mat Sutcliffe
a592bb2bbe Include style 2021-09-18 15:07:49 +01:00
Mat Sutcliffe
312dec792b Doxygen style 2021-09-18 15:07:48 +01:00
Mat Sutcliffe
57d32da826 Use nested namespaces (C++17 feature) 2021-09-18 15:07:48 +01:00