Commit Graph

3375 Commits

Author SHA1 Message Date
Klaus Basan
440d9333c4 Flight plan fixes based on https://discordapp.com/channels/539048679160676382/539486309882789888/597133111272275970
* improved setting of combox value, fixed wrong text
* do NOT emit signals when same index
* getOwnCallsign
* do NOT used cache FPs for own aircraft
2019-07-11 20:46:34 +02:00
Klaus Basan
fab0de3450 Ref T698, enable network stats for restricted distributions 2019-07-11 20:46:34 +02:00
Klaus Basan
e88520109f Log all FSX/P3D config files read 2019-07-11 20:46:34 +02:00
Klaus Basan
8a138d8a4c P3D/FSX parser, skip reading of aircraft.cfg/sim.cfg files
* actually only aircraft.cfg files should be considered
* we also read sim.cfg files (Robinson)
* results in a lot of trash

https://discordapp.com/channels/539048679160676382/594962359441948682/596359689260761089
2019-07-11 20:46:34 +02:00
Klaus Basan
c78b42d5ea Ref T698, added remote aircraft context to network class 2019-07-11 20:46:34 +02:00
Klaus Basan
f90baedf8a Style 2019-07-11 20:46:33 +02:00
Klaus Basan
cb2fbbd1e1 Ref T417, flight plan follow ups
* fixed eventfilter, only allow ASCII values, disable in read only mode
* set remarks values "from external"
* set SELCAL value
2019-07-01 19:32:46 +02:00
Mat Sutcliffe
6115f7d093 Ref T696 Fix number formatting for CTime and CAngle.
- Removed the 'L' in the format strings, so the C locale is used.
- Added `1 + digits` to the `fieldWidth`, as this actually includes the
  decimal point and the digits after it.
