aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/OpenSim.Region/Scenes/Avatar.Update.cs
diff options
context:
space:
mode:
authorMW2007-06-15 13:11:26 +0000
committerMW2007-06-15 13:11:26 +0000
commit95676b298819d6b2d1df74d1f52668e2549a2c2f (patch)
treee3152f0685f262253e72a482a4a3e4b64aae631a /OpenSim/OpenSim.Region/Scenes/Avatar.Update.cs
parentand some more (diff)
downloadopensim-SC_OLD-95676b298819d6b2d1df74d1f52668e2549a2c2f.zip
opensim-SC_OLD-95676b298819d6b2d1df74d1f52668e2549a2c2f.tar.gz
opensim-SC_OLD-95676b298819d6b2d1df74d1f52668e2549a2c2f.tar.bz2
opensim-SC_OLD-95676b298819d6b2d1df74d1f52668e2549a2c2f.tar.xz
Preliminary movement added to sugilite, forwards walking only and no animations.
Diffstat (limited to 'OpenSim/OpenSim.Region/Scenes/Avatar.Update.cs')
-rw-r--r--OpenSim/OpenSim.Region/Scenes/Avatar.Update.cs27
1 files changed, 15 insertions, 12 deletions
diff --git a/OpenSim/OpenSim.Region/Scenes/Avatar.Update.cs b/OpenSim/OpenSim.Region/Scenes/Avatar.Update.cs
index d5c25f3..3f87e10 100644
--- a/OpenSim/OpenSim.Region/Scenes/Avatar.Update.cs
+++ b/OpenSim/OpenSim.Region/Scenes/Avatar.Update.cs
@@ -36,14 +36,26 @@ using OpenSim.Framework.Interfaces;
36namespace OpenSim.Region.Scenes 36namespace OpenSim.Region.Scenes
37{ 37{
38 partial class Avatar 38 partial class Avatar
39 { 39 {
40 /// <summary> 40 /// <summary>
41 /// 41 ///
42 /// </summary> 42 /// </summary>
43 public override void update() 43 public override void update()
44 { 44 {
45 45 if (this.newForce)
46 46 {
47 this.SendTerseUpdateToALLClients();
48 _updateCount = 0;
49 }
50 else if (movementflag != 0)
51 {
52 _updateCount++;
53 if (_updateCount > 3)
54 {
55 this.SendTerseUpdateToALLClients();
56 _updateCount = 0;
57 }
58 }
47 } 59 }
48 60
49 /// <summary> 61 /// <summary>
@@ -117,15 +129,6 @@ namespace OpenSim.Region.Scenes
117 } 129 }
118 130
119 /// <summary> 131 /// <summary>
120 /// Very likely to be deleted soon!
121 /// </summary>
122 /// <returns></returns>
123 public ImprovedTerseObjectUpdatePacket.ObjectDataBlock CreateTerseBlock()
124 {
125 return null;
126 }
127
128 /// <summary>
129 /// 132 ///
130 /// </summary> 133 /// </summary>
131 /// <param name="animID"></param> 134 /// <param name="animID"></param>