Commit Graph

2833 Commits

Author SHA1 Message Date
Roland Winklmeier
e2cf75d51c Fix missing include 2018-09-17 18:28:55 +02:00
Klaus Basan
a9f0cebe13 Ref T345, fixed bug: only one station must be updated with the new message 2018-09-17 18:28:53 +02:00
Klaus Basan
4913b93724 Style 2018-09-17 18:28:52 +02:00
Klaus Basan
1f3650e7e2 Avoid empty callsign objects 2018-09-17 18:28:51 +02:00
Klaus Basan
f5f0334fe5 Ref T345, added ATIS/METAR to test ATC stations 2018-09-17 18:28:48 +02:00
Klaus Basan
57178c75f9 Ref T357, function to copy FSX terrain probe, also in context for remote UI 2018-09-17 18:28:40 +02:00
Klaus Basan
869217f1e2 EpsilonEqual for float (used with UI functions which sometimes use qreal) 2018-09-17 18:28:38 +02:00
Klaus Basan
f553d42aca Ref T357, directory support for terrain probe files 2018-09-17 18:28:37 +02:00
Klaus Basan
c12e1585fd Allow to save interpolation/rendering setup
- setting trait
- save/load logic in context
- adjusted UI, allow to reset global setup
2018-09-17 18:28:33 +02:00
Mat Sutcliffe
74f3301679 Ref T321 Add extended error reporting in CAtomicFile::replaceOriginal
to try to gather more info on the problem saving the data cache session file.
2018-09-17 18:28:30 +02:00
Klaus Basan
c3cf39e102 Renamed to simplifyAccents (actually the chars are not removed, but replaced) 2018-09-17 18:28:29 +02:00
Klaus Basan
6c9804a1df Ref T353, clean string used with remarks and route
* use ASCII only characters
* simplify string
* max. length
2018-09-17 18:28:24 +02:00
Roland Winklmeier
cd9308658b Correct typo 2018-09-17 18:28:22 +02:00
Klaus Basan
849bc0b9d0 Ref T348, style 2018-09-17 18:28:15 +02:00
Klaus Basan
13ebf6bafe Ref T348, updated utility functions in CSimConnectObject/CAircraftCfgEntriesList, also fixed bug that type need to be updated to probe setting when aircraft changes
Related: Ref T317 Ref T247 Ref T335
2018-09-17 18:28:14 +02:00
Klaus Basan
64f8420b32 Ref T348, allow to parse a single "aircraft.cfg" file
Related: Ref T317 Ref T247 Ref T335
2018-09-17 18:28:12 +02:00
Klaus Basan
c11a38dbde Ref T348, file handling in aircraft model (renaming)
Related: Ref T317 Ref T247 Ref T335
2018-09-17 18:28:09 +02:00
Klaus Basan
da2a7f6506 Ref T348, get specialized settings
Related: Ref T317 Ref T247 Ref T335
2018-09-17 18:28:08 +02:00
Klaus Basan
a07d18aa44 Ref T348, util function to correct FSX/P3D model path
Related: Ref T317 Ref T247 Ref T335
2018-09-17 18:28:07 +02:00
Roland Winklmeier
24ebc2ce7f Set the actually opened audio device from vatlib
In the past, the optional arguments currentInput and currentOutput were not
used. Therefore we never knew which device was actually opened by vatlib.
This caused the Audio UI to be completely unsychronized from the reality
when loading swiftgui.

