Mathew Sutcliffe
47369c02d0
refs #852 Fixed wrong unit in X-Plane airport elevation.
2017-02-24 00:18:07 +00:00
Mathew Sutcliffe
2b76b27f97
refs #852 On each position update for aircraft not supporting parts,
...
X-Plane driver synthesizes a parts update with guessed onGround flag.
2017-02-24 00:18:06 +00:00
Mathew Sutcliffe
c9b1647e72
refs #852 Extend xbus traffic service to maintain a CAircraftPartsList with onGround flags.
2017-02-24 00:18:00 +00:00
Roland Winklmeier
1a6c7fa192
Add control button to activate and deactivate swift weather
...
- GUI changes
- Context and ISimulator APIs
- Refactored settings and static weather injection in CSimulatorCommon
refs #807
2017-01-10 23:47:39 +00:00
Roland Winklmeier
440fa9453f
Cleanup QDBusPendingCallWatcher after QDBusPendingCall finished
...
X-Plane plugin triggers several async QDBus calls per second. None
of them were ever cleaned up after they finished, causing a fast increase
in process memory.
refs #845
2017-01-10 23:46:40 +00:00
Mathew Sutcliffe
6c36cd202b
refs #837 ICoordinateGeodetic::geodeticHeight is a CAltitude.
2017-01-10 23:44:34 +00:00
Mathew Sutcliffe
0beb7faf06
refs #824 Collect and load CSL packages upon connecting to xbus.
2016-12-13 18:33:19 +00:00
Klaus Basan
b69008e0b3
refs #829 , consolidated settings for simulator/messages
...
* move traits from blackcore to blackmisc
* renamed CSimulatorSettings/Messages
2016-12-13 19:02:13 +01:00
Klaus Basan
10d43798b0
refs #811 , airports default implementation
...
* if no sim data are available use reader data
* merge airport data for FSX
* Added "network" in .pro (needed for network classes such as readers)
2016-12-13 19:01:15 +01:00
Mathew Sutcliffe
5080c47288
refs #802 Fixed Clang warnings.
2016-12-13 19:00:47 +01:00
Klaus Basan
4f447cd408
refs #791 , further improve reverse lookup
...
* utility function if web data are already available
* moved setOwnAircraftModel as reverseLookupAndUpdateOwnAircraftModel to CSimulatorCommon
* reverseLookupAndUpdateOwnAircraftModel also handles async lookup when data are not yet available
* removed context ps_allSwiftWebDataRead reverse lookup, done in CSimulatorCommon now
2016-12-06 09:34:43 +01:00
Klaus Basan
f8c9782da4
refs #789 , FSX errors OPERATION_INVALID and EXCEPTION_UNRECOGNIZED_ID
...
* only emit aircraft as rendered when object id is received, not before
* added CSimualtedAircraft to CSimConnectObject (so it can be used as signal argument)
* some utility functions to get callsign/simobject by id
2016-12-06 09:34:20 +01:00
Klaus Basan
bf8198e2c2
refs #768 , misc adjustments
...
* changed signature of ownAircraftModelChanged to model
* added function for a reverse lookup of a model (string->model) and use it when model changed
* renamed function to updateByLocalFileNames
2016-10-17 14:34:15 +01:00
Roland Winklmeier
fb3df51013
Move aircraft matching out of simulator plugins
...
All model matching will be done simulator independent in
CContextSimulator. The simulator specific part is kept in the model
set.
This also caused the signal modelMatchingCompleted to be renamed to
aircraftRenderingChanged, since the name wasn't accurate anymore.
Both getInstalledModels(), getInstalledModelsCount() and iconForModel()
were removed from the ISimulator interface.
refs #765
2016-09-19 16:30:05 +02:00
Roland Winklmeier
2040ff21c5
Physically remove only physically rendered aircrafts
...
Physically removing an aircraft which was not yet rendered or known is
undefined behavior.
In this particular case, adding an aircraft the first time caused
its model to be updated, which called slot
ISimulator::changeRemoteAircraftModel, trying to remove an aircraft
which was not yet added and adding it again. This ends up
in an endless loop.
2016-09-19 16:18:50 +02:00
Roland Winklmeier
4e6c4a076a
Delay initial weather injection until simulator is connected
...
Up to know, the initial weather injection was done in the constructor
of ISimulator implementation. This was to early, since in the best case
the injection was not doing anything and in the worst case, crashed
the application because the plugin wasn't ready yet.
This change also replaces ps_reloadSettings with a specific non-slot
version to avoid code duplication.
2016-08-26 21:05:07 +01:00
Roland Winklmeier
82324d3246
Fix injection of static weather scenarios
2016-08-26 21:04:32 +01:00
Mathew Sutcliffe
8ce885eeba
refs #697 XBus setting renamed.
2016-08-03 02:19:12 +01:00
Mathew Sutcliffe
7a34cc6d9a
refs #697 BlackCore settings renamed and reorganized.
2016-08-03 02:19:11 +01:00
Klaus Basan
86d85c6b60
refs #707 , removed originator from some signatures
...
* not used in remote aircraft provider
* adjusted all using interfaces
2016-07-14 18:49:15 +02:00
Roland Winklmeier
10c4fa920d
Add weather scenario settings to simulator plugins
...
refs #663
2016-06-17 10:46:31 +02:00
Mathew Sutcliffe
9666c02adc
refs #666 , #574 CSimulatorXPlane: fixed default model string to use the new schema.
2016-06-08 23:54:13 +01:00
Mathew Sutcliffe
4c2bc31975
refs #666 XBus expects timestamp relative to current time, in case core and sim PCs run with different clock times.
2016-06-08 23:54:13 +01:00
Mathew Sutcliffe
37b4b81b9b
refs #666 XBus receives aircraft situations with timestamps.
2016-06-08 23:54:13 +01:00
Mathew Sutcliffe
9bef6854ca
Caches: rename "get" to "getThreadLocal" and rename "getCopy" to get.
2016-06-08 18:21:01 +02:00
Klaus Basan
54b1234f7f
refs #649 , refs #658 fixed includes to new subfolders "db"
...
some style changes in same step
2016-06-08 18:20:23 +02:00
Roland Winklmeier
602beb0da2
Remove obsolete plugin storage
...
Plugin storage was used before the value cache existed. With the
value cache this is no longer used and can be removed.
refs #660
2016-05-24 16:45:14 +02:00
Roland Winklmeier
cbc3946306
Fix xplane plugin header includes
...
* Include only what is used
* Use forward declaration when possible
* Sorted includes
refs #598
2016-05-20 01:32:04 +02:00
Roland Winklmeier
933271b828
Fix BlackCore header includes
...
* Include only what is used
* Use forward declaration when possible
* Sorted includes
refs #598
2016-05-13 17:06:00 +02:00
Klaus Basan
96189f530b
Fixed typo setGroundSpeed
2016-05-07 20:11:50 +02:00
Klaus Basan
48bcb105cd
refs #613 , changes as proposed by MS
...
https://dev.vatsim-germany.org/issues/613#note-3
2016-05-07 20:11:40 +02:00
Michał Garapich
1a3e610cbf
refs #513 Make plugin selection persistent
...
* Saved listeners are started on application startup
* CVariant has support for QStringList
2016-05-04 22:58:08 +02:00
Klaus Basan
1953665c40
refs #637 , move matcher to blackcore
...
(access to sApp/web services)
2016-04-11 20:24:57 +02:00
Klaus Basan
aa6370c325
refs #614 , moved model set cache and matcher to simulator common class
...
* removed from FS common class
* formatting
2016-04-11 20:19:37 +02:00
Klaus Basan
a5d0453019
refs #614 , changed matcher and applied changes
...
* new function in model list
* removed all models in matcher, only provider data will be used
2016-04-11 20:16:14 +02:00
Klaus Basan
c3355b1c9d
refs #614 , changed matcher so caches can be used
...
* provider for cached models
* removed unused dummy
* renamed getDatastoreModels
2016-04-11 20:16:10 +02:00
Roland Winklmeier
781707fb7e
Simulator driver fetches and injects weather from weather manager
2016-04-10 16:18:55 +02:00
Roland Winklmeier
dae31a1986
Use CWeatherManager as weathergrid provider in simulator plugins
...
refs #612
2016-04-10 16:13:58 +02:00
Mathew Sutcliffe
1801616953
refs #624 Use conditional SUBDIRS instead of REQUIRES for enabling/disabling subprojects.
2016-03-22 16:03:00 +00:00
Mathew Sutcliffe
3001ca1f44
refs #624 Use std::make_unique instead of BlackMisc::make_unique.
2016-03-22 16:02:29 +00:00
Klaus Basan
c3722f9198
refs #485 , refs #584 removed include blackmiscfreefunctions.h
2016-03-18 01:07:49 +00:00
Roland Winklmeier
48fdfbea3e
Cloud layers have a base and a top
...
refs #579
2016-03-02 23:04:29 +01:00
Roland Winklmeier
fe9c8ca3de
Inject global weather grid to X-Plane via xbus
...
refs #579
2016-03-02 23:04:21 +01:00
Roland Winklmeier
37bff8cc85
Use double in xbus DBus API instead of float
...
float is not supported by DBus and all slots fail to be registered
if they have float arguments.
2016-03-01 23:07:38 +01:00
Roland Winklmeier
bf65619440
Fix duplicate DBus object path in xbus
2016-02-24 22:42:07 +01:00
Roland Winklmeier
bd251b5de6
Fix license headers
2016-02-16 20:01:21 +01:00
Roland Winklmeier
7953d550ea
Fix linux clang errors and warnings
...
refs #596
2016-02-15 18:35:34 +01:00
Mathew Sutcliffe
451b90e4f9
refs #584 Moved make_unique to makeunique.h
2016-02-08 17:28:22 +00:00
Roland Winklmeier
055e4aae17
Fix source code not in sync with doxygen doc
...
refs #544
2016-02-08 01:53:17 +01:00
Roland Winklmeier
794bf0cd74
Fix doxygen copydoc documentation
...
The following issues were fixed
* Fixed wrong/missing namespaces
* Fixed obvious typos in documentation
* Documentation not in sync with source code
refs #544
2016-02-08 01:53:17 +01:00