Commit Graph

118 Commits

Author SHA1 Message Date
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
Roland Winklmeier
1cbc02a4c5 refs #308 Fixed missing CoUninitialize 2014-09-13 14:52:50 +02:00
Roland Winklmeier
53b257fa3d refs #308 Instead of enumerating hosts, use the well known host url
Since we are hosting in the same process, we can get the URL from the host
object and pass it to new clients.
2014-09-13 14:52:47 +02:00
Roland Winklmeier
7a02aff7b9 refs #308 private slot for client status changes 2014-09-13 14:39:43 +02:00
Roland Winklmeier
65be5149ee refs #308 free function to print DirectPlay error messages 2014-09-13 14:12:07 +02:00
Mathew Sutcliffe
472cf525d7 Workaround error C2797 when compiling with MSVC 2013 Update 3.
For more info see http://msdn.microsoft.com/en-us/library/dn793970.aspx
2014-09-12 19:36:58 +01:00
Klaus Basan
b576e21b48 Workaround for assert in FSX plugin, refs #324 2014-09-11 12:07:56 +02:00
Mathew Sutcliffe
276484da8d refs #283 Fixed PQ unit assumption in FSX plugin 2014-08-27 00:02:36 +01:00
Mathew Sutcliffe
4aef58564e refs #283 Added ISimulator::getInstalledModels method, with stub implementations 2014-08-27 00:02:35 +01:00
Mathew Sutcliffe
f4b7a9c6a2 refs #283 Rationalized ISimulator slots for managing remote aircraft 2014-08-27 00:02:34 +01:00
Mathew Sutcliffe
d25eac66b1 refs #283 Dedicated displayTextMessage for text messages instead of using displayStatusMessage for both.
The simulator can use this to display text messages in a different colour, for example.
2014-08-27 00:02:32 +01:00
Mathew Sutcliffe
61343e39f2 refs #283 ps_ prefix for private slots 2014-08-27 00:02:30 +01:00
Klaus Basan
3fb5087ea8 Renaming, header, Doxygen, formatting (during refs #314) 2014-08-24 02:45:52 +02:00
Klaus Basan
600ea2b803 Fixed several issues detected during testing / review (refs #304)
* MS report 1-5 https://dev.vatsim-germany.org/issues/304#change-1800
* Clang warning https://dev.vatsim-germany.org/boards/22/topics/1982?r=1997#message-1997
* Wrong indexes for dockable widgets, RW: https://dev.vatsim-germany.org/issues/304#note-13
* Fixed wrong offset in Fsuipc class
* Improved position handling for floating widgets opened 1st time
2014-08-05 23:32:11 +02:00
Roland Winklmeier
9020c65681 refs #241 FS9 implementation of the ISimulator interface
Covers most important interface methods. Still TODO:
- getAirportsInRange
- Time sync
- Updating COM units from context
2014-08-03 15:09:11 +02:00
Roland Winklmeier
c78db8be58 refs #241 Plugin free functions, conversions and MetaType registration 2014-08-03 15:09:10 +02:00
Roland Winklmeier
3e85874969 refs #241 FS9 fake clients 2014-08-03 15:09:10 +02:00
Roland Winklmeier
037a95aec9 refs #241 FS9 host 2014-08-03 15:09:08 +02:00