Commit Graph

66 Commits

Author SHA1 Message Date
Lars Toenning
edbabe34be refactor: Remove airport view 2024-12-30 10:08:50 +01:00
Lars Toenning
efc7796f1b refactor: Remove timesync feature
This is directly available by new simulators.
2024-12-30 10:08:49 +01:00
Lars Toenning
1a0b2a8c5f refactor: clang format line length 2024-11-17 09:25:46 +01:00
Lars Toenning
97eed9562a refactor: clang-format 2024-11-16 21:40:55 +01:00
Lars Toenning
cc1e41fc59 refactor: Rename remaining "black" identifiers 2024-11-11 15:11:40 +01:00
Lars Toenning
3a2447770f refactor: Rename blackcore to swift::core 2024-11-11 15:11:39 +01:00
Lars Toenning
9142a3649b refactor: Rename blackmisc to swift::misc 2024-11-11 15:11:39 +01:00
Lars Toenning
de7b820112 refactor: Remove weather support 2024-10-13 15:20:57 +02:00
Lars Toenning
18d0b1eefc refactor(fs): Move FSUIPC from fscommon to FS9
With default settings, FSUIPC was not really used
by FS simulators (except FS9) as the transponder
mode readout was done with SB offsets through SimConnect.
For simplification, this removes FSUIPC from fscommon and moves it to FS9.
Therefor this also removes the option for FSX/P3D users to toggle FSUIPC.
2024-04-16 21:23:08 +02:00
Lars Toenning
bcc4bdd31e Add SPDX identifiers for REUSE compliance
Co-authored-by: Mat Sutcliffe <oktal3700@gmail.com>
2023-10-03 09:29:49 +02:00
Lars Toenning
970b7c3650 clang-format src 2023-04-18 16:07:19 +02:00
Mat Sutcliffe
57d32da826 Use nested namespaces (C++17 feature) 2021-09-18 15:07:48 +01:00
Mat Sutcliffe
63e8de8f00 Issue #77 getLogCategories returns a simple QStringList instead of our own class 2020-12-19 18:50:34 +00:00
Klaus Basan
718221b90e Ref T683, moved m_skipCockpitUpdateCycles to FS common so it can be used with P3D/FSX and FS9 2019-09-16 22:39:51 +01:00
Klaus Basan
fc2f7b4a12 Ref T683, move "m_ownAircraftUpdateCycles" one level up so it can be used in FS9 2019-09-16 22:39:50 +01:00
Klaus Basan
b9634f9927 Minor FSX driver updates 2019-05-13 11:21:00 +02:00
Mat Sutcliffe
e9a4c49d68 Ref T547 Update license masthead in all source code files. 2019-02-22 20:36:43 +00:00
Klaus Basan
b5ffa57fe8 Ref T444, Ref T471 style/comment 2019-02-22 20:35:10 +00:00
Mat Sutcliffe
225ff81252 Ref T485 Adjust CLogMessage and CStatusMessage call sites to use the new API. 2019-02-22 20:34:55 +00:00
Klaus Basan
d6fad99474 Ref T437, renamed CFsuipc functions to align with FSUIPC code 2018-11-22 19:55:04 +01:00
Klaus Basan
410d77330f Ref T437, extern C and use normal pointer 2018-11-22 19:55:04 +01:00
Klaus Basan
8ce3ac06ae Ref T437, update internals when changing FSUIPC on/off 2018-11-22 19:55:03 +01:00
Klaus Basan
7e9f3a6c7f Ref T342, distance of airport can be recalculated 2018-09-12 17:40:38 +02:00
Klaus Basan
fbfbdedb65 Ref T294, display simulator internals correctly
* view rows not selectable
* added settings to ISimulator
* ISimulator implements initSimulatorInternals() and sets default values
* also display plugin name
* XPlane using initSimulatorInternals()
2018-07-31 01:43:27 +02:00
Klaus Basan
d0adcc98cb Ref T289, merge CSimulatorCommonn/ISimulator 2018-07-12 18:29:36 +02:00
Klaus Basan
dff5c90853 Ref T275, move simulator info into env. provider 2018-06-27 12:49:05 +02:00
Klaus Basan
0f931eeeb3 Ref T268, moved changeRemoteAircraftModel/Enabled to CSimulatorCommon and removed duplicated code 2018-06-13 14:00:09 +02:00
Klaus Basan
aa7363dcad Ref T270, Ref T268, plugin common / simulator improvements
* connect with "about to quit"
* added interface declarations
* sim statistics, use common function setStatsRemoteAircraftUpdate and double for average values
2018-06-13 13:59:22 +02:00
Klaus Basan
2ae8f5b03f Ref T270, added CSimulatorPluginCommon as base class in driver project
* unlike BlackCore::CSimulatorCommon we can add also UI aspects here
* used by emulated driver, XP and the FS series
2018-05-18 00:25:11 +02:00
Klaus Basan
3031e5b648 Ref T261, set client provider in simulator
Needed to obtain client capabilities
2018-05-08 16:06:48 +02:00
Klaus Basan
897a6f301f Ref T232, aircraft can be re-added or removed via "dot-commands"
* can be used for testing
* utility functions to find inconsistent aircraft states
* reset highlight state
2018-01-30 20:31:59 +01:00
Klaus Basan
4fb30fdbc3 Ref T180, log pattern for cmd. line and logging some cmd line activities 2017-11-09 04:42:07 +01:00
Klaus Basan
ce7ae9701d Ref T180, formatting and minor fixes of FSX driver
* timer no longer a pointer
* formatting/comments
* unified naming to simObject
* default model initialized in derived class (P3D/FSX)
2017-11-04 21:44:45 +01:00
Klaus Basan
d5bb1733f4 Ref T180, formatting / const 2017-11-04 16:03:40 +01:00
Klaus Basan
b6333e69d8 Ref T171, made remote aircraft provider and web service "protected slots" -> "protected"
* Unlike in other cases, the remote aircraft provider slots are also very frequently called. So besides "style", it might be also useful here to avoid the extra MOC layers.
* Also renamed 2 web service signals and made web service connections Qt::QueuedConnection
2017-10-18 22:58:24 +02:00
Klaus Basan
61a23d700b Ref T171, driver formatting 2017-10-18 22:58:22 +02:00
Klaus Basan
d597dcec15 Ref T111, improved dot commands (e.g. ".drv") handling
* register help implementation to .cpp file
* tooltip HTML formatting
2017-09-24 19:51:17 +01:00
Roland Winklmeier
a00108af35 Make FSUIPC optional
Summary:
If FSUIPC is configured, its support will be enabled in swift
and disabled otherwise.