2019-07-01 19:32:46 +02:00
Klaus Basan
a0d5fcdf42 Minor performance improvement of subdir check
* follow T689
* no need to always get and init simulator directory as it will not change
2019-07-01 19:32:46 +02:00
Klaus Basan
c11390bda6 Ref T417, FP UI allow SimBrief download 2019-07-01 19:32:45 +02:00
Klaus Basan
b348a88a18 Ref T417, parse SimBrief XML format 2019-07-01 19:32:45 +02:00
Klaus Basan
7f5a0e7827 Ref T417, SimBrief data class 2019-06-30 23:52:20 +02:00
Klaus Basan
0f9f088d98 Added network to UNIT tests (needed for CUrl
Other includes where needed
2019-06-30 23:52:20 +02:00
Klaus Basan
83dd48a897 Improved string concat to avoid "//" in paths 2019-06-30 23:52:19 +02:00
Klaus Basan
f06eb1bc7f Ref T554, setting for auto publish (timestamp) 2019-06-30 23:52:18 +02:00
Klaus Basan
1cd7496a78 Fixed typo, style 2019-06-30 23:52:18 +02:00
Mat Sutcliffe
8d99ae90dd Improved doxygen comments for CSimulatorInternals. 2019-06-29 15:34:00 +01:00
Mat Sutcliffe
3061270426 fixup! Ref T690, aded SVFR and DVFR to FP 2019-06-27 00:17:37 +01:00
Mat Sutcliffe
982861f132 Ref T689 Add validation that XP model directories are within the XP sim directory. 2019-06-26 22:08:51 +01:00
Mat Sutcliffe
aa9e2b70cc Ref T689 Settings validation can produce more descriptive error messages. 2019-06-26 22:08:50 +01:00
Mat Sutcliffe
33f7334eac Ref T633 Simplify whitespace in X-Plane flyable model strings. 2019-06-26 22:08:48 +01:00
Mat Sutcliffe
f921b87c8a Inline functions defined in header file, to avoid ODR violation. 2019-06-26 22:08:47 +01:00
Mat Sutcliffe
e9dc7f8da8 Ref T682 Don't convert text codec name to lower case, as it is case sensitive. 2019-06-26 22:08:46 +01:00
Mat Sutcliffe
dd72f2ee36 Ref T597 Generic DBus marshalling operators for QFlags. 2019-06-26 22:08:45 +01:00
Klaus Basan
7e34398a4a Send FP altitude without unit
https://discordapp.com/channels/539048679160676382/539846348275449887/593211815559823367
https://discordapp.com/channels/539048679160676382/539846348275449887/593063154238619649
2019-06-26 11:30:01 +02:00
Klaus Basan
8593eb412c Ref T690, aded SVFR and DVFR to FP 2019-06-25 23:57:45 +02:00
Klaus Basan
693418e826 Handled some potentially "dangerous" parsing issues for VATSIM file (no coordinate)
https://discordapp.com/channels/539048679160676382/539486489977946112/593081121512751116
2019-06-25 23:57:45 +02:00
Roland Rossgotterer
7d69a13d95 Define static constexpr int in source file
This fixes a linker error.
2019-06-25 23:57:45 +02:00
Klaus Basan
ceeacb5e37 Ref T658, improved matching script
* properties
* functions
* log improved
* fixes
2019-06-18 01:17:55 +02:00
Klaus Basan
3d4529c19c Ref T684, better detection of callsign type for ATC stations
* detection in "CCallsign::unifyCallsign"
* force ATC callsign in nAtisReplyReceived
2019-06-18 01:01:53 +02:00
Klaus Basan
1404fb69b2 Ref T684, renamed to "getAirlinePrefix()", as airline comes first 2019-06-16 20:21:24 +02:00
Klaus Basan
4174323439 fixup! Ref T681, preparations to use CG from DB 2019-06-16 03:03:05 +02:00
Klaus Basan
c55113fa0f fixup! Ref T658, matching script support for flight number and callsign "as set" 2019-06-16 03:03:04 +02:00
Klaus Basan
1ae585fc9d Avoid issues if simulator is NOT yet set in emulateed driver 2019-06-16 03:03:04 +02:00
Klaus Basan
91f09841df Allow to disable reverse lookup for model string and livery ids 2019-06-16 03:03:04 +02:00
Klaus Basan
b2de22fb50 Settings for reverse lookup + fixes
Ref T658 related
2019-06-15 00:04:46 +02:00
Klaus Basan
52c9f3b6f4 Ref T658, renamed to "MatchingScriptReturnValues" because it is NO object to be used in matching script 2019-06-15 00:00:43 +02:00
Klaus Basan
a53a62ac77 Ref T658, matching script support for flight number and callsign "as set" 2019-06-13 21:43:51 +02:00
Klaus Basan
35a441ac5b Ref T683, display ground elevation/CG in simulator live data view 2019-06-13 17:37:29 +02:00
Klaus Basan
bddbc1a690 Ref T683, use slow updates in FS9 for thins not to be updated every cycle 2019-06-13 17:37:28 +02:00
Klaus Basan
bf8de29762 Ref T683, "updateOwnSituationAndGroundElevation"
* function to use own positions "on ground" to calculate ground elevation
* use this based on settings
* adjusted simulators code
2019-06-13 17:37:28 +02:00
Klaus Basan
8f91d2a101 Ref T683, own aircraft provider CG update 2019-06-13 01:18:10 +02:00
Klaus Basan
24e9ffb398 Ref T683, style 2019-06-13 01:18:09 +02:00
Klaus Basan
17ef62dd3e Ref T683, settings for "record gnd.elevation" (based on own aircraft) 2019-06-13 01:18:07 +02:00
Klaus Basan
1a9ec78bb3 Ref T681, renamed to rememberElevationAndSimulatorCG and style 2019-06-13 01:18:07 +02:00
Klaus Basan
9c6d47e650 Moved XPDR definitions into "actionhotkeydefs.h" 2019-06-13 01:18:06 +02:00
Klaus Basan
941abd300e Ref T681, use simulator or DB CG as in settings 2019-06-13 01:18:05 +02:00
Klaus Basan
86431a46c7 Ref T681, preparations to use CG from DB
* renamed to "getSimulatorCG" ...
* pass simulator settings to sim.env.provider to decide what CG to use
* store DB CG and init it when aircraft is added
* style
2019-06-13 01:18:05 +02:00
Klaus Basan
c89aa553d8 Doxygen and style 2019-06-10 19:44:58 +02:00
Klaus Basan
9138ca37c0 Ref T681, settings for CG from DB 2019-06-10 02:39:55 +02:00