aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/world/World.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/world/World.cs')
-rw-r--r--src/world/World.cs12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/world/World.cs b/src/world/World.cs
index f32f9ef..2f73bd5 100644
--- a/src/world/World.cs
+++ b/src/world/World.cs
@@ -20,10 +20,10 @@ namespace OpenSim.world
20 20
21 public World() 21 public World()
22 { 22 {
23 Console.WriteLine("World.cs - creating new entitities instance"); 23 OpenSim_Main.localcons.WriteLine("World.cs - creating new entitities instance");
24 Entities = new Dictionary<libsecondlife.LLUUID, Entity>(); 24 Entities = new Dictionary<libsecondlife.LLUUID, Entity>();
25 25
26 Console.WriteLine("World.cs - creating LandMap"); 26 OpenSim_Main.localcons.WriteLine("World.cs - creating LandMap");
27 terrainengine = new TerrainDecode(); 27 terrainengine = new TerrainDecode();
28 LandMap = new float[65536]; 28 LandMap = new float[65536];
29 for(int i =0; i < 65536; i++) { 29 for(int i =0; i < 65536; i++) {
@@ -33,7 +33,7 @@ namespace OpenSim.world
33 } 33 }
34 34
35 public void InitLoop() { 35 public void InitLoop() {
36 Console.WriteLine("World.cs:StartLoop() - Initialising physics"); 36 OpenSim_Main.localcons.WriteLine("World.cs:StartLoop() - Initialising physics");
37 this.physics = new PhysicsEngine(); 37 this.physics = new PhysicsEngine();
38 physics.Startup(); 38 physics.Startup();
39 } 39 }
@@ -76,11 +76,11 @@ namespace OpenSim.world
76 } 76 }
77 77
78 public void AddViewerAgent(OpenSimClient AgentClient) { 78 public void AddViewerAgent(OpenSimClient AgentClient) {
79 Console.WriteLine("World.cs:AddViewerAgent() - Creating new avatar for remote viewer agent"); 79 OpenSim_Main.localcons.WriteLine("World.cs:AddViewerAgent() - Creating new avatar for remote viewer agent");
80 Avatar NewAvatar = new Avatar(AgentClient); 80 Avatar NewAvatar = new Avatar(AgentClient);
81 Console.WriteLine("World.cs:AddViewerAgent() - Adding new avatar to world"); 81 OpenSim_Main.localcons.WriteLine("World.cs:AddViewerAgent() - Adding new avatar to world");
82 this.Entities.Add(AgentClient.AgentID, NewAvatar); 82 this.Entities.Add(AgentClient.AgentID, NewAvatar);
83 Console.WriteLine("World.cs:AddViewerAgent() - Starting RegionHandshake "); 83 OpenSim_Main.localcons.WriteLine("World.cs:AddViewerAgent() - Starting RegionHandshake ");
84 NewAvatar.SendRegionHandshake(this); 84 NewAvatar.SendRegionHandshake(this);
85 this.Update(); // will work for now, but needs to be optimised so we don't update everything in the sim for each new user 85 this.Update(); // will work for now, but needs to be optimised so we don't update everything in the sim for each new user
86 } 86 }