aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Scenes/Scene.cs
diff options
context:
space:
mode:
authorlbsa712007-09-20 23:47:32 +0000
committerlbsa712007-09-20 23:47:32 +0000
commitca611c6668c5a063ce92feb72ce14866fc3322a3 (patch)
tree15f856675fc2d12d73c96cd7f65ab83ea1681b15 /OpenSim/Region/Environment/Scenes/Scene.cs
parent* Some more presence refactoring (diff)
downloadopensim-SC_OLD-ca611c6668c5a063ce92feb72ce14866fc3322a3.zip
opensim-SC_OLD-ca611c6668c5a063ce92feb72ce14866fc3322a3.tar.gz
opensim-SC_OLD-ca611c6668c5a063ce92feb72ce14866fc3322a3.tar.bz2
opensim-SC_OLD-ca611c6668c5a063ce92feb72ce14866fc3322a3.tar.xz
* even more renaming and refactoring; the cleaning woman is on call.
Diffstat (limited to 'OpenSim/Region/Environment/Scenes/Scene.cs')
-rw-r--r--OpenSim/Region/Environment/Scenes/Scene.cs26
1 files changed, 13 insertions, 13 deletions
diff --git a/OpenSim/Region/Environment/Scenes/Scene.cs b/OpenSim/Region/Environment/Scenes/Scene.cs
index e683bce..5b08155 100644
--- a/OpenSim/Region/Environment/Scenes/Scene.cs
+++ b/OpenSim/Region/Environment/Scenes/Scene.cs
@@ -310,7 +310,7 @@ namespace OpenSim.Region.Environment.Scenes
310 { 310 {
311 if (Terrain.Tainted(x * 16, y * 16)) 311 if (Terrain.Tainted(x * 16, y * 16))
312 { 312 {
313 SendLayerData(x, y, presence.ControllingClient, 313 SendLayerData(x, y, presence._ControllingClient,
314 terData); 314 terData);
315 } 315 }
316 } 316 }
@@ -344,7 +344,7 @@ namespace OpenSim.Region.Environment.Scenes
344 List<ScenePresence> avatars = GetAvatars(); 344 List<ScenePresence> avatars = GetAvatars();
345 foreach (ScenePresence avatar in avatars) 345 foreach (ScenePresence avatar in avatars)
346 { 346 {
347 avatar.ControllingClient.SendViewerTime(m_timePhase); 347 avatar._ControllingClient.SendViewerTime(m_timePhase);
348 } 348 }
349 349
350 m_timeUpdateCount = 0; 350 m_timeUpdateCount = 0;
@@ -396,7 +396,7 @@ namespace OpenSim.Region.Environment.Scenes
396 396
397 storageManager.DataStore.StoreTerrain(Terrain.GetHeights2DD()); 397 storageManager.DataStore.StoreTerrain(Terrain.GetHeights2DD());
398 398
399 ForEachScenePresence(delegate(ScenePresence presence) { SendLayerData(presence.ControllingClient); }); 399 ForEachScenePresence(delegate(ScenePresence presence) { SendLayerData(presence._ControllingClient); });
400 400
401 foreach (LLUUID UUID in Entities.Keys) 401 foreach (LLUUID UUID in Entities.Keys)
402 { 402 {
@@ -424,7 +424,7 @@ namespace OpenSim.Region.Environment.Scenes
424 } 424 }
425 storageManager.DataStore.StoreTerrain(Terrain.GetHeights2DD()); 425 storageManager.DataStore.StoreTerrain(Terrain.GetHeights2DD());
426 426
427 ForEachScenePresence(delegate(ScenePresence presence) { SendLayerData(presence.ControllingClient); }); 427 ForEachScenePresence(delegate(ScenePresence presence) { SendLayerData(presence._ControllingClient); });
428 428
429 foreach (LLUUID UUID in Entities.Keys) 429 foreach (LLUUID UUID in Entities.Keys)
430 { 430 {
@@ -829,10 +829,10 @@ namespace OpenSim.Region.Environment.Scenes
829 delegate(ScenePresence presence) 829 delegate(ScenePresence presence)
830 { 830 {
831 presence.CoarseLocationChange(avatar); 831 presence.CoarseLocationChange(avatar);
832 presence.ControllingClient.SendKillObject(avatar.RegionHandle, avatar.LocalId); 832 presence._ControllingClient.SendKillObject(avatar.RegionHandle, avatar.LocalId);
833 if (presence.PhysActor != null) 833 if (presence.PhysicsActor != null)
834 { 834 {
835 phyScene.RemoveAvatar(presence.PhysActor); 835 phyScene.RemoveAvatar(presence.PhysicsActor);
836 } 836 }
837 }); 837 });
838 838
@@ -953,7 +953,7 @@ namespace OpenSim.Region.Environment.Scenes
953 { 953 {
954 ForEachScenePresence(delegate(ScenePresence presence) 954 ForEachScenePresence(delegate(ScenePresence presence)
955 { 955 {
956 presence.ControllingClient.SendKillObject(m_regionHandle, localID); 956 presence._ControllingClient.SendKillObject(m_regionHandle, localID);
957 }); 957 });
958 } 958 }
959 959
@@ -1181,7 +1181,7 @@ namespace OpenSim.Region.Environment.Scenes
1181 { 1181 {
1182 if (m_scenePresences.ContainsKey(avatarID)) 1182 if (m_scenePresences.ContainsKey(avatarID))
1183 { 1183 {
1184 m_scenePresences[avatarID].ControllingClient.SendLoadURL(objectname, objectID, ownerID, groupOwned, message, url); 1184 m_scenePresences[avatarID]._ControllingClient.SendLoadURL(objectname, objectID, ownerID, groupOwned, message, url);
1185 } 1185 }
1186 } 1186 }
1187 1187
@@ -1197,7 +1197,7 @@ namespace OpenSim.Region.Environment.Scenes
1197 { 1197 {
1198 foreach (ScenePresence presence in m_scenePresences.Values) 1198 foreach (ScenePresence presence in m_scenePresences.Values)
1199 { 1199 {
1200 presence.ControllingClient.SendAlertMessage(message); 1200 presence._ControllingClient.SendAlertMessage(message);
1201 } 1201 }
1202 } 1202 }
1203 1203
@@ -1205,7 +1205,7 @@ namespace OpenSim.Region.Environment.Scenes
1205 { 1205 {
1206 if (m_scenePresences.ContainsKey(agentID)) 1206 if (m_scenePresences.ContainsKey(agentID))
1207 { 1207 {
1208 m_scenePresences[agentID].ControllingClient.SendAgentAlertMessage(message, modal); 1208 m_scenePresences[agentID]._ControllingClient.SendAgentAlertMessage(message, modal);
1209 } 1209 }
1210 } 1210 }
1211 1211
@@ -1215,7 +1215,7 @@ namespace OpenSim.Region.Environment.Scenes
1215 { 1215 {
1216 if ((presence.Firstname == firstName) && (presence.Lastname == lastName)) 1216 if ((presence.Firstname == firstName) && (presence.Lastname == lastName))
1217 { 1217 {
1218 presence.ControllingClient.SendAgentAlertMessage(message, modal); 1218 presence._ControllingClient.SendAgentAlertMessage(message, modal);
1219 break; 1219 break;
1220 } 1220 }
1221 } 1221 }
@@ -1303,7 +1303,7 @@ namespace OpenSim.Region.Environment.Scenes
1303 scenePrescence.Firstname, 1303 scenePrescence.Firstname,
1304 scenePrescence.Lastname, 1304 scenePrescence.Lastname,
1305 scenePrescence.UUID, 1305 scenePrescence.UUID,
1306 scenePrescence.ControllingClient.AgentId, 1306 scenePrescence._ControllingClient.AgentId,
1307 "Unknown", 1307 "Unknown",
1308 "Unknown", 1308 "Unknown",
1309 RegionInfo.RegionName)); 1309 RegionInfo.RegionName));