diff options
author | lbsa71 | 2007-10-30 09:05:31 +0000 |
---|---|---|
committer | lbsa71 | 2007-10-30 09:05:31 +0000 |
commit | 67e12b95ea7b68f4904a7484d77ecfd787d16d0c (patch) | |
tree | 20b00d24c8a7617017960432ec044852e3ad5fa9 /OpenSim/Region/Application/Application.cs | |
parent | * Deleted .user file (diff) | |
download | opensim-SC_OLD-67e12b95ea7b68f4904a7484d77ecfd787d16d0c.zip opensim-SC_OLD-67e12b95ea7b68f4904a7484d77ecfd787d16d0c.tar.gz opensim-SC_OLD-67e12b95ea7b68f4904a7484d77ecfd787d16d0c.tar.bz2 opensim-SC_OLD-67e12b95ea7b68f4904a7484d77ecfd787d16d0c.tar.xz |
* Optimized usings
* Shortened type references
* Removed redundant 'this' qualifier
Diffstat (limited to 'OpenSim/Region/Application/Application.cs')
-rw-r--r-- | OpenSim/Region/Application/Application.cs | 17 |
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 | */ |
28 | using System; | 28 | using System; |
29 | using OpenSim.Framework.Console; | ||
30 | using OpenSim.Region.Environment.Scenes; | ||
31 | using Nini.Config; | 29 | using Nini.Config; |
32 | using System.Threading; | ||
33 | using OpenSim.Framework; | 30 | using OpenSim.Framework; |
31 | using OpenSim.Framework.Console; | ||
34 | 32 | ||
35 | namespace OpenSim | 33 | namespace 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 |