public static void SaveConfigs() { config.SetValue("displayForces", FARDebugValues.displayForces.ToString()); config.SetValue("displayCoefficients", FARDebugValues.displayCoefficients.ToString()); config.SetValue("displayShielding", FARDebugValues.displayShielding.ToString()); config.SetValue("useSplinesForSupersonicMath", FARDebugValues.useSplinesForSupersonicMath.ToString()); config.SetValue("allowStructuralFailures", FARDebugValues.allowStructuralFailures.ToString()); FARAeroUtil.SaveCustomAeroDataToConfig(); FARPartClassification.SaveCustomClassificationTemplates(); FARAeroStress.SaveCustomStressTemplates(); config.save(); }
public static void SaveConfigs() { config.SetValue("displayForces", FARDebugValues.displayForces.ToString()); config.SetValue("displayCoefficients", FARDebugValues.displayCoefficients.ToString()); config.SetValue("displayShielding", FARDebugValues.displayShielding.ToString()); config.SetValue("useSplinesForSupersonicMath", FARDebugValues.useSplinesForSupersonicMath.ToString()); config.SetValue("allowStructuralFailures", FARDebugValues.allowStructuralFailures.ToString()); config.SetValue("useBlizzyToolbar", FARDebugValues.useBlizzyToolbar.ToString()); FARDebugValues.useBlizzyToolbar &= ToolbarManager.ToolbarAvailable; FARAeroUtil.SaveCustomAeroDataToConfig(); FARPartClassification.SaveCustomClassificationTemplates(); FARAeroStress.SaveCustomStressTemplates(); FARActionGroupConfiguration.SaveConfigruration(); FAREditorGUI.SaveCustomColors(); config.save(); }