Ref T91

Reviewers: #swift_pilot_client, msutcliffe

Reviewed By: #swift_pilot_client, msutcliffe

Subscribers: msutcliffe, jenkins, kbasan

Maniphest Tasks: T91

Differential Revision: https://dev.swift-project.org/D28
2017-06-27 13:28:01 +02:00
Klaus Basan
38ea336cbb refs #894, register dot commands for help
(wherever dor commands are implemented)
2017-04-17 23:57:50 +01:00
Klaus Basan
68dccbefa6 Formatting, renaming, Doxygen, minor UI adjustments 2017-02-24 00:18:51 +00:00
Klaus Basan
c609c555b4 refs #848, parse command line in simulator
* added default implementation
* sims can override parseDetails for specific cmd lines
* enable/disable FSUIPC in fscommon part
* added useFsuipc(bool on)
2017-01-10 23:46:21 +00:00
Klaus Basan
1f57f7ca61 refs #812, use individual signals for web services
* trigger other operations directly when data have been read (do not wait for "all data read")
* avoid retriggering for no reason
* new entity flag for all data req. for model matching
2016-12-13 19:01:16 +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
Klaus Basan
c4dd888fa7 refs #808, added support for internals object
* initInternalsObject
* some formatting
2016-12-13 19:01:00 +01:00
Klaus Basan
3f6cef1c9f refs #796, allow to toggle full interpolation
* add setup class, metadata registration, property index ...
* removed enableDebugMessages, added setInterpolatorSetup
* adjusted contexts
* used in interolator
2016-12-06 09:47:01 +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
4478af119d refs #791, also perform lookup in simulator plugin`s CSimulatorFsCommon::setOwnAircraftModel 2016-12-06 09:34:41 +01:00
Klaus Basan
313aa9f679 refs #780, formatting simulator common class 2016-12-06 09:34:22 +01:00
Klaus Basan
45a620dab5 refs #768, some minor formatting during debugging of mapping wizard
(found that some unnecessary model changed events are sent, will result in some refactoring)
2016-12-06 09:33:27 +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