diff options
author | lbsa71 | 2007-07-16 13:00:32 +0000 |
---|---|---|
committer | lbsa71 | 2007-07-16 13:00:32 +0000 |
commit | cba02cb6321facd8621763880d8cf8c85647bd0d (patch) | |
tree | f6c9344f74043613d46f1349e049749ea8aef16c /OpenSim/Region | |
parent | *Fixed bug that incorrectly tabulated 'others' prims on a parcel (diff) | |
download | opensim-SC-cba02cb6321facd8621763880d8cf8c85647bd0d.zip opensim-SC-cba02cb6321facd8621763880d8cf8c85647bd0d.tar.gz opensim-SC-cba02cb6321facd8621763880d8cf8c85647bd0d.tar.bz2 opensim-SC-cba02cb6321facd8621763880d8cf8c85647bd0d.tar.xz |
* Some minor renamings
Diffstat (limited to 'OpenSim/Region')
-rw-r--r-- | OpenSim/Region/Application/OpenSimMain.cs | 34 | ||||
-rw-r--r-- | OpenSim/Region/ClientStack/RegionApplicationBase.cs | 2 |
2 files changed, 18 insertions, 18 deletions
diff --git a/OpenSim/Region/Application/OpenSimMain.cs b/OpenSim/Region/Application/OpenSimMain.cs index 4815b89..0016d15 100644 --- a/OpenSim/Region/Application/OpenSimMain.cs +++ b/OpenSim/Region/Application/OpenSimMain.cs | |||
@@ -112,7 +112,7 @@ namespace OpenSim | |||
112 | this.physManager = new PhysicsManager(); | 112 | this.physManager = new PhysicsManager(); |
113 | this.physManager.LoadPlugins(); | 113 | this.physManager.LoadPlugins(); |
114 | 114 | ||
115 | this.SetupWorld(); | 115 | this.SetupScene(); |
116 | 116 | ||
117 | m_log.Verbose("Main.cs:Startup() - Initialising HTTP server"); | 117 | m_log.Verbose("Main.cs:Startup() - Initialising HTTP server"); |
118 | 118 | ||
@@ -160,10 +160,10 @@ namespace OpenSim | |||
160 | } | 160 | } |
161 | } | 161 | } |
162 | 162 | ||
163 | protected override void SetupWorld() | 163 | protected override void SetupScene() |
164 | { | 164 | { |
165 | IGenericConfig regionConfig; | 165 | IGenericConfig regionConfig; |
166 | Scene LocalWorld; | 166 | Scene scene; |
167 | UDPServer udpServer; | 167 | UDPServer udpServer; |
168 | RegionInfo regionDat = new RegionInfo(); | 168 | RegionInfo regionDat = new RegionInfo(); |
169 | AuthenticateSessionsBase authenBase; | 169 | AuthenticateSessionsBase authenBase; |
@@ -213,35 +213,35 @@ namespace OpenSim | |||
213 | 213 | ||
214 | StorageManager tmpStoreManager = new StorageManager("OpenSim.DataStore.NullStorage.dll", regionDat.DataStore, regionDat.RegionName); | 214 | StorageManager tmpStoreManager = new StorageManager("OpenSim.DataStore.NullStorage.dll", regionDat.DataStore, regionDat.RegionName); |
215 | 215 | ||
216 | LocalWorld = new Scene( regionDat, authenBase, commsManager, this.AssetCache, tmpStoreManager, httpServer); | 216 | scene = new Scene( regionDat, authenBase, commsManager, this.AssetCache, tmpStoreManager, httpServer); |
217 | this.m_localWorld.Add(LocalWorld); | 217 | this.m_localWorld.Add(scene); |
218 | 218 | ||
219 | udpServer.LocalWorld = LocalWorld; | 219 | udpServer.LocalWorld = scene; |
220 | 220 | ||
221 | LocalWorld.LoadStorageDLL("OpenSim.Region.Storage.LocalStorageDb4o.dll"); //all these dll names shouldn't be hard coded. | 221 | scene.LoadStorageDLL("OpenSim.Region.Storage.LocalStorageDb4o.dll"); //all these dll names shouldn't be hard coded. |
222 | LocalWorld.LoadWorldMap(); | 222 | scene.LoadWorldMap(); |
223 | 223 | ||
224 | m_log.Verbose("Main.cs:Startup() - Starting up messaging system"); | 224 | m_log.Verbose("Main.cs:Startup() - Starting up messaging system"); |
225 | LocalWorld.PhysScene = this.physManager.GetPhysicsScene(this.m_physicsEngine); | 225 | scene.PhysScene = this.physManager.GetPhysicsScene(this.m_physicsEngine); |
226 | LocalWorld.PhysScene.SetTerrain(LocalWorld.Terrain.getHeights1D()); | 226 | scene.PhysScene.SetTerrain(scene.Terrain.getHeights1D()); |
227 | LocalWorld.LoadPrimsFromStorage(); | 227 | scene.LoadPrimsFromStorage(); |
228 | 228 | ||
229 | //Master Avatar Setup | 229 | //Master Avatar Setup |
230 | UserProfileData masterAvatar = commsManager.UserServer.SetupMasterUser(LocalWorld.RegionInfo.MasterAvatarFirstName, LocalWorld.RegionInfo.MasterAvatarLastName, LocalWorld.RegionInfo.MasterAvatarSandboxPassword); | 230 | UserProfileData masterAvatar = commsManager.UserServer.SetupMasterUser(scene.RegionInfo.MasterAvatarFirstName, scene.RegionInfo.MasterAvatarLastName, scene.RegionInfo.MasterAvatarSandboxPassword); |
231 | if (masterAvatar != null) | 231 | if (masterAvatar != null) |
232 | { | 232 | { |
233 | m_log.Notice("Parcels - Found master avatar [" + masterAvatar.UUID.ToStringHyphenated() + "]"); | 233 | m_log.Notice("Parcels - Found master avatar [" + masterAvatar.UUID.ToStringHyphenated() + "]"); |
234 | LocalWorld.RegionInfo.MasterAvatarAssignedUUID = masterAvatar.UUID; | 234 | scene.RegionInfo.MasterAvatarAssignedUUID = masterAvatar.UUID; |
235 | LocalWorld.localStorage.LoadParcels((ILocalStorageParcelReceiver)LocalWorld.ParcelManager); | 235 | scene.localStorage.LoadParcels((ILocalStorageParcelReceiver)scene.ParcelManager); |
236 | } | 236 | } |
237 | else | 237 | else |
238 | { | 238 | { |
239 | m_log.Notice("Parcels - No master avatar found, using null."); | 239 | m_log.Notice("Parcels - No master avatar found, using null."); |
240 | LocalWorld.RegionInfo.MasterAvatarAssignedUUID = libsecondlife.LLUUID.Zero; | 240 | scene.RegionInfo.MasterAvatarAssignedUUID = libsecondlife.LLUUID.Zero; |
241 | LocalWorld.localStorage.LoadParcels((ILocalStorageParcelReceiver)LocalWorld.ParcelManager); | 241 | scene.localStorage.LoadParcels((ILocalStorageParcelReceiver)scene.ParcelManager); |
242 | } | 242 | } |
243 | LocalWorld.performParcelPrimCountUpdate(); | 243 | LocalWorld.performParcelPrimCountUpdate(); |
244 | LocalWorld.StartTimer(); | 244 | scene.StartTimer(); |
245 | } | 245 | } |
246 | } | 246 | } |
247 | 247 | ||
diff --git a/OpenSim/Region/ClientStack/RegionApplicationBase.cs b/OpenSim/Region/ClientStack/RegionApplicationBase.cs index 622b89c..7ae74f8 100644 --- a/OpenSim/Region/ClientStack/RegionApplicationBase.cs +++ b/OpenSim/Region/ClientStack/RegionApplicationBase.cs | |||
@@ -102,7 +102,7 @@ namespace OpenSim.Region.ClientStack | |||
102 | 102 | ||
103 | } | 103 | } |
104 | 104 | ||
105 | protected virtual void SetupWorld() | 105 | protected virtual void SetupScene() |
106 | { | 106 | { |
107 | } | 107 | } |
108 | 108 | ||