aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Application/Application.cs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/Application/Application.cs17
1 files changed, 7 insertions, 10 deletions
diff --git a/OpenSim/Region/Application/Application.cs b/OpenSim/Region/Application/Application.cs
index 0288f63..bb26ce3 100644
--- a/OpenSim/Region/Application/Application.cs
+++ b/OpenSim/Region/Application/Application.cs
@@ -26,27 +26,24 @@
26* 26*
27*/ 27*/
28using System; 28using System;
29using OpenSim.Framework.Console;
30using OpenSim.Region.Environment.Scenes;
31using Nini.Config; 29using Nini.Config;
32using System.Threading;
33using OpenSim.Framework; 30using OpenSim.Framework;
31using OpenSim.Framework.Console;
34 32
35namespace OpenSim 33namespace OpenSim
36{ 34{
37 public class Application 35 public class Application
38 { 36 {
39 //could move our main function into OpenSimMain and kill this class 37 //could move our main function into OpenSimMain and kill this class
40 [STAThread] 38 [STAThread]
41 public static void Main(string[] args) 39 public static void Main(string[] args)
42 { 40 {
43
44 Console.WriteLine("OpenSim " + VersionInfo.Version + "\n"); 41 Console.WriteLine("OpenSim " + VersionInfo.Version + "\n");
45 42
46 43
47 Console.Write("Performing compatibility checks... "); 44 Console.Write("Performing compatibility checks... ");
48 string supported = ""; 45 string supported = "";
49 if (OpenSim.Framework.Util.IsEnvironmentSupported(ref supported)) 46 if (Util.IsEnvironmentSupported(ref supported))
50 { 47 {
51 Console.WriteLine(" Environment is compatible.\n"); 48 Console.WriteLine(" Environment is compatible.\n");
52 } 49 }
@@ -54,10 +51,10 @@ namespace OpenSim
54 { 51 {
55 Console.WriteLine(" Environment is unsupported (" + supported + ")\n"); 52 Console.WriteLine(" Environment is unsupported (" + supported + ")\n");
56 } 53 }
57 54
58 Console.WriteLine("Starting...\n"); 55 Console.WriteLine("Starting...\n");
59 56
60 Culture.SetCurrentCulture(); 57 Culture.SetCurrentCulture();
61 58
62 ArgvConfigSource configSource = new ArgvConfigSource(args); 59 ArgvConfigSource configSource = new ArgvConfigSource(args);
63 60
@@ -80,4 +77,4 @@ namespace OpenSim
80 } 77 }
81 } 78 }
82 } 79 }
83} 80} \ No newline at end of file