Commit Graph

8270 Commits

Author SHA1 Message Date
Klaus Basan
18778ed97e Validation for XP model directory in simulator basics 2019-09-16 22:40:28 +01:00
Klaus Basan
5799e31d27 XPlane sub directory check (model dirs in XPlane dir), unified with settings is valid 2019-09-16 22:40:28 +01:00
Klaus Basan
ac2d665c6b Status message utility function, overlay frame utility function 2019-09-16 22:40:28 +01:00
Klaus Basan
cb77279b4d Renamed function id Directory utils and added string only version 2019-09-16 22:40:27 +01:00
Klaus Basan
cd63712cd7 Ref T701, reduce by airline name and/or telephony designator if possible 2019-09-16 22:40:27 +01:00
Klaus Basan
53d637acb0 Ref T701, use modelset and improved matcher functions in airspace monitor 2019-09-16 22:40:27 +01:00
Klaus Basan
c9ec28442e Ref T701, matcher functions to used model set in matching, and better resolve ambiguous airline ICAOs
* reduce by telephony/airline name
* search in model set first for airline ICAO

Rational: If a user flies with modelset this most likely represents the airlines needed most in his area
2019-09-16 22:40:27 +01:00
Klaus Basan
1d4d3d81d0 Ref T701, comments 2019-09-16 22:40:26 +01:00
Klaus Basan
0767deb41d Ref T701, IAircraftModelSetProvider 1st version
* added to matcher
* and simulator context
* in facade changed init order, as we need getCContextOwnAircraft() / getCContextSimulator()

Remark: Need 2 contexts is not ideal, but accepted for the moment
2019-09-16 22:40:26 +01:00
Klaus Basan
9ac457edb3 Unified weather scenario names in single place 2019-09-16 22:40:25 +01:00
Klaus Basan
ca23115394 Some weather UI improvements
* added label line to show if weather is on/off
* myself guard (QTimer::singleShot)

Based on Q&A here https://discordapp.com/channels/539048679160676382/539486309882789888/598913115211694111
2019-09-16 22:40:25 +01:00
Klaus Basan
edbdcf3437 Consistent default values for weather scenario (avoid empty name) 2019-09-16 22:40:25 +01:00
Klaus Basan
ca7f11eb81 Ref T660, fixed and renamed to "getRelativeSubDirectories" plus sample 2019-09-16 22:40:25 +01:00
Klaus Basan
3cb3724556 Status message << overload
https://discordapp.com/channels/539048679160676382/539925070550794240/598604482246475789
2019-09-16 22:40:24 +01:00
Klaus Basan
7c2a3e4142 Launcher Tools Page for utilities which may be helpful
* merged about/news
* tools page
2019-09-16 22:40:24 +01:00
Klaus Basan
70f9420da5 Allow to reset/disable overlay messages with one click 2019-09-16 22:40:23 +01:00
Klaus Basan
242bea3636 Ref T660, FSX path handling
* exclude paths from exclude patterns
* check for *air file
* use absolute paths
2019-09-16 22:40:23 +01:00
Klaus Basan
878a207f85 Ref T660, utility functions 2019-09-16 22:40:23 +01:00
Klaus Basan
b71fb71fdc Log message if qss file can not be opened for write 2019-09-16 22:40:22 +01:00
Klaus Basan
26ddf3a353 Make sure setting to frameless/normal window keeps position and window size 2019-09-16 22:40:22 +01:00
Klaus Basan
3c200034dc Ref T660, add simulator settings in own models/model set component so simulator director can be used for validation 2019-09-16 22:40:22 +01:00
Klaus Basan
5bd3507ed9 Ref T660, unify FSX and P3D directory generation (from config files)
* removed unused functions
* sxSimObjectsDirPlusAddOnXmlSimObjectsPaths
* use simulator directory for FSX (same as P3D)
* renamings
2019-09-16 22:40:21 +01:00
Klaus Basan
9a384ebc54 Ref T660, add simulator directory to model view for validation 2019-09-16 22:40:21 +01:00
Klaus Basan
f59b52bd6d Ref T702, hardcoded min.ranges for ATC stations 2019-09-16 22:40:21 +01:00
Klaus Basan
69b3402301 Ref T701, reverse lookup against given model list (which could be the model set) 2019-09-16 22:40:20 +01:00
Klaus Basan
b3af9bc356 Ref T660, also use relative paths in add-on.xml 2019-09-16 22:40:19 +01:00
Klaus Basan
6e99bf2e02 Ref T701, utility functions 2019-09-16 22:40:19 +01:00
Klaus Basan
e389d5ac83 Ref T701, do NOT use FsInn data if model string iis unknown
* this can overrride "swift livery strings"
* FsInn only is useful with a known model string
2019-09-16 22:40:19 +01:00
Klaus Basan
c4e9114a83 Ref T701, typo 2019-09-16 22:40:18 +01:00
Klaus Basan
e376c18b28 Ref T701, check for model string in reader 2019-09-16 22:40:18 +01:00
Klaus Basan
ea7b3316c9 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-09-16 22:40:18 +01:00
Klaus Basan
891a058f17 Ref T698, enable network stats for restricted distributions 2019-09-16 22:40:17 +01:00
Klaus Basan
25dc43f19c Log all FSX/P3D config files read 2019-09-16 22:40:17 +01:00
Klaus Basan
a5a6a111e1 Ref T698, write network statistics as file when logged off from network
* enum to string (VatClientQueryType)
* also trace calls in "chronological order"
* added some more "increaseStatisticsValue" calls
2019-09-16 22:40:17 +01:00
Klaus Basan
419b837b65 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-09-16 22:40:16 +01:00
Klaus Basan
5e7c335a86 Ref T698, skip further processing of aircraft parts (config) if aircraft NOT in range 2019-09-16 22:40:16 +01:00
Klaus Basan
7b5c071d97 Fixed wrong call of "FORCED RELOAD" 2019-09-16 22:40:16 +01:00
Klaus Basan
afba7b9697 Ref T698, improved display of statistics 2019-09-16 22:40:15 +01:00
Klaus Basan
821e7e73c9 Ref T698, added remote aircraft context to network class 2019-09-16 22:40:15 +01:00
Klaus Basan
ab83d55d7c Ref T698, display network statistics in UI (internals) 2019-09-16 22:40:14 +01:00
Klaus Basan
f754154455 Ref T698, functions to count network VATLIB calls to identify packets
* functions in network classes
* context functions
2019-09-16 22:40:14 +01:00
Klaus Basan
92baa16536 Style 2019-09-16 22:40:13 +01:00
Klaus Basan
be3283305a 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-09-16 22:40:13 +01:00
Mat Sutcliffe
35b0836754 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-09-16 22:40:13 +01:00
Klaus Basan
b8efe93cd8 Minor stylesheet utils improvements 2019-09-16 22:40:12 +01:00
Klaus Basan
58b7c875bc Minor performance improvement of subdir check
* follow T689
* no need to always get and init simulator directory as it will not change
2019-09-16 22:40:12 +01:00
Klaus Basan
3dde201df0 Do not use QML debugger 2019-09-16 22:40:11 +01:00
Klaus Basan
f827cfc5cd Ref T417, FP UI allow SimBrief download 2019-09-16 22:40:11 +01:00
Klaus Basan
179cdb1b6d Ref T417, SimBrief download dialog 2019-09-16 22:40:10 +01:00
Klaus Basan
88373744f8 Ref T417, parse SimBrief XML format 2019-09-16 22:40:10 +01:00