Ejemplo n.º 1
0
        private static IAcsStarter CreateStarter(Game.StartProperties properties)
        {
            var starter = AcsStarterFactory.Create();

            if (SettingsHolder.Drive.PatchAcToDisableShadows && AcShadowsPatcher.IsSupposedToWork())
            {
                properties.SetAdditional(new AcShadowsPatcher(starter));
            }

            return(starter);
        }
Ejemplo n.º 2
0
 private static void RevertFileChanges()
 {
     PresetsPerModeBackup.Revert();
     WeatherSpecificCloudsHelper.Revert();
     WeatherSpecificTyreSmokeHelper.Revert();
     WeatherSpecificVideoSettingsHelper.Revert();
     WeatherSpecificLightingHelper.Revert();
     CarSpecificControlsPresetHelper.Revert();
     CarCustomDataHelper.Revert();
     CopyFilterToSystemForOculusHelper.Revert();
     AcShadowsPatcher.Revert();
 }