From b2eb26e4babbf87c8db84e67de116ef145feb2d6 Mon Sep 17 00:00:00 2001 From: MW Date: Tue, 29 May 2007 09:16:18 +0000 Subject: number of changes --- OpenSim/OpenSim.World/Avatar.cs | 40 +++++++++++++++++++++----------------- OpenSim/OpenSim.World/World.cs | 9 ++++----- OpenSim/OpenSim.World/WorldBase.cs | 8 ++++---- 3 files changed, 30 insertions(+), 27 deletions(-) (limited to 'OpenSim/OpenSim.World') diff --git a/OpenSim/OpenSim.World/Avatar.cs b/OpenSim/OpenSim.World/Avatar.cs index 551283a..77c18bf 100644 --- a/OpenSim/OpenSim.World/Avatar.cs +++ b/OpenSim/OpenSim.World/Avatar.cs @@ -7,6 +7,7 @@ using libsecondlife.Packets; using OpenSim.Physics.Manager; using OpenSim.Framework.Inventory; using OpenSim.Framework.Interfaces; +using OpenSim.Framework.Types; using Axiom.MathLib; namespace OpenSim.world @@ -40,13 +41,13 @@ namespace OpenSim.world public Avatar(IClientAPI TheClient, World world, string regionName, Dictionary clientThreads, ulong regionHandle, bool regionTerraform, ushort regionWater) { m_world = world; - // m_clientThreads = clientThreads; + // m_clientThreads = clientThreads; m_regionName = regionName; m_regionHandle = regionHandle; m_regionTerraform = regionTerraform; m_regionWaterHeight = regionWater; - OpenSim.Framework.Console.MainConsole.Instance.WriteLine(OpenSim.Framework.Console.LogPriority.LOW,"Avatar.cs - Loading details from grid (DUMMY)"); + OpenSim.Framework.Console.MainConsole.Instance.WriteLine(OpenSim.Framework.Console.LogPriority.LOW, "Avatar.cs - Loading details from grid (DUMMY)"); ControllingClient = TheClient; localid = 8880000 + (this.m_world._localNumber++); Pos = ControllingClient.StartPos; @@ -65,6 +66,7 @@ namespace OpenSim.world this.avatarAppearanceTexture = new LLObject.TextureEntry(new LLUUID("00000000-0000-0000-5005-000000000005")); + /* //register for events ControllingClient.OnRequestWearables += new GenericCall(this.SendOurAppearance); ControllingClient.OnSetAppearance += new SetAppearance(this.SetAppearance); @@ -74,6 +76,7 @@ namespace OpenSim.world ControllingClient.OnStartAnim += new StartAnim(this.SendAnimPack); ControllingClient.OnChildAgentStatus += new StatusChange(this.ChildStatusChange); ControllingClient.OnStopMovement += new GenericCall2(this.StopMovement); + * */ } public PhysicsActor PhysActor @@ -90,29 +93,29 @@ namespace OpenSim.world public void ChildStatusChange(bool status) { - + } public override void addForces() { - + } public static void SetupTemplate(string name) { - + } protected static void SetDefaultPacketValues(ObjectUpdatePacket.ObjectDataBlock objdata) { - + } public void CompleteMovement() { - + } public void HandleAgentUpdate(Packet pack) @@ -122,35 +125,36 @@ namespace OpenSim.world public void HandleUpdate(AgentUpdatePacket pack) { - + } //really really should be moved somewhere else (RegionInfo.cs ?) public void SendRegionHandshake(World regionInfo) { - + } public static void LoadAnims() { - + } public override void LandRenegerated() { - + } - } - public class NewForce - { - public float X; - public float Y; - public float Z; - public NewForce() + public class NewForce { + public float X; + public float Y; + public float Z; + public NewForce() + { + + } } } diff --git a/OpenSim/OpenSim.World/World.cs b/OpenSim/OpenSim.World/World.cs index 2580761..8c8c2a6 100644 --- a/OpenSim/OpenSim.World/World.cs +++ b/OpenSim/OpenSim.World/World.cs @@ -501,15 +501,14 @@ namespace OpenSim.world #region Add/Remove Avatar Methods - public override bool AddNewAvatar(IClientAPI agentClient, bool child) + public override void AddNewAvatar(IClientAPI remoteClient, LLUUID agentID, bool child) { - - return false; + return ; } - public override bool RemoveAvatar(LLUUID agentID) + public override void RemoveAvatar(LLUUID agentID) { - return false; + return ; } #endregion diff --git a/OpenSim/OpenSim.World/WorldBase.cs b/OpenSim/OpenSim.World/WorldBase.cs index 33952bf..f8a4eda 100644 --- a/OpenSim/OpenSim.World/WorldBase.cs +++ b/OpenSim/OpenSim.World/WorldBase.cs @@ -137,14 +137,14 @@ namespace OpenSim.world #endregion #region Add/Remove Agent/Avatar - public virtual bool AddNewAvatar(IClientAPI remoteClient, bool child) + public virtual void AddNewAvatar(IClientAPI remoteClient, LLUUID agentID, bool child) { - return false; + return ; } - public virtual bool RemoveAvatar(LLUUID agentID) + public virtual void RemoveAvatar(LLUUID agentID) { - return false; + return ; } #endregion -- cgit v1.1