private static IAcsStarter CreateStarter(Game.StartProperties properties) { var starter = AcsStarterFactory.Create(); if (SettingsHolder.Drive.PatchAcToDisableShadows && AcShadowsPatcher.IsSupposedToWork()) { properties.SetAdditional(new AcShadowsPatcher(starter)); } return(starter); }
private static void RevertFileChanges() { PresetsPerModeBackup.Revert(); WeatherSpecificCloudsHelper.Revert(); WeatherSpecificTyreSmokeHelper.Revert(); WeatherSpecificVideoSettingsHelper.Revert(); WeatherSpecificLightingHelper.Revert(); CarSpecificControlsPresetHelper.Revert(); CarCustomDataHelper.Revert(); CopyFilterToSystemForOculusHelper.Revert(); AcShadowsPatcher.Revert(); }