Exemplo n.º 1
0
 private Settings(bool def)
 {
     TutorialCompetitions = "homm";
     TutorialLevel        = "level1";
     DlcBundles           = new List <string>()
     {
         "pudge", "homm"
     };
     DlcAssemblies = new List <string>()
     {
         "pudge.dll", "homm.dll"
     };
     ServerBuild = false;
     Debugging   = new DebuggerConfig()
     {
         AlwaysOff      = false,
         AlwaysOn       = false,
         CallStackRoots = new List <MethodName>
         {
             new MethodName
             {
                 Type   = "ExampleType",
                 Method = "ExampleMethod"
             }
         },
         EnabledNamespaces = new List <string> {
             "ExampleNamespace"
         },
         EnabledTypes = new List <string> {
             "ExampleType"
         }
     };
     Version = DueVersion;
 }
Exemplo n.º 2
0
 /// <summary>
 /// Creates a new instance of platform-config.
 /// </summary>
 public PlatformConfig()
 {
     // init. sub-configs.
     this.Screen = new ScreenConfig();
     this.Graphics = new GraphicsConfig();
     this.Input = new InputConfig();
     this.Debugger = new DebuggerConfig();
 }
Exemplo n.º 3
0
 /// <summary>
 /// Creates a new instance of platform-config.
 /// </summary>
 public PlatformConfig()
 {
     // init. sub-configs.
     this.Screen   = new ScreenConfig();
     this.Graphics = new GraphicsConfig();
     this.Input    = new InputConfig();
     this.Debugger = new DebuggerConfig();
 }
Exemplo n.º 4
0
 public Engine()
 {
     DebuggerConfig.ApplyConfiguration();
 }