Commit Graph

20 Commits

Author SHA1 Message Date
Roland Winklmeier
92dbefbf7a refs #229 Simplify searching for Simconnect object with std::find_if 2014-06-13 00:44:07 +02:00
Roland Winklmeier
e49650787d refs #229 Do not send updates to FSX for removed objects 2014-06-13 00:42:43 +02:00
Klaus Basan
02bb054f5a 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
2014-06-09 14:43:41 +02:00
Klaus Basan
035575870b refs #242, allows to change FSX cockpit from context
* Data definitions for FSX events
* BCD conversion for COM and transponder
* Update Cockpit method in context
* Renamed setOwnAircraft -> updateOwnAircraftFromSim
2014-06-09 14:43:35 +02:00
Klaus Basan
1bb4c3120b Formatting, comments, minor tweaks, typos, Doxygen 2014-06-09 14:43:31 +02:00
Roland Winklmeier
43f796bb0e Trigger gear-up correctly if higher than 1000 ft. 2014-06-09 14:42:59 +02:00
Roland Winklmeier
9feb4f39dc Do not insert simconnect objects, which are not belonging to us
This issue was most probably caused by a parallel SB installation.
For some strange reason, a simconnect object id was received
which was not added by swift. With this commit such situations
are handled correctly.
2014-06-09 14:42:58 +02:00
Roland Winklmeier
12dedcbc6c Fix bug, which caused insert of invalid simconnect objects 2014-06-09 14:42:55 +02:00
Roland Winklmeier
8341ef54d2 Remove aircrafts with time of latest update greater than 15 seks
refs #229
2014-06-09 14:42:52 +02:00
Roland Winklmeier
83776c5cc9 Add implementation to remove remote aircrafts
refs #229
2014-06-09 14:42:51 +02:00
Roland Winklmeier
9bc0226fd1 Move nested struct SimConnectObject into proper class
refs #229
2014-06-09 14:42:49 +02:00
Roland Winklmeier
de75c5c35a Add asynchronous connection in ISimulator/CSimulatorFSX
refs #231
2014-05-16 14:17:42 +02:00
Roland Winklmeier
5498b449ac Add "ConnectionFailed" to Simulator status enum
Rename connectionChanged to statusChanged

refs #231
2014-05-16 14:17:41 +02:00
Roland Winklmeier
f8ce55dea2 Sync update of aircraft positions to sim frame
refs #224
2014-05-16 13:29:42 +02:00
Roland Winklmeier
e42cbbe834 Use "GEAR HANDLE POSITION" instead of single gear positions
refs #224
2014-05-16 13:29:42 +02:00
Roland Winklmeier
7c890c51d8 Remove class CSimConnectException
refs #224
2014-05-16 13:29:41 +02:00
Roland Winklmeier
fbf9dbc8cf Use SIMCONNECT_DATA_INITPOSITION struct to reposition remote traffic
Advantage is this struct has a on ground flag.

refs #222
2014-04-27 18:41:10 +02:00
Roland Winklmeier
87ff9c9ae8 Add methods to load and unload specific simulator plugins
refs #215
fixes #208
2014-04-26 15:01:33 +02:00
Roland Winklmeier
e669ad8fb4 Add connectTo/disconnectFrom/canConnect to Simulator drivers
Removed checkConnection() as driver is passive only.

refs #187
2014-04-26 14:36:20 +02:00
Roland Winklmeier
603f03f092 Move fsx plugin into plugins/simulator/fsx
refs #211
2014-04-19 12:33:25 +02:00