Commit Graph

147 Commits

Author SHA1 Message Date
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
Roland Winklmeier
cf39b87821 refs #241 DirectPlay peer base class 2014-08-03 15:09:07 +02:00
Roland Winklmeier
2b28b126da refs #241 Generic FS9 multiplayer packet parser 2014-08-03 15:09:07 +02:00
Roland Winklmeier
df4be4177a refs #241 Tuple based multiplayer packets
The subclass provides methods to get member variable tuples and
provides API for the MultiplayerPacketParser.
2014-08-03 14:52:33 +02:00
Roland Winklmeier
198e89bfdc refs #241 FS9 SDK classes and structs
This is based on the C style version of the FS9 SDK
2014-08-03 14:52:32 +02:00
Roland Winklmeier
0a338945f3 refs #241 Callback wrapper, wrapping a C style callback to member function 2014-08-03 14:52:32 +02:00
Roland Winklmeier
71858d8bbe refs #241 Add class CHostNode representing a enumerated host 2014-08-03 14:52:31 +02:00
Roland Winklmeier
9d581a1a0d refs #241 Add FS9 plugin project files 2014-08-03 14:52:30 +02:00
Roland Winklmeier
e49fa083a7 refs #241 Move CFsuipc into simulator_fscommon 2014-08-03 14:52:30 +02:00
Roland Winklmeier
113f161bac refs #241 Create common MSFS plugin library 2014-08-03 14:52:29 +02:00
Mathew Sutcliffe
f87b5aa5d5 refs #296 implemented CSimulatorXPlane::getAirportsInRange 2014-07-18 23:32:56 +01:00
Mathew Sutcliffe
c2ca71c2a2 fixed oddity in relaySignals methods of XBus proxies 2014-07-14 23:30:12 +01:00
Klaus Basan
8d20c5e061 refs #298, implemented isPaused for FSX
In the same step renamed enum SystemEvent values to make them easier to spot
2014-07-12 18:25:29 +02:00
Klaus Basan
284a66a65c Fixed gcc warnings 2014-07-11 21:45:34 +02:00
Klaus Basan
5f4f6806da refs #289, added functionality in FSX plugin
* data definitions
* events
* improved error handling: HRESULT values, exception output
* sync time method
2014-07-11 01:21:17 +02:00
Klaus Basan
851bb70a68 refs #289, added methods for time sync in context, plugin
Remark: in the same step added methods for paused simulator
2014-07-11 01:21:04 +02:00
Klaus Basan
0a7d025b8d refs #292, found during debugging
* const override of toQVariant
* missing getter / setters
* metaTuple
* improved toQString
* CClient::setCapability bug
* Fixed wrong ICAO check
2014-07-11 01:20:34 +02:00
Klaus Basan
3729721fc3 refs #289, method bodys for time sync as preparation
simulator can send messages to contexts
2014-07-11 01:20:29 +02:00
Klaus Basan
76bc6f0efc Formatting, tweaks 2014-07-11 01:20:21 +02:00
Klaus Basan
9e4c58b209 Moved CSimulatorFsx::SimConnectProc in own cpp file, as discussed in meeting 2014-07-11 01:20:14 +02:00
Klaus Basan
5a4443487e Renamed to geodetic height, as discussed in meeting 2014-07-11 01:20:06 +02:00
Klaus Basan
bbdb8a293f refs #291, getAirportsInRange for simulator, simulator context 2014-07-11 01:20:05 +02:00