Michał Garapich
a0b4d47736
refs #392 Added BlackGui::IPluginConfig
...
* BlackGui::IPluginConfig is an interface for plugin configurations
* Added plugin_xplane_config target
* Adapted IPluginManager
* Adapted CPluginManagerSimulator
* Adaptem CSettingsSimulatorComponent
2015-11-19 21:08:21 +00:00
Michał Garapich
584616de7a
refs #443 Added PluginDetailsWindow
...
* New variable in the json metadata file - simulator name
* Added PluginDetailsWindow that shows plugin info
2015-11-19 21:08:18 +00:00
Roland Winklmeier
5eddef0f12
Add install targets
...
refs #486
2015-11-19 21:07:14 +00:00
Roland Winklmeier
6474261c3c
Remove unnecessary includes
2015-11-19 21:07:00 +00:00
Klaus Basan
98b86b6f27
refs #502 , move the thread checks into own class in blackmisc
...
* we want to clean up the freefunctions anyway
* allows to use check in blackmisc namespace
2015-11-19 21:06:19 +00:00
Mathew Sutcliffe
cda0882806
Removed useless line.
2015-11-19 21:05:13 +00:00
Mathew Sutcliffe
777a371569
refs #484 Revise XBus airports-in-range code using CNavDataReferenceList.
2015-11-19 21:05:07 +00:00
Roland Winklmeier
94901b7846
refs #487 Finish IAircraftModelLoader::createModelLoader factory method
2015-11-19 21:03:03 +00:00
Mathew Sutcliffe
6b75de0b3f
refs #482 Project files changed to use new qmake feature files and build directory structure.
2015-11-19 21:02:41 +00:00
Mathew Sutcliffe
ed98dcedc6
refs #271 Changed the default X-Plane model to one that is part of the basic CSL package of xbus.
...
This makes traffic visible in X-Plane once again.
2015-11-19 21:01:29 +00:00
Mathew Sutcliffe
b0b1a3a65d
refs #271 CSimulatorXPlane sends text messages to XBus and they are displayed in X-Plane.
2015-11-19 21:01:26 +00:00
Mathew Sutcliffe
cab22cdd64
refs #271 Removed some old debug printing.
2015-11-19 21:01:18 +00:00
Mathew Sutcliffe
b489b888a3
refs #466 Added a weather service class for XBus.
2015-11-19 21:01:15 +00:00
Mathew Sutcliffe
f757adbf5a
refs #466 Resolved TODO items in xbus.
2015-11-19 21:01:12 +00:00
Mathew Sutcliffe
3401fff017
refs #466 Refactored automatic signal relaying into CGenericDBusInterface.
2015-11-19 21:01:10 +00:00
Klaus Basan
a8e8e5527a
refs #452 updated drivers
...
* FSX/FS9 directories directly resolved in parser
* all: using BlackMisc::Simulation::CSimulatedAircraft instead of CAircraft
2015-11-19 20:59:10 +00:00
Mathew Sutcliffe
00cd4f4f87
refs #459 Removed CAircraftParts::m_correspondingCallsign per Slack discussion MS/RW.
2015-11-19 20:58:18 +00:00
Klaus Basan
4120608532
refs #445 , change livery in XP driver.
...
(still work in progress)
2015-11-19 20:57:30 +00:00
Klaus Basan
13df4302d7
refs #445 , adjusted the drivers to reflect changes (liveries)
2015-11-19 20:57:27 +00:00
Roland Winklmeier
1ac89d477f
refs #444 Use CAircraftMatcher to match a model and send it to xbus
...
In case the model name is empty, xbus falls back to its former
behaviour and lets libxplanemp do the matching. If aircraft matcher
does provide a model this will be used instead.
Until model mapping database is ready, a dummy provider has been added.
Hence CAircraftMatcher will always return a default model.
2015-11-19 20:57:09 +00:00
Roland Winklmeier
b28634e586
refs #444 Move CAircraftMatcher into Simulation namespace
...
It used to be before in FsCommon namespace, however it does not
have any MSFS specific implementation any more and is used by
xplane driver as well.
2015-11-19 20:57:07 +00:00
Michał Garapich
3d81199d79
Remove stub files from x-plane plugin directory
2015-11-19 20:51:13 +00:00
Roland Winklmeier
25cdff54f3
refs #435 Read installed models from X-Plane via xbus
2015-11-19 20:51:09 +00:00
Mathew Sutcliffe
d4d862927e
refs #441 Rename COriginator to CIdentifier and rename COriginatorAware to CIdentifiable.
2015-06-06 18:02:16 +01:00
Klaus Basan
dbce887946
refs #438 , allow to stop and reinit parser/matcher
...
* plugin changes, mapper/parser will be stopped.
make sure worker is properly shutdown
* restarted FS/FSX. Allow to reset mapper/parser data from store
2015-06-05 01:35:23 +02:00
Klaus Basan
d603b28697
refs #438 , plugin loading testing session + meeting results
...
* simulator common, many members now private (info -> read only)
* renamed printDirectPlayError -> logDirectPlayError
* (re)added ASSERT for FS9
* removed parent from listener (with parent no moveToThread)
* removed QFuture / QConcurrent as we have agreed to do
* unloading a plugin no longer automatically restarts all listeners
this allows a user to set one particualar simulator in the GUI and ony wait for that
* stop listener from own signal
2015-06-04 23:44:50 +02:00
Klaus Basan
91bcba6a0c
refs #438 , added plug info to listeners
...
* listener signal can be directly used without mapping
* (during debugging) it is much easier to identify a listener
2015-06-03 16:26:49 +02:00
Klaus Basan
8e56a14caf
refs #438 , allow to cancel parser
...
* added flag for parsing success
* unload driver cancels parsing
* assert for invoke
* using waitForFinished
2015-06-03 16:25:53 +02:00
Klaus Basan
a6dd7fdd09
refs #438 , fixed assert situation in FS9 driver
2015-06-03 16:25:38 +02:00
Roland Winklmeier
e4f2c9e88a
Replace occurrences of CVariant::toCVariant() with CVariant::from()
2015-05-30 16:59:51 +02:00
Michal Garapich
b9b2b5770a
refs #417 Add support for FSX and FS9
2015-05-30 08:22:55 +02:00
Michał Garapich
23761fad13
refs #417 Remove ISimulator::asyncConnectTo() for x-plane
2015-05-29 22:03:06 +02:00
Michał Garapich
49a9b91258
refs #423 Detect already running xbus
2015-05-29 23:34:43 +02:00
Klaus Basan
76993ab394
Fixed some signature const / & issues causing malfunctions with DBus
2015-05-29 16:53:46 +02:00
Klaus Basan
94eb33d228
refs #431 , infinite recursion in driver unload
...
* Trivial changes to avoid changedStatus signal when nothing changed
* Do not reload plugin when already loaded
2015-05-29 16:53:39 +02:00
Klaus Basan
6c06ff5d46
refs #432 , adjusted originators
2015-05-29 03:49:16 +02:00
Roland Winklmeier
6995ad7063
refs #409 Refactor matching implementation in MSFS drivers
...
CAircraftMapper used to be designed around FSX only. CAircraftMatcher
instead is more generic for different MSFS versions. Therefore it is
replaced with the latter. This change also gets rid of the singleton and
its drawbacks by using the plugin storage.
Last but not least it implements the first model matching for FS9.
2015-05-28 21:34:08 +02:00
Roland Winklmeier
74b6bb9756
refs #409 Move FS specific methods into FSX and FS9 driver
...
The reason for this change is, that the information these methods provide
are similar for FS9 and FSX, but the content is different.
2015-05-28 21:34:06 +02:00
Roland Winklmeier
9e274badf1
refs #409 Rename ISimulatorModelMappings to IModelMappingsProvider
...
The reason is that the previous name sounded more like a value
object. But instead it does read the mappings from somwhere.
2015-05-28 21:33:56 +02:00
Roland Winklmeier
5e4fe4d5d7
refs #409 permanent plugin storage
2015-05-28 21:33:49 +02:00
Roland Winklmeier
ee0bfd62fa
refs #428 Use COriginator instead of QString in internal API
2015-05-25 16:06:44 +02:00
Klaus Basan
880a954db9
refs #395 , improvements for snapshot / restricted aircraft handling
...
* fixed isCurrentThreadCreatingThread and renamed to isCurrentThreadObjectThread (this check was never working), added 2 more thread checks
* changed remove aircraft function to return number of returned aircraft (like with the containers this allows to avoid unnecessary signals)
* removed unused function ps_recalculateRenderedAircraft() / SimulatorCommon
* using Queued airspaceAircraftSnapshot signal for binding (functor connect does not provide connection type)
* extened ASSERTs to check threads
* simulator: initial situation function with return value (success?)
* simulator: avoid unneccessary copy and provide correct rendered flag in add aircraft function
2015-05-22 03:08:16 +02:00
Roland Winklmeier
281b6f0b69
Fix clean shutdown of FS9
2015-05-21 01:37:37 +02:00
Roland Winklmeier
c8a035f49a
Replace callsign type QString with CCallsign
2015-05-21 01:37:36 +02:00
Roland Winklmeier
0d21f70d3b
cleanup stalled DirectPlay peers
2015-05-21 01:37:35 +02:00
Roland Winklmeier
3b8a4d5613
refs #404 Try to connect only if FS9 is registered as lobbied application
2015-05-21 00:43:22 +02:00
Klaus Basan
6d5c3d85a1
refs #420 , refs #421 , finetuning of FSX shutdown and crash detection
2015-05-18 12:56:08 +02:00
Klaus Basan
25c0cea575
refs #417 , made the isConnected, isRunning, isPaused functions protected.
...
They should be only used with the drivers.
2015-05-17 23:56:29 +02:00
Klaus Basan
e53395412a
refs #420 , refs #417 , removes canConnect as it is not consumed, just generated.
2015-05-17 20:29:34 +02:00
Klaus Basan
de43caf451
refs #420 , refs #421 Adjusted FSX driver to emit correct status flags and unloading
...
* added unload function to disconnect signals / slots and simulator
* changed remote provider to return signal/slot connections to manually disconnect functor connects
* flag so pause can freeze or continue AI aircraft
* slightly changed unload behaviour in simulator context
Remark: Tested for FSX only
Solves #424 for FSX
2015-05-16 03:26:30 +02:00