]> git.mxchange.org Git - flightgear.git/commit
Issue #809, restructure position init code.
authorJames Turner <zakalawe@mac.com>
Sun, 9 Dec 2012 19:41:31 +0000 (19:41 +0000)
committerJames Turner <zakalawe@mac.com>
Sun, 9 Dec 2012 19:41:31 +0000 (19:41 +0000)
commitdc132ab475fa16979c8c8e370521b8d38bdefdd3
tree65626e0f7ca6e7d17b9f46395db49e334b944476
parent13cec7bd9955079bca2290a96a5a74cc9ec0522f
Issue #809, restructure position init code.

Modify startup sequence, so position can be modified late in the startup process, right before the scenery load starts. This allows two ugly hacks to move to a permanent, less hacky location. If other position init modes required similar late evaluation in the future, this can be accommodated now.

This is a somewhat high-risk change - I've tested both carrier starts and runway-selection based on realwx METAR, but please look out for other position-init issues and test before / after this patch.
src/Environment/realwx_ctrl.cxx
src/Main/fg_init.cxx
src/Main/main.cxx
src/Main/positioninit.cxx
src/Main/positioninit.hxx