Talk:FlightGear version check
features
JA37
We should grep through $FG_ADDON to see if there are any other aircraft processing /sim/version in *.nas files, and check what is done/needed there. So far, the JA37 has the best-developed system in place, and it does not just silently fail/exit, but will do dynamic-feature scaling by disabling stuff, i.e. true backward compatibility. So that seems to be much better in comparison. It would only need to be generalized, e.g. to support SGConditions via props.nas and custom message/code blocks to enable/disable features
terminating
should take into account the aircraft centre and in-sim switching[1]
disable version-check
should introduce a property to disable the whole thing for power users using a prop switch
modal error dialog
should we disable/hide the menubar and use Draw masks to hide everything else?
localized
should use $FG_ROOT/Translations as a workaround for non-English errors messages
GUI independent
should work independently of the used frontend (PUI, Phi, Canvas, Qt)[2]
logprint
should be used to ensure that everything shows up in the log file
properties
we could make this much more generic by allowing arbitrary properties to be checked and warnings/errors to be shown, which would allow aircraft developers to provide custom messages to clarify if/how an aircraft is going to be affected by mismatching versions--Hooray (talk) 08:33, 17 November 2015 (EST)
conditions
props.nas
References
|