aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim
diff options
context:
space:
mode:
authorMW2007-06-12 17:45:11 +0000
committerMW2007-06-12 17:45:11 +0000
commita143cf81803c4c5c38c2115497dd76b4a885c0ef (patch)
tree69e9581a896317fa646ea66bec707f6cae7d7e46 /OpenSim
parentRenamed OpenSim.Region/World folder to Scene (classes renaming will follow) (diff)
downloadopensim-SC_OLD-a143cf81803c4c5c38c2115497dd76b4a885c0ef.zip
opensim-SC_OLD-a143cf81803c4c5c38c2115497dd76b4a885c0ef.tar.gz
opensim-SC_OLD-a143cf81803c4c5c38c2115497dd76b4a885c0ef.tar.bz2
opensim-SC_OLD-a143cf81803c4c5c38c2115497dd76b4a885c0ef.tar.xz
Renamed World class to Scene class
Diffstat (limited to 'OpenSim')
-rw-r--r--OpenSim/OpenSim.Region/Estate/EstateManager.cs4
-rw-r--r--OpenSim/OpenSim.Region/OpenSim.Region.csproj32
-rw-r--r--OpenSim/OpenSim.Region/OpenSim.Region.dll.build32
-rw-r--r--OpenSim/OpenSim.Region/ParcelManager.cs8
-rw-r--r--OpenSim/OpenSim.Region/Scene/Entities/Avatar.cs2
-rw-r--r--OpenSim/OpenSim.Region/Scene/Entities/Entity.cs2
-rw-r--r--OpenSim/OpenSim.Region/Scene/Entities/Primitive.cs8
-rw-r--r--OpenSim/OpenSim.Region/Scene/Entities/SceneObject.cs2
-rw-r--r--OpenSim/OpenSim.Region/Scene/Scene.PacketHandlers.cs (renamed from OpenSim/OpenSim.Region/Scene/World.PacketHandlers.cs)2
-rw-r--r--OpenSim/OpenSim.Region/Scene/Scene.Scripting.cs (renamed from OpenSim/OpenSim.Region/Scene/World.Scripting.cs)2
-rw-r--r--OpenSim/OpenSim.Region/Scene/Scene.cs (renamed from OpenSim/OpenSim.Region/Scene/World.cs)4
-rw-r--r--OpenSim/OpenSim.Region/Scene/SceneBase.cs (renamed from OpenSim/OpenSim.Region/Scene/WorldBase.cs)2
-rw-r--r--OpenSim/OpenSim.Region/Scene/scripting/IScriptHandler.cs4
-rw-r--r--OpenSim/OpenSim/OpenSimMain.cs6
14 files changed, 55 insertions, 55 deletions
diff --git a/OpenSim/OpenSim.Region/Estate/EstateManager.cs b/OpenSim/OpenSim.Region/Estate/EstateManager.cs
index 688182d..875defd 100644
--- a/OpenSim/OpenSim.Region/Estate/EstateManager.cs
+++ b/OpenSim/OpenSim.Region/Estate/EstateManager.cs
@@ -45,10 +45,10 @@ namespace OpenSim.Region.Estate
45 /// </summary> 45 /// </summary>
46 public class EstateManager 46 public class EstateManager
47 { 47 {
48 private World m_world; 48 private Scene m_world;
49 private RegionInfo m_regInfo; 49 private RegionInfo m_regInfo;
50 50
51 public EstateManager(World world,RegionInfo reginfo) 51 public EstateManager(Scene world,RegionInfo reginfo)
52 { 52 {
53 m_world = world; //Estate settings found at world.m_regInfo.estateSettings 53 m_world = world; //Estate settings found at world.m_regInfo.estateSettings
54 m_regInfo = reginfo; 54 m_regInfo = reginfo;
diff --git a/OpenSim/OpenSim.Region/OpenSim.Region.csproj b/OpenSim/OpenSim.Region/OpenSim.Region.csproj
index 4447819..ff916d1 100644
--- a/OpenSim/OpenSim.Region/OpenSim.Region.csproj
+++ b/OpenSim/OpenSim.Region/OpenSim.Region.csproj
@@ -136,52 +136,52 @@
136 <Compile Include="Estate\EstateManager.cs"> 136 <Compile Include="Estate\EstateManager.cs">
137 <SubType>Code</SubType> 137 <SubType>Code</SubType>
138 </Compile> 138 </Compile>
139 <Compile Include="World\World.cs"> 139 <Compile Include="Scene\Scene.cs">
140 <SubType>Code</SubType> 140 <SubType>Code</SubType>
141 </Compile> 141 </Compile>
142 <Compile Include="World\World.PacketHandlers.cs"> 142 <Compile Include="Scene\Scene.PacketHandlers.cs">
143 <SubType>Code</SubType> 143 <SubType>Code</SubType>
144 </Compile> 144 </Compile>
145 <Compile Include="World\World.Scripting.cs"> 145 <Compile Include="Scene\Scene.Scripting.cs">
146 <SubType>Code</SubType> 146 <SubType>Code</SubType>
147 </Compile> 147 </Compile>
148 <Compile Include="World\WorldBase.cs"> 148 <Compile Include="Scene\SceneBase.cs">
149 <SubType>Code</SubType> 149 <SubType>Code</SubType>
150 </Compile> 150 </Compile>
151 <Compile Include="World\Entities\Avatar.Animations.cs"> 151 <Compile Include="Scene\Entities\Avatar.Animations.cs">
152 <SubType>Code</SubType> 152 <SubType>Code</SubType>
153 </Compile> 153 </Compile>
154 <Compile Include="World\Entities\Avatar.cs"> 154 <Compile Include="Scene\Entities\Avatar.cs">
155 <SubType>Code</SubType> 155 <SubType>Code</SubType>
156 </Compile> 156 </Compile>
157 <Compile Include="World\Entities\Avatar.Update.cs"> 157 <Compile Include="Scene\Entities\Avatar.Update.cs">
158 <SubType>Code</SubType> 158 <SubType>Code</SubType>
159 </Compile> 159 </Compile>
160 <Compile Include="World\Entities\Entity.cs"> 160 <Compile Include="Scene\Entities\Entity.cs">
161 <SubType>Code</SubType> 161 <SubType>Code</SubType>
162 </Compile> 162 </Compile>
163 <Compile Include="World\Entities\Primitive.cs"> 163 <Compile Include="Scene\Entities\Primitive.cs">
164 <SubType>Code</SubType> 164 <SubType>Code</SubType>
165 </Compile> 165 </Compile>
166 <Compile Include="World\Entities\SceneObject.cs"> 166 <Compile Include="Scene\Entities\SceneObject.cs">
167 <SubType>Code</SubType> 167 <SubType>Code</SubType>
168 </Compile> 168 </Compile>
169 <Compile Include="World\scripting\IScriptContext.cs"> 169 <Compile Include="Scene\scripting\IScriptContext.cs">
170 <SubType>Code</SubType> 170 <SubType>Code</SubType>
171 </Compile> 171 </Compile>
172 <Compile Include="World\scripting\IScriptEntity.cs"> 172 <Compile Include="Scene\scripting\IScriptEntity.cs">
173 <SubType>Code</SubType> 173 <SubType>Code</SubType>
174 </Compile> 174 </Compile>
175 <Compile Include="World\scripting\IScriptHandler.cs"> 175 <Compile Include="Scene\scripting\IScriptHandler.cs">
176 <SubType>Code</SubType> 176 <SubType>Code</SubType>
177 </Compile> 177 </Compile>
178 <Compile Include="World\scripting\Script.cs"> 178 <Compile Include="Scene\scripting\Script.cs">
179 <SubType>Code</SubType> 179 <SubType>Code</SubType>
180 </Compile> 180 </Compile>
181 <Compile Include="World\scripting\ScriptFactory.cs"> 181 <Compile Include="Scene\scripting\ScriptFactory.cs">
182 <SubType>Code</SubType> 182 <SubType>Code</SubType>
183 </Compile> 183 </Compile>
184 <Compile Include="World\scripting\Scripts\FollowRandomAvatar.cs"> 184 <Compile Include="Scene\scripting\Scripts\FollowRandomAvatar.cs">
185 <SubType>Code</SubType> 185 <SubType>Code</SubType>
186 </Compile> 186 </Compile>
187 </ItemGroup> 187 </ItemGroup>
diff --git a/OpenSim/OpenSim.Region/OpenSim.Region.dll.build b/OpenSim/OpenSim.Region/OpenSim.Region.dll.build
index f0d1a34..a49c08f 100644
--- a/OpenSim/OpenSim.Region/OpenSim.Region.dll.build
+++ b/OpenSim/OpenSim.Region/OpenSim.Region.dll.build
@@ -13,22 +13,22 @@
13 <sources failonempty="true"> 13 <sources failonempty="true">
14 <include name="ParcelManager.cs" /> 14 <include name="ParcelManager.cs" />
15 <include name="Estate/EstateManager.cs" /> 15 <include name="Estate/EstateManager.cs" />
16 <include name="World/World.cs" /> 16 <include name="Scene/Scene.cs" />
17 <include name="World/World.PacketHandlers.cs" /> 17 <include name="Scene/Scene.PacketHandlers.cs" />
18 <include name="World/World.Scripting.cs" /> 18 <include name="Scene/Scene.Scripting.cs" />
19 <include name="World/WorldBase.cs" /> 19 <include name="Scene/SceneBase.cs" />
20 <include name="World/Entities/Avatar.Animations.cs" /> 20 <include name="Scene/Entities/Avatar.Animations.cs" />
21 <include name="World/Entities/Avatar.cs" /> 21 <include name="Scene/Entities/Avatar.cs" />
22 <include name="World/Entities/Avatar.Update.cs" /> 22 <include name="Scene/Entities/Avatar.Update.cs" />
23 <include name="World/Entities/Entity.cs" /> 23 <include name="Scene/Entities/Entity.cs" />
24 <include name="World/Entities/Primitive.cs" /> 24 <include name="Scene/Entities/Primitive.cs" />
25 <include name="World/Entities/SceneObject.cs" /> 25 <include name="Scene/Entities/SceneObject.cs" />
26 <include name="World/scripting/IScriptContext.cs" /> 26 <include name="Scene/scripting/IScriptContext.cs" />
27 <include name="World/scripting/IScriptEntity.cs" /> 27 <include name="Scene/scripting/IScriptEntity.cs" />
28 <include name="World/scripting/IScriptHandler.cs" /> 28 <include name="Scene/scripting/IScriptHandler.cs" />
29 <include name="World/scripting/Script.cs" /> 29 <include name="Scene/scripting/Script.cs" />
30 <include name="World/scripting/ScriptFactory.cs" /> 30 <include name="Scene/scripting/ScriptFactory.cs" />
31 <include name="World/scripting/Scripts/FollowRandomAvatar.cs" /> 31 <include name="Scene/scripting/Scripts/FollowRandomAvatar.cs" />
32 </sources> 32 </sources>
33 <references basedir="${project::get-base-directory()}"> 33 <references basedir="${project::get-base-directory()}">
34 <lib> 34 <lib>
diff --git a/OpenSim/OpenSim.Region/ParcelManager.cs b/OpenSim/OpenSim.Region/ParcelManager.cs
index 37dd24f..081f9a2 100644
--- a/OpenSim/OpenSim.Region/ParcelManager.cs
+++ b/OpenSim/OpenSim.Region/ParcelManager.cs
@@ -74,13 +74,13 @@ namespace OpenSim.Region
74 private int lastParcelLocalID = START_PARCEL_LOCAL_ID - 1; 74 private int lastParcelLocalID = START_PARCEL_LOCAL_ID - 1;
75 private int[,] parcelIDList = new int[64, 64]; 75 private int[,] parcelIDList = new int[64, 64];
76 76
77 private World m_world; 77 private Scene m_world;
78 private RegionInfo m_regInfo; 78 private RegionInfo m_regInfo;
79 79
80 #endregion 80 #endregion
81 81
82 #region Constructors 82 #region Constructors
83 public ParcelManager(World world, RegionInfo reginfo) 83 public ParcelManager(Scene world, RegionInfo reginfo)
84 { 84 {
85 85
86 m_world = world; 86 m_world = world;
@@ -497,7 +497,7 @@ namespace OpenSim.Region
497 { 497 {
498 #region Member Variables 498 #region Member Variables
499 public ParcelData parcelData = new ParcelData(); 499 public ParcelData parcelData = new ParcelData();
500 public World m_world; 500 public Scene m_world;
501 501
502 private bool[,] parcelBitmap = new bool[64, 64]; 502 private bool[,] parcelBitmap = new bool[64, 64];
503 503
@@ -505,7 +505,7 @@ namespace OpenSim.Region
505 505
506 506
507 #region Constructors 507 #region Constructors
508 public Parcel(LLUUID owner_id, bool is_group_owned, World world) 508 public Parcel(LLUUID owner_id, bool is_group_owned, Scene world)
509 { 509 {
510 m_world = world; 510 m_world = world;
511 parcelData.ownerID = owner_id; 511 parcelData.ownerID = owner_id;
diff --git a/OpenSim/OpenSim.Region/Scene/Entities/Avatar.cs b/OpenSim/OpenSim.Region/Scene/Entities/Avatar.cs
index c88e0cc..989c53d 100644
--- a/OpenSim/OpenSim.Region/Scene/Entities/Avatar.cs
+++ b/OpenSim/OpenSim.Region/Scene/Entities/Avatar.cs
@@ -70,7 +70,7 @@ namespace OpenSim.Region
70 /// <param name="world"></param> 70 /// <param name="world"></param>
71 /// <param name="clientThreads"></param> 71 /// <param name="clientThreads"></param>
72 /// <param name="regionDat"></param> 72 /// <param name="regionDat"></param>
73 public Avatar(IClientAPI theClient, World world, Dictionary<uint, IClientAPI> clientThreads, RegionInfo reginfo) 73 public Avatar(IClientAPI theClient, Scene world, Dictionary<uint, IClientAPI> clientThreads, RegionInfo reginfo)
74 { 74 {
75 75
76 m_world = world; 76 m_world = world;
diff --git a/OpenSim/OpenSim.Region/Scene/Entities/Entity.cs b/OpenSim/OpenSim.Region/Scene/Entities/Entity.cs
index 3d6ba64..9e288d7 100644
--- a/OpenSim/OpenSim.Region/Scene/Entities/Entity.cs
+++ b/OpenSim/OpenSim.Region/Scene/Entities/Entity.cs
@@ -44,7 +44,7 @@ namespace OpenSim.Region
44 protected List<Entity> children; 44 protected List<Entity> children;
45 protected LLVector3 m_pos; 45 protected LLVector3 m_pos;
46 protected PhysicsActor _physActor; 46 protected PhysicsActor _physActor;
47 protected World m_world; 47 protected Scene m_world;
48 protected string m_name; 48 protected string m_name;
49 49
50 /// <summary> 50 /// <summary>
diff --git a/OpenSim/OpenSim.Region/Scene/Entities/Primitive.cs b/OpenSim/OpenSim.Region/Scene/Entities/Primitive.cs
index 6efdd66..aa747d3 100644
--- a/OpenSim/OpenSim.Region/Scene/Entities/Primitive.cs
+++ b/OpenSim/OpenSim.Region/Scene/Entities/Primitive.cs
@@ -92,7 +92,7 @@ namespace OpenSim.Region
92 /// <param name="clientThreads"></param> 92 /// <param name="clientThreads"></param>
93 /// <param name="regionHandle"></param> 93 /// <param name="regionHandle"></param>
94 /// <param name="world"></param> 94 /// <param name="world"></param>
95 public Primitive( ulong regionHandle, World world) 95 public Primitive( ulong regionHandle, Scene world)
96 { 96 {
97 // m_clientThreads = clientThreads; 97 // m_clientThreads = clientThreads;
98 m_regionHandle = regionHandle; 98 m_regionHandle = regionHandle;
@@ -108,7 +108,7 @@ namespace OpenSim.Region
108 /// <param name="addPacket"></param> 108 /// <param name="addPacket"></param>
109 /// <param name="ownerID"></param> 109 /// <param name="ownerID"></param>
110 /// <param name="localID"></param> 110 /// <param name="localID"></param>
111 public Primitive(ulong regionHandle, World world, ObjectAddPacket addPacket, LLUUID ownerID, uint localID) 111 public Primitive(ulong regionHandle, Scene world, ObjectAddPacket addPacket, LLUUID ownerID, uint localID)
112 { 112 {
113 // m_clientThreads = clientThreads; 113 // m_clientThreads = clientThreads;
114 m_regionHandle = regionHandle; 114 m_regionHandle = regionHandle;
@@ -126,7 +126,7 @@ namespace OpenSim.Region
126 /// <param name="owner"></param> 126 /// <param name="owner"></param>
127 /// <param name="fullID"></param> 127 /// <param name="fullID"></param>
128 /// <param name="localID"></param> 128 /// <param name="localID"></param>
129 public Primitive( ulong regionHandle, World world, LLUUID owner, LLUUID fullID, uint localID) 129 public Primitive( ulong regionHandle, Scene world, LLUUID owner, LLUUID fullID, uint localID)
130 { 130 {
131 // m_clientThreads = clientThreads; 131 // m_clientThreads = clientThreads;
132 m_regionHandle = regionHandle; 132 m_regionHandle = regionHandle;
@@ -148,7 +148,7 @@ namespace OpenSim.Region
148 /// <param name="owner"></param> 148 /// <param name="owner"></param>
149 /// <param name="localID"></param> 149 /// <param name="localID"></param>
150 /// <param name="position"></param> 150 /// <param name="position"></param>
151 public Primitive( ulong regionHandle, World world, LLUUID owner, uint localID, LLVector3 position) 151 public Primitive( ulong regionHandle, Scene world, LLUUID owner, uint localID, LLVector3 position)
152 { 152 {
153 //m_clientThreads = clientThreads; 153 //m_clientThreads = clientThreads;
154 m_regionHandle = regionHandle; 154 m_regionHandle = regionHandle;
diff --git a/OpenSim/OpenSim.Region/Scene/Entities/SceneObject.cs b/OpenSim/OpenSim.Region/Scene/Entities/SceneObject.cs
index 7284b73..e15e871 100644
--- a/OpenSim/OpenSim.Region/Scene/Entities/SceneObject.cs
+++ b/OpenSim/OpenSim.Region/Scene/Entities/SceneObject.cs
@@ -42,7 +42,7 @@ namespace OpenSim.Region
42 private LLUUID rootUUID; 42 private LLUUID rootUUID;
43 //private Dictionary<LLUUID, Primitive> ChildPrimitives = new Dictionary<LLUUID, Primitive>(); 43 //private Dictionary<LLUUID, Primitive> ChildPrimitives = new Dictionary<LLUUID, Primitive>();
44 protected Primitive rootPrimitive; 44 protected Primitive rootPrimitive;
45 private World m_world; 45 private Scene m_world;
46 protected ulong regionHandle; 46 protected ulong regionHandle;
47 47
48 /// <summary> 48 /// <summary>
diff --git a/OpenSim/OpenSim.Region/Scene/World.PacketHandlers.cs b/OpenSim/OpenSim.Region/Scene/Scene.PacketHandlers.cs
index 85ca247..1c6fbcd 100644
--- a/OpenSim/OpenSim.Region/Scene/World.PacketHandlers.cs
+++ b/OpenSim/OpenSim.Region/Scene/Scene.PacketHandlers.cs
@@ -38,7 +38,7 @@ using OpenSim.Framework.Utilities;
38 38
39namespace OpenSim.Region 39namespace OpenSim.Region
40{ 40{
41 public partial class World 41 public partial class Scene
42 { 42 {
43 /// <summary> 43 /// <summary>
44 /// 44 ///
diff --git a/OpenSim/OpenSim.Region/Scene/World.Scripting.cs b/OpenSim/OpenSim.Region/Scene/Scene.Scripting.cs
index e4b5d02..df5ca9b 100644
--- a/OpenSim/OpenSim.Region/Scene/World.Scripting.cs
+++ b/OpenSim/OpenSim.Region/Scene/Scene.Scripting.cs
@@ -37,7 +37,7 @@ using libsecondlife;
37 37
38namespace OpenSim.Region 38namespace OpenSim.Region
39{ 39{
40 public partial class World 40 public partial class Scene
41 { 41 {
42 private Dictionary<string, IScriptEngine> scriptEngines = new Dictionary<string, IScriptEngine>(); 42 private Dictionary<string, IScriptEngine> scriptEngines = new Dictionary<string, IScriptEngine>();
43 43
diff --git a/OpenSim/OpenSim.Region/Scene/World.cs b/OpenSim/OpenSim.Region/Scene/Scene.cs
index 40eb7ef..e3ffca4 100644
--- a/OpenSim/OpenSim.Region/Scene/World.cs
+++ b/OpenSim/OpenSim.Region/Scene/Scene.cs
@@ -49,7 +49,7 @@ namespace OpenSim.Region
49{ 49{
50 public delegate bool FilterAvatarList(Avatar avatar); 50 public delegate bool FilterAvatarList(Avatar avatar);
51 51
52 public partial class World : WorldBase, ILocalStorageReceiver, IScriptAPI 52 public partial class Scene : SceneBase, ILocalStorageReceiver, IScriptAPI
53 { 53 {
54 protected System.Timers.Timer m_heartbeatTimer = new System.Timers.Timer(); 54 protected System.Timers.Timer m_heartbeatTimer = new System.Timers.Timer();
55 protected Dictionary<libsecondlife.LLUUID, Avatar> Avatars; 55 protected Dictionary<libsecondlife.LLUUID, Avatar> Avatars;
@@ -96,7 +96,7 @@ namespace OpenSim.Region
96 /// <param name="clientThreads">Dictionary to contain client threads</param> 96 /// <param name="clientThreads">Dictionary to contain client threads</param>
97 /// <param name="regionHandle">Region Handle for this region</param> 97 /// <param name="regionHandle">Region Handle for this region</param>
98 /// <param name="regionName">Region Name for this region</param> 98 /// <param name="regionName">Region Name for this region</param>
99 public World(Dictionary<uint, IClientAPI> clientThreads, RegionInfo regInfo, AuthenticateSessionsBase authen, RegionServerCommsManager commsMan) 99 public Scene(Dictionary<uint, IClientAPI> clientThreads, RegionInfo regInfo, AuthenticateSessionsBase authen, RegionServerCommsManager commsMan)
100 { 100 {
101 try 101 try
102 { 102 {
diff --git a/OpenSim/OpenSim.Region/Scene/WorldBase.cs b/OpenSim/OpenSim.Region/Scene/SceneBase.cs
index d77d2cf..114b6a3 100644
--- a/OpenSim/OpenSim.Region/Scene/WorldBase.cs
+++ b/OpenSim/OpenSim.Region/Scene/SceneBase.cs
@@ -42,7 +42,7 @@ using OpenSim.Terrain;
42 42
43namespace OpenSim.Region 43namespace OpenSim.Region
44{ 44{
45 public abstract class WorldBase : IWorld 45 public abstract class SceneBase : IWorld
46 { 46 {
47 public Dictionary<libsecondlife.LLUUID, Entity> Entities; 47 public Dictionary<libsecondlife.LLUUID, Entity> Entities;
48 protected Dictionary<uint, IClientAPI> m_clientThreads; 48 protected Dictionary<uint, IClientAPI> m_clientThreads;
diff --git a/OpenSim/OpenSim.Region/Scene/scripting/IScriptHandler.cs b/OpenSim/OpenSim.Region/Scene/scripting/IScriptHandler.cs
index f1a236f..e45473b 100644
--- a/OpenSim/OpenSim.Region/Scene/scripting/IScriptHandler.cs
+++ b/OpenSim/OpenSim.Region/Scene/scripting/IScriptHandler.cs
@@ -40,7 +40,7 @@ namespace OpenSim.Region.Scripting
40 40
41 public class ScriptHandler : IScriptContext, IScriptEntity, IScriptReadonlyEntity 41 public class ScriptHandler : IScriptContext, IScriptEntity, IScriptReadonlyEntity
42 { 42 {
43 private World m_world; 43 private Scene m_world;
44 private Script m_script; 44 private Script m_script;
45 private Entity m_entity; 45 private Entity m_entity;
46 46
@@ -57,7 +57,7 @@ namespace OpenSim.Region.Scripting
57 m_script.OnFrame(this); 57 m_script.OnFrame(this);
58 } 58 }
59 59
60 public ScriptHandler(Script script, Entity entity, World world) 60 public ScriptHandler(Script script, Entity entity, Scene world)
61 { 61 {
62 m_script = script; 62 m_script = script;
63 m_entity = entity; 63 m_entity = entity;
diff --git a/OpenSim/OpenSim/OpenSimMain.cs b/OpenSim/OpenSim/OpenSimMain.cs
index 0d177b9..b419101 100644
--- a/OpenSim/OpenSim/OpenSimMain.cs
+++ b/OpenSim/OpenSim/OpenSimMain.cs
@@ -180,7 +180,7 @@ namespace OpenSim
180 protected override void SetupWorld() 180 protected override void SetupWorld()
181 { 181 {
182 IGenericConfig regionConfig; 182 IGenericConfig regionConfig;
183 World LocalWorld; 183 Scene LocalWorld;
184 UDPServer udpServer; 184 UDPServer udpServer;
185 RegionInfo regionDat = new RegionInfo(); 185 RegionInfo regionDat = new RegionInfo();
186 AuthenticateSessionsBase authenBase; 186 AuthenticateSessionsBase authenBase;
@@ -234,7 +234,7 @@ namespace OpenSim
234 m_console.componentname = "Region " + regionData.RegionName; 234 m_console.componentname = "Region " + regionData.RegionName;
235 */ 235 */
236 236
237 LocalWorld = new World(udpServer.PacketServer.ClientAPIs, regionDat, authenBase, commsManager); 237 LocalWorld = new Scene(udpServer.PacketServer.ClientAPIs, regionDat, authenBase, commsManager);
238 this.m_localWorld.Add(LocalWorld); 238 this.m_localWorld.Add(LocalWorld);
239 //LocalWorld.InventoryCache = InventoryCache; 239 //LocalWorld.InventoryCache = InventoryCache;
240 //LocalWorld.AssetCache = AssetCache; 240 //LocalWorld.AssetCache = AssetCache;
@@ -392,7 +392,7 @@ namespace OpenSim
392 m_console.WriteLine(OpenSim.Framework.Console.LogPriority.LOW, "Main.cs:Shutdown() - Closing console and terminating"); 392 m_console.WriteLine(OpenSim.Framework.Console.LogPriority.LOW, "Main.cs:Shutdown() - Closing console and terminating");
393 for (int i = 0; i < m_localWorld.Count; i++) 393 for (int i = 0; i < m_localWorld.Count; i++)
394 { 394 {
395 ((World)m_localWorld[i]).Close(); 395 ((Scene)m_localWorld[i]).Close();
396 } 396 }
397 m_console.Close(); 397 m_console.Close();
398 Environment.Exit(0); 398 Environment.Exit(0);