Commit Graph

73 Commits

Author SHA1 Message Date
Klaus Basan
bab053a0a2 Ref T683, display ground elevation/CG in simulator live data view 2019-09-16 22:39:52 +01:00
Klaus Basan
fa6101d02b Ref T683, use slow updates in FS9 for thins not to be updated every cycle 2019-09-16 22:39:51 +01:00
Klaus Basan
cbf5c1c445 Ref T650, save FSX/P3D specific settings 2019-05-13 11:20:56 +02:00
Klaus Basan
3be753a6a7 Allow to update model directories 2019-05-13 11:20:53 +02:00
Klaus Basan
bcbdaaf1a7 COM audio did not tune in (voice room) if channel was already selected at startup
Reason was: hardcoded channel spacing to 8.33kHz

As a result changed to channel spacing based on COM unit, which could also be changed at runtime

* the issue itself was in own aircraft context
* added functions for channel spacing
* changed to COM unit channel spacing (instead of hardcoded spacing)
2019-05-13 11:20:49 +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
67dcd11e73 Ref T422, functions to set XPDR mode 2018-11-06 01:41:48 +01:00
Klaus Basan
c675ef5c32 Ref T335, misc. improvements of value classes/list
- verifyModelData
- setModelType
- getCallsignsAsString
2018-09-12 17:40:51 +02:00
Klaus Basan
651ead5b51 Ref T335, misc improvements in value objects
* allow to reset PBH for terrain probe
* check for null altitude before converting
* function isTerrainProbe for model/aircraft
2018-09-08 15:36:25 +02:00
Klaus Basan
3ec3bb8e15 Ref T298, split military flag into check for civilian/military
* in military -> only military aircraft?
* in civilian -> only civilian aircraft?
2018-08-26 15:27:03 +02:00
Klaus Basan
cb351aca1a Ref T298, improved/fixed re-matching (match all aircraft again)
- reset to network model (otherwise we match "matched model" -> "matched model")
- renamed/added functions doMtachingAgain/doMatchinsAgain in contexts
2018-08-26 15:26:56 +02:00
Klaus Basan
60baa12c9d Ref T298, better ICAO family resolution
B737/DLH searched but B738/DLH present (same family but not same ICAO)
2018-08-16 14:44:01 +02:00
Klaus Basan
e114c8c99c Context menu of simulated aircraft view now handled in view directly
* removed duplicated code in mapping/aircraft component
* view can be used with context menu without further signals
2018-08-09 01:41:21 +02:00
Klaus Basan
c168262159 Ref T275, utility functions in simulated aircraft, sim object .. 2018-07-09 22:30:21 +02:00
Klaus Basan
d49831abc4 Ref T280, QHash for aircraft and models and some minor improvements
* CValueObject::comparePropertyByIndex
* bool "true" if value has been changed
2018-06-18 03:04:33 +02:00
Klaus Basan
6ed541b6ab Ref T243, Ref T273, added info about elevation (where did we obtain it?) 2018-06-13 13:59:52 +02:00
Klaus Basan
7ad4c29d28 Ref T261, detect gnd.flag (from network) suppport, display gnd.flag info in UI
* add flag info in simulated aircraft
* allow to display info  in UI
* unified naming to "contains" in situation list
* updated client provider
2018-05-12 21:40:13 +02:00
Klaus Basan
f330e91350 Ref T261, simulated aircraft get/set CG 2018-05-08 16:06:44 +02:00
Klaus Basan
e3d17859a0 Ref T259, Ref T243 improved utility functions so parts can be guessed in interpolator
* engine count
* aligned naming to "getEnginesCount"
* formatting
2018-05-08 16:06:32 +02:00
Klaus Basan
83b6578e69 Ref T259, Ref T243 use elevation plane for altitude
general idea: by using the plane class, we can set a elevation and then find a better one

* use elevation plane in situation
* adjusted depending classes such as hints, lists
* using setGroundElevationChecked so elevation can be gradually improved
2018-04-05 02:54:28 +02:00
Roland Winklmeier
de4fe44156 Fix sending the correct pressure altitude for a pilot position
* Before this commit, only the true altitude was known for an aircraft situation. The pressure altitude was not available anywhere yet.
* This caused a wrong altitude in radar clients.
* We fix this reading the pressure altitude from the simulators and set it in the own aircraft situation.
* MS Flight Simulators have the pressure altitude in the APIs available.
* For X-Plane and emulated simulator, we need to calculate it from the pressure at sea level.
* Finally, we use the new available pressure altitude to send it to the FSD server.

