aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ClientStack
diff options
context:
space:
mode:
authorTeravus Ovares2007-11-12 23:46:26 +0000
committerTeravus Ovares2007-11-12 23:46:26 +0000
commitd9d35f9fd7141d8f7a5b3b056cae051d6de2efd5 (patch)
tree37a49b26a6cb07d1fdc3e419222ea2147eaa089e /OpenSim/Region/ClientStack
parent* Added a lot of Glue to help with reporting proper collisions. (diff)
downloadopensim-SC_OLD-d9d35f9fd7141d8f7a5b3b056cae051d6de2efd5.zip
opensim-SC_OLD-d9d35f9fd7141d8f7a5b3b056cae051d6de2efd5.tar.gz
opensim-SC_OLD-d9d35f9fd7141d8f7a5b3b056cae051d6de2efd5.tar.bz2
opensim-SC_OLD-d9d35f9fd7141d8f7a5b3b056cae051d6de2efd5.tar.xz
* Implemented Walk Vs Run in ODE. Also helps make the walk look smoother.
* All thanks to unimplemented packet listing :D
Diffstat (limited to 'OpenSim/Region/ClientStack')
-rw-r--r--OpenSim/Region/ClientStack/ClientView.API.cs1
-rw-r--r--OpenSim/Region/ClientStack/ClientView.ProcessPackets.cs7
2 files changed, 8 insertions, 0 deletions
diff --git a/OpenSim/Region/ClientStack/ClientView.API.cs b/OpenSim/Region/ClientStack/ClientView.API.cs
index b52a834..b18a844 100644
--- a/OpenSim/Region/ClientStack/ClientView.API.cs
+++ b/OpenSim/Region/ClientStack/ClientView.API.cs
@@ -84,6 +84,7 @@ namespace OpenSim.Region.ClientStack
84 public event TeleportLocationRequest OnTeleportLocationRequest; 84 public event TeleportLocationRequest OnTeleportLocationRequest;
85 public event DisconnectUser OnDisconnectUser; 85 public event DisconnectUser OnDisconnectUser;
86 public event RequestAvatarProperties OnRequestAvatarProperties; 86 public event RequestAvatarProperties OnRequestAvatarProperties;
87 public event SetAlwaysRun OnSetAlwaysRun;
87 88
88 public event CreateNewInventoryItem OnCreateNewInventoryItem; 89 public event CreateNewInventoryItem OnCreateNewInventoryItem;
89 public event CreateInventoryFolder OnCreateNewInventoryFolder; 90 public event CreateInventoryFolder OnCreateNewInventoryFolder;
diff --git a/OpenSim/Region/ClientStack/ClientView.ProcessPackets.cs b/OpenSim/Region/ClientStack/ClientView.ProcessPackets.cs
index 978f34e..f941d6c 100644
--- a/OpenSim/Region/ClientStack/ClientView.ProcessPackets.cs
+++ b/OpenSim/Region/ClientStack/ClientView.ProcessPackets.cs
@@ -169,6 +169,13 @@ namespace OpenSim.Region.ClientStack
169 OnSetAppearance(appear.ObjectData.TextureEntry, appear.VisualParam); 169 OnSetAppearance(appear.ObjectData.TextureEntry, appear.VisualParam);
170 } 170 }
171 break; 171 break;
172 case PacketType.SetAlwaysRun:
173 SetAlwaysRunPacket run = (SetAlwaysRunPacket)Pack;
174
175 if (OnSetAlwaysRun != null)
176 OnSetAlwaysRun(this,run.AgentData.AlwaysRun);
177
178 break;
172 case PacketType.CompleteAgentMovement: 179 case PacketType.CompleteAgentMovement:
173 if (OnCompleteMovementToRegion != null) 180 if (OnCompleteMovementToRegion != null)
174 { 181 {