ref T337
2018-09-12 20:30:33 +02:00
Klaus Basan
c3fa2ab2f0 Ref T335, set correct model type when saving to caches 2018-09-12 17:40:54 +02:00
Klaus Basan
68b72d9c5c Ref T335, update "enabled/"rendered" for multiple callsigns 2018-09-12 17:40:52 +02: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
7d715a909e Ref T335, style and CLANG warnings 2018-09-12 17:40:49 +02:00
Klaus Basan
72a54f9952 Better CSimulatedAircraft::getNetworkModelAirlineIcaoDifference / CSimulatedAircraft::getNetworkModelAircraftIcaoDifference 2018-09-12 17:40:47 +02:00
Klaus Basan
a6499751f0 Ref T335, style/messages 2018-09-12 17:40:46 +02:00
Klaus Basan
27f2fe1b57 Ref T339, simulator info message (version) for SUP supervisor 2018-09-12 17:40:42 +02:00
Klaus Basan
ad37e67a6b Ref T345, improved handling of info message in CAtcStation 2018-09-12 17:40:32 +02:00
Klaus Basan
62601bde9d Ref T345, fixed value class CInformationMessage
- added property functions
- used ITimestampBased
2018-09-12 17:40:31 +02:00
Klaus Basan
e4a9a7ce9f Ref T343, support for 7digit ids 2018-09-12 17:40:28 +02:00
Klaus Basan
1243d6e93a Ref T323, better parsing of altitude values
- assume "24000" also as FL
- epsilon comparison
- use 0-9 char functions
- style
2018-09-12 17:40:24 +02:00
Klaus Basan
b67e9ca316 Aligned epsilon with other functions 2018-09-12 17:40:23 +02:00
Klaus Basan
8f6b6229fb CLANG fixes for measurement unit 2018-09-12 17:40:22 +02:00
Klaus Basan
d60b900b84 Ref T323, functions to detect 0-9 chars since isDigit detects a lot of other chars 2018-09-12 17:40:21 +02:00
Roland Winklmeier
4b888d87f5 Add methods to read weather grid from file 2018-09-12 17:40:19 +02:00
Roland Winklmeier
dbbc459dbc Add X-Plane object version into the model description 2018-09-12 17:01:47 +02:00
Roland Winklmeier
01779183c4 Don't set distributor from CSL package name
That is almost always wrong.
2018-09-12 17:01:46 +02:00
Roland Winklmeier
d682df243a Fix loading of older OBJ8 CSL modelsets
- Fix support for older modelsets not using the texture for OBJ8 feature
- Small error when xsb_aircraft.txt was outside the object folder

ref T326
2018-09-12 17:01:45 +02:00
Klaus Basan
a9d728f451 Ref T338, utility functions / parsing
- nthIndexOf
- measurement unit can be parsed case insensitive
- CSimpleCommandParser::remainingStringAfter from n-th space
- improved frequency parsing
2018-09-12 17:01:41 +02:00
Klaus Basan
3d2d999f7a Ref T338, style 2018-09-09 02:55:16 +02:00
Klaus Basan
d37c52fed5 Ref T315, owner is normal pointer, disucssion:
- https://swift-project.slack.com/archives/GCKMFLG30/p1536331871000100
- and in comments of T315
2018-09-09 02:55:14 +02:00
Klaus Basan
a2486981bd Style 2018-09-08 15:36:25 +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
b5aeffc31b Aircraft parser (FSX/P3D) added "sim.cfg" files as filter plus style 2018-09-08 15:36:24 +02:00
Mat Sutcliffe
82648038ac Ref T315, T314 Reverted workarounds to help diagnose original bugs
and added a couple more asserts.
2018-09-08 15:36:24 +02:00
Klaus Basan
b4e17ed091 Ref T322, renamings 2018-09-08 15:36:21 +02:00
Klaus Basan
809c845a02 Ref T320, mixed FSX/FS9 strings 2018-09-08 15:36:20 +02: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
Klaus Basan
8286da4395 Fixed Doxygen warning 2018-09-01 03:12:44 +02:00
Roland Winklmeier
29f464189b Move template in-class function definitions out of class
Keeping them defined in-class caused linker issues with the extern template
declaration in a non-optimized MinGW debug build. Apparently it did not
inline them but instead relied on the extern declaration and expected
them defined somewhere else.
2018-08-31 20:08:14 +02:00