New features for Simulator, refs #257

* Allow to display text alerts for
** Status messages
** Private chat messages
* Updates from GUI cockpit to Simulator
* A bit refactoring, e.g. event names according our standards
This commit is contained in:
Klaus Basan
2014-06-05 01:57:25 +02:00
parent cfbee4a55f
commit 02bb054f5a
4 changed files with 143 additions and 96 deletions

View File

@@ -30,7 +30,7 @@ namespace BlackSimPlugin
double pitch; //!< Pitch
double bank; //!< Bank
double velocity; //!< Ground velocity
double simOnGround; //!< Is sim on ground?
double simOnGround; //!< Is aircraft on ground?
double transponderCode; //!< Transponder Code
double com1ActiveMHz; //!< COM1 active frequency
double com2ActiveMHz; //!< COM2 active frequency
@@ -63,15 +63,6 @@ namespace BlackSimPlugin
DataDefinitionGearHandlePosition
};
//! SimConnect Event IDs
enum Events {
EventSetCom1Active = 100, // not overlapping with DataDefinition
EventSetCom2Active,
EventSetCom1Standby,
EventSetCom2Standby,
EventSetTransponderCode
};
//! SimConnect request IDs
enum Requests
{
@@ -79,7 +70,6 @@ namespace BlackSimPlugin
RequestRemoveAircraft = 2000
};
//! Constructor
CSimConnectDataDefinition();
@@ -94,10 +84,6 @@ namespace BlackSimPlugin
//! Initialize data definition for remote aircraft configuration
static HRESULT initGearHandlePosition(const HANDLE hSimConnect);
//! Initialize events required setting cockpit values
static HRESULT initSetCockpitEvents(const HANDLE hSimConnect);
};
}
}