diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2018-08-27 17:16:44 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2018-08-27 17:16:44 +0200 |
commit | 773e43879292383a92cd19c84577f8b2cee04450 (patch) | |
tree | c350b10da477ad92206b6531d817a0d0b7f61584 /ext-falcon-bms-linear-acc/FlightData.h | |
parent | 07b27beab17b85111e5d4879cf4b08f081e4cdf9 (diff) |
ext/bms: what the hell was that?work-20180827
Diffstat (limited to 'ext-falcon-bms-linear-acc/FlightData.h')
-rw-r--r-- | ext-falcon-bms-linear-acc/FlightData.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/ext-falcon-bms-linear-acc/FlightData.h b/ext-falcon-bms-linear-acc/FlightData.h index 3f3ccc7a..3f7e99ab 100644 --- a/ext-falcon-bms-linear-acc/FlightData.h +++ b/ext-falcon-bms-linear-acc/FlightData.h @@ -331,6 +331,7 @@ struct FlightData //fuel values float fwd, aft, total; +#if 0 void SetLightBit (unsigned int newBit) {lightBits |= newBit;}; void ClearLightBit(unsigned int newBit) { lightBits &= ~newBit; }; bool IsSet(unsigned int newBit) { return ((lightBits & newBit) != 0); }; @@ -346,6 +347,7 @@ struct FlightData void SetHsiBit(unsigned int newBit) { hsiBits |= newBit; }; void ClearHsiBit(unsigned int newBit) { hsiBits &= ~newBit; }; bool IsSetHsi(unsigned int newBit) { return ((hsiBits & newBit) != 0); }; +#endif int VersionNum; // Version of FlightData mem area @@ -526,6 +528,7 @@ struct FlightData2 char pilotsCallsign[MAX_CALLSIGNS][CALLSIGN_LEN]; // List of pilots callsign connected to an MP session char pilotsStatus[MAX_CALLSIGNS]; // Status of the MP pilots, see enum FlyStates +#if 0 // TACAN // setters for internal use only void SetUfcTacanToAA(bool t) { if (t) { tacanInfo[UFC] |= mode; } else { tacanInfo[UFC] &= ~mode; } } @@ -561,8 +564,12 @@ struct FlightData2 // HSI/eHSI mode state void SetNavMode(int newMode) {navMode = newMode;}; int GetNavMode(void) {return navMode;}; +#endif }; +#define BMS_MEM_OSB "FalconSharedOsbMemoryArea" +#define BMS_MEM_DATA1 "FalconSharedMemoryArea" +#define BMS_MEM_DATA2 "FalconSharedMemoryArea2" #if 0 extern OSBData cockpitOSBData; // "FalconSharedOsbMemoryArea" |