mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-31 04:25:35 +08:00
Ref T229, FSX/P3D character encoding
* we have to use an encoding function for FSX/P3D string * encapsulated, so we can later can/improve it
This commit is contained in:
@@ -330,6 +330,9 @@ namespace BlackSimPlugin
|
||||
//! Request for lights (request in range of lights)?
|
||||
static bool isRequestForLights(DWORD requestId) { return requestId >= (RequestSimDataStart + RequestLightsOffset) && requestId < (RequestSimDataStart + RequestLightsOffset + MaxSimObjects); }
|
||||
|
||||
//! Encapsulates creating QString from FSX string data
|
||||
static QString fsxCharToQString(const char *fsxChar, int size = -1);
|
||||
|
||||
static constexpr int GuessRemoteAircraftPartsCycle = 20; //!< guess every n-th cycle
|
||||
static constexpr int SkipUpdateCyclesForCockpit = 10; //!< skip x cycles before updating cockpit again
|
||||
static constexpr int IgnoreReceiveExceptions = 10; //!< skip exceptions when displayed more than x times
|
||||
|
||||
Reference in New Issue
Block a user