Commit Graph

9810 Commits

Author SHA1 Message Date
Mat Sutcliffe
684b2b1068 Update InstallBuilder 2022-05-25 19:47:35 +01:00
Mat Sutcliffe
5818a44d96 Issue #128 Adjust text message frequency to nearest frequency in use 2022-05-25 19:47:35 +01:00
Lars Toenning
d4fdc6e17b Prevent saving invalid values
If a value has not changed and should be saved to a file, only the key (and the invalid value) was passed to the save function. The save function does not check this case or read the value from the cache.
This happens when changing simulator paths as the settings are updated and saved separately.
2022-05-25 19:47:35 +01:00
Lars Toenning
05293feb8f Initialize sim connection status for logincomponent
When using distributed mode and the simulator is already connected to swiftCore, the GUI will not trigger the update on the login component via the simulatorStatusChanged signal.
Therefore we will  trigger the initial update manually (same is already done for the simulator connection LED).
2022-05-25 19:47:34 +01:00
Lars Toenning
0c1a5a5c97 Remove unused stringutils methods 2022-05-25 19:47:34 +01:00
Lars Toenning
beeabb51c2 Remove unused adfsystem 2022-05-25 19:47:34 +01:00
Lars Toenning
c0efc9ea81 Clean up includes 2022-05-25 19:47:34 +01:00
Mat Sutcliffe
8386786386 Update xplanemp2 2022-05-25 19:47:33 +01:00
Mat Sutcliffe
59a27a0d72 Send slowfast before ordinary position update
This solves a server-side performance issue.
2022-05-25 19:47:33 +01:00
Mat Sutcliffe
9a5ea83698 Suppress cppcheck warning 2022-05-22 18:08:58 +01:00
Mat Sutcliffe
117f01902a [Velocity] Add length unit and rename time unit 2022-02-20 14:33:08 +00:00
Lars Toenning
66c97cfe2e [FG] Set velocities to 0 if simulator is paused 2022-02-20 14:33:08 +00:00
Mat Sutcliffe
5a01272258 [XP] Set velocity to zero when paused 2022-02-20 14:33:08 +00:00
Mat Sutcliffe
8a203046ed [XP] For own aircraft elevation, use dataref instead of terrain probe 2022-02-20 14:33:08 +00:00
Mat Sutcliffe
d2fadccf4e [FSD] Add rehost packet ($XX) for VATSIM 2022-02-20 14:33:08 +00:00
Mat Sutcliffe
5106859ed9 [FSD] Refactor m_socket member 2022-02-20 14:33:07 +00:00
Mat Sutcliffe
f945f296c8 [FSD] Add slowfast and stopped packets for Velocity 2022-02-20 14:33:07 +00:00
Mat Sutcliffe
edc175d133 Rename member 2022-02-20 14:33:07 +00:00
Mat Sutcliffe
0482634d81 Ignore ordinary situations after a visual situation is received 2022-02-20 14:33:07 +00:00
Mat Sutcliffe
a90957ee56 Add a flag indicating whether a situation has a velocity 2022-02-20 14:33:07 +00:00
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
baffc6f3d0 [Installer] Install FG plugin by default 2022-02-13 16:58:20 +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 v0.12.2 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
29a9b20ea8 Bump version number 2022-02-03 22:25:33 +00: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
Mat Sutcliffe
8b7c40d9d3 Update installbuilder v0.11.7 2022-02-01 18:27:19 +00:00
oktal3700
543fd66996 README: fix labels of download shields 2022-02-01 18:19:42 +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
860967ba01 Bump version number v0.11.0 2022-01-30 11:46:30 +00: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