aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/OpenSim.Region/Scenes/ScenePresence.cs
diff options
context:
space:
mode:
authorMW2007-06-20 17:32:21 +0000
committerMW2007-06-20 17:32:21 +0000
commit3e484d1aaf6d2d893f258e7372003de9bf5e8bdb (patch)
tree78eba8a9c1e77748d73d77e9f366021235a738b8 /OpenSim/OpenSim.Region/Scenes/ScenePresence.cs
parent* and done the same for OGS.. (diff)
downloadopensim-SC_OLD-3e484d1aaf6d2d893f258e7372003de9bf5e8bdb.zip
opensim-SC_OLD-3e484d1aaf6d2d893f258e7372003de9bf5e8bdb.tar.gz
opensim-SC_OLD-3e484d1aaf6d2d893f258e7372003de9bf5e8bdb.tar.bz2
opensim-SC_OLD-3e484d1aaf6d2d893f258e7372003de9bf5e8bdb.tar.xz
Renamed Avatar to ScenePresence to avoid clash with libsl Avatar class.
Added ThirdPartyLicenses folder containing the licenses for the various third party libraries we use. Plus some other small changes.
Diffstat (limited to '')
-rw-r--r--OpenSim/OpenSim.Region/Scenes/ScenePresence.cs (renamed from OpenSim/OpenSim.Region/Scenes/Avatar.cs)20
1 files changed, 10 insertions, 10 deletions
diff --git a/OpenSim/OpenSim.Region/Scenes/Avatar.cs b/OpenSim/OpenSim.Region/Scenes/ScenePresence.cs
index 1149896..3fbda39 100644
--- a/OpenSim/OpenSim.Region/Scenes/Avatar.cs
+++ b/OpenSim/OpenSim.Region/Scenes/ScenePresence.cs
@@ -39,7 +39,7 @@ using Axiom.MathLib;
39 39
40namespace OpenSim.Region.Scenes 40namespace OpenSim.Region.Scenes
41{ 41{
42 public partial class Avatar : Entity 42 public partial class ScenePresence : Entity
43 { 43 {
44 public static bool PhysicsEngineFlying = false; 44 public static bool PhysicsEngineFlying = false;
45 public static AvatarAnimations Animations; 45 public static AvatarAnimations Animations;
@@ -70,7 +70,7 @@ namespace OpenSim.Region.Scenes
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, Scene world, RegionInfo reginfo) 73 public ScenePresence(IClientAPI theClient, Scene world, RegionInfo reginfo)
74 { 74 {
75 75
76 m_world = world; 76 m_world = world;
@@ -93,15 +93,15 @@ namespace OpenSim.Region.Scenes
93 Wearables = AvatarWearable.DefaultWearables; 93 Wearables = AvatarWearable.DefaultWearables;
94 94
95 this.avatarAppearanceTexture = new LLObject.TextureEntry(new LLUUID("00000000-0000-0000-5005-000000000005")); 95 this.avatarAppearanceTexture = new LLObject.TextureEntry(new LLUUID("00000000-0000-0000-5005-000000000005"));
96 96
97 //register for events 97 //register for events
98 ControllingClient.OnRequestWearables += new GenericCall(this.SendOurAppearance); 98 ControllingClient.OnRequestWearables += this.SendOurAppearance;
99 //ControllingClient.OnSetAppearance += new SetAppearance(this.SetAppearance); 99 //ControllingClient.OnSetAppearance += new SetAppearance(this.SetAppearance);
100 ControllingClient.OnCompleteMovementToRegion += new GenericCall2(this.CompleteMovement); 100 ControllingClient.OnCompleteMovementToRegion += this.CompleteMovement;
101 ControllingClient.OnCompleteMovementToRegion += new GenericCall2(this.SendInitialPosition); 101 ControllingClient.OnCompleteMovementToRegion += this.SendInitialPosition;
102 ControllingClient.OnAgentUpdate += new UpdateAgent(this.HandleAgentUpdate); 102 ControllingClient.OnAgentUpdate += this.HandleAgentUpdate;
103 // ControllingClient.OnStartAnim += new StartAnim(this.SendAnimPack); 103 // ControllingClient.OnStartAnim += new StartAnim(this.SendAnimPack);
104 // ControllingClient.OnChildAgentStatus += new StatusChange(this.ChildStatusChange); 104 // ControllingClient.OnChildAgentStatus += new StatusChange(this.ChildStatusChange);
105 //ControllingClient.OnStopMovement += new GenericCall2(this.StopMovement); 105 //ControllingClient.OnStopMovement += new GenericCall2(this.StopMovement);
106 106
107 } 107 }
@@ -202,7 +202,7 @@ namespace OpenSim.Region.Scenes
202 /// </summary> 202 /// </summary>
203 public void SendTerseUpdateToALLClients() 203 public void SendTerseUpdateToALLClients()
204 { 204 {
205 List<Avatar> avatars = this.m_world.RequestAvatarList(); 205 List<ScenePresence> avatars = this.m_world.RequestAvatarList();
206 for (int i = 0; i < avatars.Count; i++) 206 for (int i = 0; i < avatars.Count; i++)
207 { 207 {
208 this.SendTerseUpdateToClient(avatars[i].ControllingClient); 208 this.SendTerseUpdateToClient(avatars[i].ControllingClient);