Ejemplo n.º 1
0
 internal Options()
 {
     this.LanguageCode                = "en-US";
     this.FullscreenMode              = false;
     this.VerticalSynchronization     = true;
     this.WindowWidth                 = 960;
     this.WindowHeight                = 600;
     this.FullscreenWidth             = 1024;
     this.FullscreenHeight            = 768;
     this.UserInterfaceFolder         = "Default";
     this.Interpolation               = InterpolationMode.BilinearMipmapped;
     this.TransparencyMode            = Renderer.TransparencyMode.Quality;
     this.AnisotropicFilteringLevel   = 0;
     this.AnisotropicFilteringMaximum = 0;
     this.AntiAliasingLevel           = 0;
     this.ViewingDistance             = 600;
     this.MotionBlur                       = MotionBlurMode.None;
     this.Toppling                         = true;
     this.Collisions                       = true;
     this.Derailments                      = true;
     this.CurrentGameMode                  = GameMode.Normal;
     this.BlackBox                         = false;
     this.UseJoysticks                     = true;
     this.JoystickAxisThreshold            = 0.0;
     this.KeyRepeatDelay                   = 0.5;
     this.KeyRepeatInterval                = 0.1;
     this.SoundModel                       = Sounds.SoundModels.Inverse;
     this.SoundRange                       = Sounds.SoundRange.Low;
     this.SoundNumber                      = 16;
     this.ShowWarningMessages              = true;
     this.ShowErrorMessages                = true;
     this.ObjectOptimizationBasicThreshold = 10000;
     this.ObjectOptimizationFullThreshold  = 1000;
     this.RouteFolder                      = "";
     this.TrainFolder                      = "";
     this.RecentlyUsedRoutes               = new string[] { };
     this.RecentlyUsedTrains               = new string[] { };
     this.RecentlyUsedLimit                = 10;
     this.RouteEncodings                   = new EncodingValue[] { };
     this.TrainEncodings                   = new EncodingValue[] { };
     this.MainMenuWidth                    = 0;
     this.MainMenuHeight                   = 0;
     this.DisableDisplayLists              = false;
     this.LoadInAdvance                    = false;
     this.NoTextureResize                  = false;
     this.ProxyUrl                         = string.Empty;
     this.ProxyUserName                    = string.Empty;
     this.ProxyPassword                    = string.Empty;
 }
Ejemplo n.º 2
0
		internal Options() {
			this.LanguageCode = "en-US";
			this.FullscreenMode = false;
			this.VerticalSynchronization = true;
			this.WindowWidth = 960;
			this.WindowHeight = 600;
			this.FullscreenWidth = 1024;
			this.FullscreenHeight = 768;
			this.UserInterfaceFolder = "Default";
			this.Interpolation = InterpolationMode.BilinearMipmapped;
			this.TransparencyMode = Renderer.TransparencyMode.Quality;
			this.AnisotropicFilteringLevel = 0;
			this.AnisotropicFilteringMaximum = 0;
			this.AntiAliasingLevel = 0;
			this.ViewingDistance = 600;
			this.MotionBlur = MotionBlurMode.None;
			this.Toppling = true;
			this.Collisions = true;
			this.Derailments = true;
			this.CurrentGameMode = GameMode.Normal;
			this.BlackBox = false;
			this.UseJoysticks = true;
			this.JoystickAxisThreshold = 0.0;
			this.KeyRepeatDelay = 0.5;
			this.KeyRepeatInterval = 0.1;
			this.SoundModel = Sounds.SoundModels.Inverse;
			this.SoundRange = Sounds.SoundRange.Low;
			this.SoundNumber = 16;
			this.ShowWarningMessages = true;
			this.ShowErrorMessages = true;
			this.ObjectOptimizationBasicThreshold = 10000;
			this.ObjectOptimizationFullThreshold = 1000;
			this.RouteFolder = "";
			this.TrainFolder = "";
			this.RecentlyUsedRoutes = new string[] { };
			this.RecentlyUsedTrains = new string[] { };
			this.RecentlyUsedLimit = 10;
			this.RouteEncodings = new EncodingValue[] { };
			this.TrainEncodings = new EncodingValue[] { };
			this.MainMenuWidth = 0;
			this.MainMenuHeight = 0;
			this.DisableDisplayLists = false;
			this.LoadInAdvance = false;
			this.NoTextureResize = false;
			this.ProxyUrl = string.Empty;
			this.ProxyUserName = string.Empty;
			this.ProxyPassword = string.Empty;
		}