aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Modules/World/NPC
diff options
context:
space:
mode:
authorTeravus Ovares2008-09-26 12:56:17 +0000
committerTeravus Ovares2008-09-26 12:56:17 +0000
commit6b13730bc7451a407c6370d289545542c66a74ea (patch)
tree82a649a73dd2aca6bbe5dd783b3ec98ca275b6ea /OpenSim/Region/Environment/Modules/World/NPC
parentRemove interfaces that are no longer used from DNE (diff)
downloadopensim-SC_OLD-6b13730bc7451a407c6370d289545542c66a74ea.zip
opensim-SC_OLD-6b13730bc7451a407c6370d289545542c66a74ea.tar.gz
opensim-SC_OLD-6b13730bc7451a407c6370d289545542c66a74ea.tar.bz2
opensim-SC_OLD-6b13730bc7451a407c6370d289545542c66a74ea.tar.xz
* Wind updates. Still random.. but in 4 directions instead of two!
* It seems kind of silly to be building a 256x256 array just to use two 16 float blocks.. but for now the layerdata routine requires it so we'll go along with that. * We only fill a 32x16 area of the 256x256 float array with data. * We use patches 0,0 and 0,1 for the first and second patch to determine the direction and magnitude of the wind.
Diffstat (limited to 'OpenSim/Region/Environment/Modules/World/NPC')
-rw-r--r--OpenSim/Region/Environment/Modules/World/NPC/NPCAvatar.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/Environment/Modules/World/NPC/NPCAvatar.cs b/OpenSim/Region/Environment/Modules/World/NPC/NPCAvatar.cs
index 653932c..a8ed498 100644
--- a/OpenSim/Region/Environment/Modules/World/NPC/NPCAvatar.cs
+++ b/OpenSim/Region/Environment/Modules/World/NPC/NPCAvatar.cs
@@ -483,7 +483,7 @@ namespace OpenSim.Region.Environment.Modules.World.NPC
483 } 483 }
484 484
485 public virtual void SendWindData(float[] map) { } 485 public virtual void SendWindData(float[] map) { }
486 public virtual void SendWindData(int px, int py, float[] map) { } 486 public virtual void SendWindData(int p1x, int p1y, int p2x, int p2y, float[] map) { }
487 487
488 public virtual void MoveAgentIntoRegion(RegionInfo regInfo, Vector3 pos, Vector3 look) 488 public virtual void MoveAgentIntoRegion(RegionInfo regInfo, Vector3 pos, Vector3 look)
489 { 489 {