diff options
author | gareth | 2007-03-02 22:17:39 +0000 |
---|---|---|
committer | gareth | 2007-03-02 22:17:39 +0000 |
commit | cb55056e3bb0d34e51d8efa60cb8ef82484af900 (patch) | |
tree | 5bc1a97e7f8c1629dd99433c0751a77159fc3555 /src/Main.cs | |
parent | r105 somehow got put in wrong place, so replacing files (diff) | |
download | opensim-SC_OLD-cb55056e3bb0d34e51d8efa60cb8ef82484af900.zip opensim-SC_OLD-cb55056e3bb0d34e51d8efa60cb8ef82484af900.tar.gz opensim-SC_OLD-cb55056e3bb0d34e51d8efa60cb8ef82484af900.tar.bz2 opensim-SC_OLD-cb55056e3bb0d34e51d8efa60cb8ef82484af900.tar.xz |
Began implementing basic physics engine plugin framework
Diffstat (limited to 'src/Main.cs')
-rw-r--r-- | src/Main.cs | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/Main.cs b/src/Main.cs index 6075035..146d837 100644 --- a/src/Main.cs +++ b/src/Main.cs | |||
@@ -50,7 +50,6 @@ namespace OpenSim | |||
50 | public static SimConfig cfg; | 50 | public static SimConfig cfg; |
51 | public static World local_world; | 51 | public static World local_world; |
52 | private static Thread MainListener; | 52 | private static Thread MainListener; |
53 | private static Thread PingRespponder; | ||
54 | public static Socket Server; | 53 | public static Socket Server; |
55 | private static IPEndPoint ServerIncoming; | 54 | private static IPEndPoint ServerIncoming; |
56 | private static byte[] RecvBuffer = new byte[4096]; | 55 | private static byte[] RecvBuffer = new byte[4096]; |
@@ -68,7 +67,7 @@ namespace OpenSim | |||
68 | sim = new OpenSim_Main(); | 67 | sim = new OpenSim_Main(); |
69 | sim.Startup(); | 68 | sim.Startup(); |
70 | while(true) { | 69 | while(true) { |
71 | Thread.Sleep(1000); | 70 | local_world.DoStuff(); |
72 | } | 71 | } |
73 | } | 72 | } |
74 | 73 | ||
@@ -91,6 +90,8 @@ namespace OpenSim | |||
91 | MainListener = new Thread(new ThreadStart(MainServerListener)); | 90 | MainListener = new Thread(new ThreadStart(MainServerListener)); |
92 | MainListener.Start(); | 91 | MainListener.Start(); |
93 | 92 | ||
93 | Console.WriteLine("Main.cs:Startup() - Starting up main world loop"); | ||
94 | local_world.InitLoop(); | ||
94 | } | 95 | } |
95 | 96 | ||
96 | private void OnReceivedData(IAsyncResult result) { | 97 | private void OnReceivedData(IAsyncResult result) { |