Commit Graph

185 Commits

Author SHA1 Message Date
Roland Winklmeier
b40180818c Send ChangePlayerPlane several times to FS9 2015-03-20 16:33:03 +01:00
Roland Winklmeier
ebbeed4baf refs #328 Write aircraft parts to simulators
FSX only for the moment
2015-03-20 16:32:59 +01:00
Roland Winklmeier
bcc79ddeee refs #328 Read aircraft parts from simulators 2015-03-20 16:32:55 +01:00
Klaus Basan
5146b7357d refs #369, adjusted simulator drivers to changed interpolator and
removed addAircraftSituation
2015-03-20 16:32:15 +01:00
Klaus Basan
8c3547c33d refs #369, adjusted simulator drivers
* common base class BlackCore::CSimulatorCommon
* using providers IOwnAircraftProvider, IRenderedAircraftProvider
* using revers lookup in mapping
* using CSimulatedAircraft / CSimulatedAircraftList
* return values (success/failed) for member functions (e.g. setTimeSynchronization)
* getMaxRenderedAircraft / setMaxRenderedAircraft prepared
2015-03-20 16:31:33 +01:00
Klaus Basan
1b04205584 refs #369, adjusted plugins
* common base class for FS drivers
* moved mapper into common base class
* reflect changes for own aircraft provider
** removed member functions
** removed unused members
2015-03-20 16:30:48 +01:00
Klaus Basan
24e6dcef54 refs #369, revised FSUIPC
* removed own aircraft member
* split into read / write, removed process
2015-03-20 16:30:44 +01:00
Klaus Basan
ce86c902b5 Upfront of refs #369
* consolidated ICoordinateGeodetic (e.g. fixed nested properties)
* shifted common functionality for objects/containers with callsign into interface
* shifted common functionality for objects/containers with geo position into interface
* shifted common functionality for objects/containers with timestamp into interface
* updated corresponding value objects / specialized lists
* adjusted all places where renamed functions are used
2015-03-20 16:30:18 +01:00
Klaus Basan
3a4e5ef556 refs #364, refs #368 improved handling of manually set models
* make sure manually set model is not subject of model matching
* added convenience member functions to detect manually set models
2015-01-25 03:55:45 +01:00
Klaus Basan
b12352047b refs #364, refs #368 drivers:
* changed to CSimulatedAircraft / Simulation::CAircraftModel
* added new functions such as icons for model
2015-01-24 01:15:16 +01:00
Klaus Basan
d0b5fc1249 refs #358, fixes as proposed by RW
* foreach -> for
* CVariant
2014-12-29 23:01:58 +01:00
Klaus Basan
69b095ff75 refs #358, fixed redundantAssignment from Jenkins Cppcheck 2014-12-28 22:21:04 +01:00
Klaus Basan
0f7332e82b No updates to simulator when sim is not simulating 2014-12-28 22:20:32 +01:00
Klaus Basan
9e5f228b08 using namespace in header removed, rectified resulting changes
* using namespace in context_runtime.h
* in same step also fixed some other using namespace issues
2014-12-28 22:20:09 +01:00
Klaus Basan
23e9159dfd refs #358, added (a first very simple) model matching to FSX driver
* isRunning → isSimulating
* adjusted addRemoteAircraft signature (remark: CClient as parameter will be removed)
* renamed to "ownAircraft" when referring to own aircraft
* functions to access installed models/matched models
* model matching in CSimulatorFsx::addRemoteAircraft
2014-12-28 22:19:28 +01:00
Klaus Basan
366769a6b8 Formatting, doxygen, typo aircrafts (to aircraft),
removed some debug output, {} in if statements
2014-12-28 20:46:14 +01:00
Klaus Basan
def17124db refs #358, split FSX driver and factory into different files 2014-12-28 20:46:01 +01:00
Klaus Basan
e11a3c1e6b refs #349, added SB client area (for ident, transponder mode) to driver
* added SB client area support
* renamed member functions to better reflect meaning
* added all structures required for SB client area
* changed to new logging
2014-12-13 13:17:36 +01:00
Klaus Basan
78e4900243 refs #349, housekeeping
* formatting
* tweaks (such as changing to new log style),
* Doxygen
* int instead of qint
2014-12-13 13:17:31 +01:00
Roland Winklmeier
562cadee8a Fix several gcc, cppcheck and clang warnings 2014-12-01 23:15:49 +01:00
Roland Winklmeier
16bf3f047a Fix FS9 lobby connetion not being cleaned up properly 2014-11-30 02:51:37 +01:00
Roland Winklmeier
d3d09b8251 Change FS9 plugin to new logging system 2014-11-30 02:51:29 +01:00
Roland Winklmeier
333b2b9957 refs #334 Make player info member variables 2014-11-30 02:49:26 +01:00
Roland Winklmeier
0c245916ff refs #334 Fix segfault when m_fs9Host is already destroyed 2014-11-30 02:49:24 +01:00
Mathew Sutcliffe
195c909ca0 refs #334 FS9 DirectPlay peer classes using CContinuousWorker. 2014-11-30 02:32:37 +01:00
Klaus Basan
a94bceddab refs #335, refs #342 improved simulator states
* new signal sending all 3 states together (connected, running, paused)
* renamed ISimulator::Status to ConnectionStatus
* consolidated some member / signal names
* for FS9/XPlane implemented stub functions
2014-11-30 00:54:07 +01:00
Klaus Basan
326ae96def Formatting, Doxygen 2014-11-30 00:54:04 +01:00
Klaus Basan
dd587207fe Formatting, renaming 2014-11-30 00:53:46 +01:00
Roland Winklmeier
6fdd934cd1 refs #341 Remove m_callbackWrapper from CFs9Client
Is already implemented in base class.
2014-11-05 16:34:24 +01:00
Roland Winklmeier
0e675b97e6 refs #341 Remove unnecessary Q_DECL_EXPORT.
Qt MOC exports the required symbols.
2014-11-05 16:34:24 +01:00
Roland Winklmeier
7701367a1c refs #341 Interpret return code before moving on 2014-11-05 16:34:24 +01:00
Roland Winklmeier
8d68dd8188 refs #341 Allocate variables when they are needed the first time 2014-11-05 16:34:24 +01:00
Roland Winklmeier
c720b33ca8 refs #341 Use in-class initialization for m_playerLocal and m_playerUser 2014-11-05 16:34:24 +01:00
Mathew Sutcliffe
a294e8db0f refs #336 Using the new CLogMessage syntax to log messages. 2014-10-16 17:05:50 +01:00
Roland Winklmeier
c533e9213a refs #332 send slew mode position packet instead of the full one
This bypasses the physics engine inside FS9
2014-10-08 01:52:59 +02:00
Roland Winklmeier
5ad9c9c30b refs #332 Add slew mode position packet to FS9 SDK 2014-10-08 01:52:56 +02:00
Roland Winklmeier
c94295e473 Remove aircrafts limitation in FS9 plugin
It should not be the plugins descision to limit
the number of displayed aircrafts. Triggered an
assert
2014-10-08 01:35:07 +02:00
Roland Winklmeier
4950d63702 Fix typo 2014-10-08 01:35:05 +02:00
Roland Winklmeier
2417e4599d refs #331 Add size methods to all FS9 packets
Not all methods could be static, hence they are all
non-static for consistency.
2014-10-08 01:35:02 +02:00
Roland Winklmeier
a46cd750d1 refs #331 Send a default packet (gear down) to FS9 2014-10-08 01:34:54 +02:00
Roland Winklmeier
374be69d8a refs #331 Add FS9 animation param packet 2014-10-08 01:34:51 +02:00
Roland Winklmeier
704721b01a refs #324 Enable the assert in addAircraftSituation 2014-10-07 23:37:07 +02:00
Roland Winklmeier
faf931742a refs #324 Remove timeout implementation from MSFS plugins 2014-10-07 23:37:04 +02:00
Mathew Sutcliffe
2c0e6505a0 refs #316 Debug messages should not be displayed by simulator plugins. 2014-10-04 22:17:04 +01:00
Mathew Sutcliffe
b16b02c3d6 refs #316 Changed blackmisc and blacksim to use CLogMessage to emit messages.
Also changed functions which always returned CStatusMessageList containing a single CStatusMessage,
to return CStatusMessage instead for simplicity.
2014-10-04 22:16:40 +01:00
Roland Winklmeier
8ba1a37ea7 Fix warning detected by gcc 4.9.1
- unused variables
- linker error with the MinGW DX SDK
- don't delete a void* pointer
- initialization order
2014-09-28 13:09:39 +02:00
Roland Winklmeier
f43f3013fe refs #308 QMetaObject always requires the full namespace for string based lookup 2014-09-13 14:53:00 +02:00
Roland Winklmeier
2ab1a0f847 refs #308 lobby client 2014-09-13 14:52:58 +02:00
Roland Winklmeier
b00d67e90c refs #308 improved client thread handling and cleanup
Threads are now waiting for closure
2014-09-13 14:52:55 +02:00
Roland Winklmeier
bd8eba6913 refs #308 style 2014-09-13 14:52:53 +02:00