Commit Graph

34 Commits

Author SHA1 Message Date
Mat Sutcliffe
57d32da826 Use nested namespaces (C++17 feature) 2021-09-18 15:07:48 +01:00
Klaus Basan
f9bb71c8ee Ref T786, FSX/P3D METAR (weather inject)
* allow to select which layers are converted to METAR string
* allow to pass sim.flag (FSX/P3D)
* winds aloft seem to crash FSX, disabled(!)
2020-06-12 18:42:51 +01:00
Mat Sutcliffe
e9a4c49d68 Ref T547 Update license masthead in all source code files. 2019-02-22 20:36:43 +00:00
Roland Rossgotterer
9d1299741e [GFS] Use Pressure at MSL instead of surface
Pressure at surface level was the wrong value. All barometers and
altimeters use pressure reduced to mean sea level. Reading that value
from GFS instead returns much more reasonable values.

ref T537
2019-02-22 20:36:20 +00:00
Mat Sutcliffe
d6b5dca6b2 Return a default-constructed QString instead of implicitly converting an empty string literal. 2019-02-22 20:23:49 +00:00
Mat Sutcliffe
6c05c5249d When calling arg() on a QString constructed from a literal, use QStringLiteral. 2019-02-22 20:23:47 +00:00
Mat Sutcliffe
ace7650ebe Ref T480 No need for QStringLiteral when concatenating with %, use UTF-16 string literals. 2019-02-22 20:23:46 +00:00
Klaus Basan
a062607520 Ref T317, fix CLANG warning for SimConnect
- casting functions in "simconnectfunctions.h"
- using correctly casted values
- some other smaller fixes
2018-09-01 20:13:56 +02:00
Roland Winklmeier
4cf3bc580f Use case sensitive name of Windows header files 2018-08-25 22:12:06 +02:00
Klaus Basan
e21328a5a6 Style 2018-08-16 14:44:11 +02:00
Klaus Basan
200152da18 Self include fixed 2018-08-16 14:44:10 +02:00
Klaus Basan
ac406d43f6 Ref T286, renaming / adding utility functions in simulator info 2018-07-09 22:30:24 +02:00
Klaus Basan
a27f2b3a9c Style, typos 2018-06-13 14:00:21 +02:00
Klaus Basan
bdf58ff538 Ref T275, utility functions to trace request ids 2018-06-13 14:00:18 +02:00
Klaus Basan
bf0db64f65 Improved METAR string building
* use static const arg1s (not always create temp. arg strings)
* use QStringBuilder to concatenate several parts at once
* done during Ref T275, but not really related
2018-06-13 14:00:17 +02:00
Klaus Basan
6b3cdf52ee Ref T180, adjusted FSX/P3D includes
* the fix header belongs into fsxcommon (not fsx) dir
* P3D is purely P3D, we do not build a P3D x86 driver
2017-11-05 20:02:03 +01:00
Klaus Basan
5560d6cb78 Ref T180, support for SimConnect.ini files and some renamings in CSimConnectUtilities 2017-11-04 21:44:39 +01:00
Mathew Sutcliffe
045b149164 refs #937 Resolved clazy warnings: Q_ENUMS is deprecated. 2017-04-19 19:31:47 +01:00
Klaus Basan
f82f04275b refs #911, allow to obtain address/port from simConnect.cfg file 2017-04-18 00:00:39 +01:00
Klaus Basan
7b9747b35c refs #910, obtain simConnect dll details
utility function
2017-04-18 00:00:07 +01:00
Klaus Basan
0f2680ba2a Formatting #910 2017-04-18 00:00:06 +01:00
Klaus Basan
056d205488 refs #891, unified "windows.h"
Remark: Using the lc version seems to be slightly smarter
http://stackoverflow.com/a/15466951/356726
2017-04-17 23:57:19 +01:00
Klaus Basan
3090413849 refs #873, value object light to light states 2017-02-24 00:19:43 +00:00
Roland Winklmeier
1f61458504 Add SimConnect utility converting weather grid
refs #851
2017-02-24 00:09:16 +00:00
Klaus Basan
2163fd9b01 refs #808, CSimulatorInternals
* renamed from CSimulatorSetup to CSimulatorInternals
* removed the FSX class, no longer needed
* utility functions for CNameVariantPair
2016-12-13 19:00:58 +01:00
Klaus Basan
fc65deb778 Just typos and formatting 2016-12-06 09:34:15 +01:00
Roland Winklmeier
2d8f56a598 Link CBuildConfig and CVersion into static library blackconfig
CBuildConfig including private keys etc. should not be part of a
public library API. Therefore link it into a static library, which
is not available to end users.

refs #645
2016-05-24 13:12:23 +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
Roland Winklmeier
d379f14133 Introduce build config template buildconfig.h.in
refs #625
2016-03-31 17:12:01 +02:00
Mathew Sutcliffe
6f1cf8e3d7 refs #624 Replace typedef with using. 2016-03-22 16:02:50 +00:00
Klaus Basan
c1b612e193 Some fixes as follow up of refs #533
* made plugin aware functions protected
* set setup for FSX ( refs #547 ) and made setup protected
* removed CLogHandler::instance()->disconnect(); as discussed in slack
* some formatting
2015-12-08 20:14:24 +01:00
Roland Winklmeier
a089d3641d refs #403 add BlackMisc shared library build 2015-05-05 21:34:19 +02:00
Klaus Basan
5d819b30f5 Split of CSimulatorPluginInfo and CSimulatorSetup
refs #404, and discussion https://dev.vatsim-germany.org/issues/404#note-8

* Changed CSimulatorSetup to use CNameVariantPairList as data. The old version was an hack and had to go, CNameVariantPairList would allow complex types in the future and can be already shown in the GUI.
* CNameVariantPairList was improved slightly in the same step
* Functions to get CSimulatorSetup from driver / context
* Removed CSimulatorSetup data from CSimulatorPluginInfo
2015-04-11 02:09:31 +02:00
Klaus Basan
32f60722c8 refs #396, move subproject BlackSim into BlackMisc::Simulation
* removed unused samples / tests
* fixed found Doxygen issues
* removed blacksimfreefunctions, now in BlackMisc::Simulation::registerMetadata()
* samples_vetcor_geo to samples_geo
2015-04-07 19:22:16 +02:00