Maniphest Tasks: Ref T223
2018-01-15 22:49:08 +01:00
Klaus Basan
2fb7bde447 Ref T215, some adjustments of user object
* remove "valid" from some functions, because no validity is checked
* homebase + real name string
2018-01-13 05:04:34 +01:00
Klaus Basan
ba8d0c1f64 Ref T129, formatted aircraftmodel and simulated aircraft 2017-10-10 00:27:32 +01:00
Klaus Basan
ea6cf20587 Ref T111, allow to set cockpit by passing another simulated aircraft 2017-09-24 19:51:56 +01:00
Klaus Basan
6d26c96569 Ref T27, preparation for refactoring, turned private slots into normal member functions
* Motivation: slots no longer required, and in the driver the (small) slot overhead might matter
* renamed some members to better reflect future use
* timer intervals as constexpr
* fixed some typos and comments
2017-06-27 20:50:26 +02:00
Klaus Basan
5bea0e2a96 refs #879, added ctor for CSimulatedAircraft / CPropertyIndexVariantMap::size() 2017-02-24 15:21:26 +00:00
Klaus Basan
3de16cbec1 refs #877, CSimulatedAircraft DBus signature size
* reduce size by storing models in list
* using an array for the models failed - not supported by tuple system
2017-02-24 15:21:08 +00:00
Klaus Basan
7bfc9810cb refs #875, temp disabled network model for DBus (signature too big) 2017-02-24 15:21:02 +00:00
Klaus Basan
2f4c86fac4 refs #875, DBus fixes
* wrong signal connection signature -> assert
* missing SELCAL in simulated aircraft
2017-02-24 15:20:56 +00:00
Klaus Basan
c1482dca36 Formatting, help text beautifyHelpMessage, improved convertToQString 2017-02-24 15:20:55 +00:00
Klaus Basan
de72a678a2 refs #840, updated value classes
* VTOL flag
* doxygen
* allow to stop after an object has been found
* support for hints/elevation
2017-01-10 23:45:22 +00:00
Mathew Sutcliffe
6c36cd202b refs #837 ICoordinateGeodetic::geodeticHeight is a CAltitude. 2017-01-10 23:44:34 +00:00
Mathew Sutcliffe
544a1cca45 refs #837 Don't misuse coordinate height as ground elevation, use a separate member instead. 2017-01-10 23:44:31 +00:00
Klaus Basan
cb2be14083 Fixed "synchronized" typos 2016-12-13 19:00:12 +01:00
Klaus Basan
1a771aaed0 refs #789, treat aircraft with no model string as disabled 2016-12-13 19:00:07 +01:00
Klaus Basan
f1ce5fc173 refs #793, display mismatch between rendered and network model
* utility functions to display that info
* added in aircraft model
2016-12-06 09:47:00 +01:00
Klaus Basan
8a5d50a167 refs #780, fixed property index compare issues found in the client 2016-12-06 09:46:57 +01:00
Klaus Basan
0dd9bce697 refs #793, keep network model (as reverse looked up) 2016-12-06 09:34:53 +01:00
Klaus Basan
cdea8cff95 refs #780, fixes login/flightplan preset
* empty airline is valid
* sync with flightplan (new signal to indicate changed login values)
* better preset of own model
2016-12-06 09:33:57 +01:00
Klaus Basan
b959972e0c refs #707, refactoring geo interfaces
* added compare functions (also to ATC list)
* renamed to relative position, e.g. station.setRelativeDistance
* delegate set/get/compare to correct interface
2016-07-14 18:49:13 +02:00
Klaus Basan
8b39e6f9c3 Formatting / warning fix (RW slack)
'initializing': conversion from 'size_t' to 'const int', possible loss of data
2016-06-23 20:13:29 +02:00
Roland Winklmeier
3d7a39ed00 Fix BlackMisc header includes
* Include only what is used
* Use forward declaration when possible
* Sorted includes

refs #630
2016-05-13 17:05:49 +02:00
Klaus Basan
0f5d2a29a8 refs #655, Change signature (order) of setProperty/compareProperty 2016-05-13 16:44:17 +02:00
Klaus Basan
ddc7347927 refs #643, moved aircraft model icon loading to model class
* removed iconForModel from interface and aircraft config parser
* CPixmap support for loading pixmap from file
* Access to model of model set loader by model string
* icon path as member of CAircraftModel
2016-05-05 20:49:16 +02:00
Klaus Basan
368d803d42 refs #614, refs #638 removed redundant m_livery from CSimulatedAircraft and improved convertTOQString
* removed some leftovers in simulated aircraft such as virtual functions
* use livery from model instead of keeping a redundant copy
2016-04-11 20:57:54 +02:00
Klaus Basan
d83e9c0c91 Made ctor explicit 2016-04-11 20:22:22 +02:00
Mathew Sutcliffe
4e9d7d3efe refs #628 Metaclass style compatible with the AStyle beautifier. 2016-04-06 15:15:12 +01:00
Mathew Sutcliffe
4bd4baa535 refs #628 Use the metaclass mixins in all value classes. 2016-04-03 18:17:43 +01:00
Klaus Basan
c3722f9198 refs #485, refs #584 removed include blackmiscfreefunctions.h 2016-03-18 01:07:49 +00: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