示例#1
0
 internal TopModuleManager(Vessel vessel)
     : base(vessel, "Autopilot module manager", 24888888)
 {
     cur_ves_modules = AtmosphereAutopilot.Instance.autopilot_module_lists[vessel];
     settings_wnd    = new CraftSettingsWindow(this);
     settings_wnd.Deserialize();
 }
示例#2
0
                public void Apply(CraftSettingsWindow wnd)
                {
                    wnd.pvc.moderate_aoa       = moderate_aoa;
                    wnd.pvc.max_aoa            = max_aoa;
                    wnd.pvc.moderate_g         = moderate_g;
                    wnd.pvc.max_g_force        = max_g;
                    wnd.pvc.max_v_construction = ptich_v;

                    wnd.yvc.moderate_aoa       = moderate_sideslip;
                    wnd.yvc.max_aoa            = max_sideslip;
                    wnd.yvc.moderate_g         = moderate_g_hor;
                    wnd.yvc.max_g_force        = max_g_hor;
                    wnd.yvc.max_v_construction = yaw_v;

                    wnd.rvc.wing_leveler       = wing_leveler;
                    wnd.rvc.max_v_construction = roll_v;
                }
示例#3
0
                public SettingsProfile(CraftSettingsWindow wnd)
                {
                    profile_name = wnd.profile_name;

                    moderate_aoa = wnd.pvc.moderate_aoa;
                    max_aoa      = wnd.pvc.max_aoa;
                    moderate_g   = wnd.pvc.moderate_g;
                    max_g        = wnd.pvc.max_g_force;;
                    ptich_v      = wnd.pvc.max_v_construction;

                    moderate_sideslip = wnd.yvc.moderate_aoa;
                    max_sideslip      = wnd.yvc.max_aoa;
                    moderate_g_hor    = wnd.yvc.moderate_g;
                    max_g_hor         = wnd.yvc.max_g_force;
                    yaw_v             = wnd.yvc.max_v_construction;

                    wing_leveler = wnd.rvc.wing_leveler;
                    roll_v       = wnd.rvc.max_v_construction;
                }