Klaus Basan
fd6bfdb7c0
Ref T237, using EntitySet = QSet<CEntityFlags::Entity>
2018-01-30 23:34:10 +01:00
Klaus Basan
9781f106ad
Minor UI fix (renaming)
2018-01-30 23:34:08 +01:00
Klaus Basan
8f8c2fb96d
Formatting
2018-01-30 20:35:39 +01:00
Klaus Basan
9d1c30e3d4
Ref T237, latest DB data
2018-01-30 20:35:37 +01:00
Klaus Basan
801b584c87
Ref T237, init DB caches from installer files
2018-01-30 20:35:34 +01:00
Klaus Basan
f3afde76ff
Ref T237, init/read from JSON files
...
* multi format compatible (automatically detect format)
* flag if cache values shall be overridden
* init from resource files (those are the files coming with the installer)
* automatically read in background if reader is (already) in its own thread (otherwise cache.set() ASSERT)
2018-01-30 20:35:32 +01:00
Klaus Basan
28b5ec9ec6
Ref T237, JSON functions
...
* container file JSON function automatically detecting JSON format (swift, cache, DB)
* utility functions
2018-01-30 20:35:30 +01:00
Klaus Basan
deddf7c957
Ref T237, init caches from resource files (means the files delivered with swift)
...
* initFromLocalResourceFiles reads all local DB data
* made 2 functions virtual readFromJsonFiles, readFromJsonFilesInBackground
2018-01-30 20:35:25 +01:00
Klaus Basan
c6b942dc15
Fixes an issue reported by @rphohl that XSwiftBus is not found
...
* only download non-restricted versions
* utility functions to find non-restricted versions
2018-01-30 20:35:22 +01:00
Klaus Basan
39533a7508
Ref T231, Ref T236, Ref T238 improved logging "toQString" of hints/setup improved
2018-01-30 20:35:20 +01:00
Klaus Basan
27fb57ca39
Minor UI fix (wrap label)
2018-01-30 20:35:17 +01:00
Klaus Basan
1f1ea1de5b
Minor Ui adjustments ATC component
2018-01-30 20:35:14 +01:00
Klaus Basan
2d0fbfa3c5
METAR formatting, style, string concat (builder)
2018-01-30 20:35:11 +01:00
Klaus Basan
69e2ed6efe
Ref T231, Ref T236, Ref T238 improvements based on Unit test
...
* check for a correct callsign (assert)
* set callsign if missing (fallback)
* resetLastInterpolation - null last inperpolation
2018-01-30 20:35:09 +01:00
Klaus Basan
0a06ad223f
Ref T231, Ref T236, Ref T238 improvements of interpolator
...
* keep last interpolated sitation, removed m_isFirstInterpolation
* allow to obtain the old/new situation
* transfer of elevations to newer situations
2018-01-30 20:35:07 +01:00
Klaus Basan
cd5fdfaf14
Ref T231, Ref T236, Ref T238 improved logging of situation/parts logging
...
* "dot" commands to log parts/situations
* log can also be displayed in simulator (if simulator can display text messages)
* fixed missings locks for m_interpolationRenderingSetup
* more detailed output
* renamings
* using hints in log
2018-01-30 20:35:05 +01:00
Klaus Basan
5f6f822ccd
Ref T231, Ref T236, Ref T238 help for "dot commands" will be refreshed
...
* an new simulator can cause a changed help
* we update the help based on context signals now
2018-01-30 20:35:00 +01:00
Klaus Basan
9a862cab43
Ref T231, Ref T236, Ref T238 allow to trigger logging from models view
...
* uses the feature to send "dot commands" to contexts
* also uses the renamed developer flag from CApplication
2018-01-30 20:34:57 +01:00
Klaus Basan
bdda413386
Ref T231, Ref T236, Ref T238 made command parsing function mandatory for contexts
...
* we can send commands to any context
* to send to all contexts use the facade
* application relays to facade
2018-01-30 20:34:55 +01:00
Klaus Basan
ebd916f6d8
Ref T231, Ref T236, Ref T238 added ITimestampWithOffsetBased
...
* base class for offset timefeaturing classes
* used with parts/situations
2018-01-30 20:34:52 +01:00
Klaus Basan
301eb79eca
Renamings and adjustments of developer flag
2018-01-30 20:34:50 +01:00
Klaus Basan
e7f2d639c1
Ref T231, arbitrary radius for elevation plane
2018-01-30 20:34:47 +01:00
Klaus Basan
844436e744
Ref T231, Ref T238 maxValue for PQs
...
Remark: max() as function name caused compile errors
2018-01-30 20:34:45 +01:00
Klaus Basan
7809734d36
Allows to use a scale factor on high DPI screens
2018-01-30 20:34:43 +01:00
Klaus Basan
17e4dbbd46
Ref T231, disable ARTISTIC forammting for some areas
2018-01-30 20:34:40 +01:00
Klaus Basan
5829917694
Ref T89, signal when server (flight network) connects
...
* server contains the ecosystem
* connect server signal with web data services (so ecosystem is available)
2018-01-30 20:34:38 +01:00
Klaus Basan
321cb8e563
Ref T236, transfer elevation to newer situations for future reference.
...
The elevation will be transferred within a given radius
2018-01-30 20:32:06 +01:00
Klaus Basan
6d5509890b
Ref T238, moved spline x,y,z ... values to interpolant
...
* only interpolant needs those values
* encapsulated in struct PosArray
* Interpolant needs no reference to interpolator (anymore)
* const CInterpolatorPbh &pbh()
2018-01-30 20:32:03 +01:00
Klaus Basan
897a6f301f
Ref T232, aircraft can be re-added or removed via "dot-commands"
...
* can be used for testing
* utility functions to find inconsistent aircraft states
* reset highlight state
2018-01-30 20:31:59 +01:00
Klaus Basan
3ee5e68054
Ref T238, comments and formatting
2018-01-30 20:31:56 +01:00
Klaus Basan
c9ad99df2e
Ref T238, logParts and getInterpolatedParts can be const
2018-01-30 20:31:53 +01:00
Klaus Basan
92d4294972
Ref T236, isNull default implementation of ICoordinateGeodetic
...
Also interface can be checked agains null
2018-01-30 20:31:50 +01:00
Klaus Basan
00d1315aac
Ref T236, getGroundElevation can be used with and without provider
2018-01-30 20:31:47 +01:00
Klaus Basan
851fbe165d
Ref T236, utility functions to set ground elevation
2018-01-30 20:31:43 +01:00
Klaus Basan
81ea636bc0
Assert / formatting
2018-01-30 20:31:41 +01:00
Klaus Basan
28346fbbdc
Ref T231, set elevation as default for current situation
2018-01-30 20:31:38 +01:00
Klaus Basan
3da834e964
Ref T231, formatting
2018-01-30 20:31:35 +01:00
Klaus Basan
b76a82398f
Ref T231, "dot" command to display position in simulator
2018-01-30 20:31:32 +01:00
Klaus Basan
d30229fafe
Ref T231, improved logger
...
* independent mutexes
* utility functions
* max. values
2018-01-30 20:31:29 +01:00
Klaus Basan
5ec095684a
Ref T231, utility functions
...
* altitude
* situation
* callsign set
* elevation set
2018-01-30 20:31:26 +01:00
Klaus Basan
b5106167d9
Renaming
2018-01-30 20:31:23 +01:00
Klaus Basan
cec94e2819
Make sure SwiftGuiStd::reloadOwnAircraft is not called during shutdown
2018-01-30 20:31:19 +01:00
Klaus Basan
296b04d8ea
Ref T231, Ref T232 show messages im simulator component
2018-01-30 20:31:15 +01:00
Klaus Basan
d118ea402f
Ref T232 clear remote aircraft data once network disconnects
...
* blackconfig in .pro
* verify function to detect dangling states
* clear remote data when disconnected from network
* there was one problem that the data where not correctly cleaned up and hence new aircraft where not added again after a disconnect/reconnect from network
* it is not yet clear why data happens (dangling data), that is what the debugVerify function is for
2018-01-30 20:31:11 +01:00
Klaus Basan
5f7842163b
Ref T231, Ref T232 utility functions
2018-01-30 20:31:09 +01:00
Klaus Basan
b49816795c
Ref T231, using corrected altitude with CG in spline interpolator
...
Ref T207
2018-01-30 20:31:06 +01:00
Klaus Basan
47d1915e17
Ref T231, using fudge factor in XP as CG (same as in FSX/P3D)
...
Ref T207
2018-01-30 20:31:03 +01:00
Klaus Basan
c80d12c357
Unit test
2018-01-30 20:31:00 +01:00
Klaus Basan
ca13c21943
Ref T231, utility functions
...
* corrected altitude also considering CG
* 0 if CG is NULL
2018-01-30 20:30:57 +01:00
Klaus Basan
ddaba89e2d
Ref T214, demoted "route missing" to warning
2018-01-30 20:30:54 +01:00