aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Examples
diff options
context:
space:
mode:
authorCharles Krinke2008-11-27 05:16:47 +0000
committerCharles Krinke2008-11-27 05:16:47 +0000
commit921692a15f7b793da55cd4ddc4d85eae4393964e (patch)
treeebe7565de552bedbd856cd6615bd8107363eea79 /OpenSim/Region/Examples
parentUnconditionally set the slam bit oon all object to agent inventory transfers. (diff)
downloadopensim-SC_OLD-921692a15f7b793da55cd4ddc4d85eae4393964e.zip
opensim-SC_OLD-921692a15f7b793da55cd4ddc4d85eae4393964e.tar.gz
opensim-SC_OLD-921692a15f7b793da55cd4ddc4d85eae4393964e.tar.bz2
opensim-SC_OLD-921692a15f7b793da55cd4ddc4d85eae4393964e.tar.xz
Thank you kindly, Nlin for a patch that:
Adds a new method to IClientAPI to allow adding message handlers for GenericMessages (of which "autopilot" is one). Part 2 adds a specific autopilot handler in ScenePresence.cs. 2) Removing unused variables and functions. 3) Simplifying the navigation logic in ScenePresence.cs. The original patch was somewhat complex because it included orientation logic for a future enhancement of orienting the avatar to point towards the direction being walked. Currently this isn't working, though, so I removed the orientation code, which leaves just the smaller and hopefully simpler-to-understand movement code.
Diffstat (limited to 'OpenSim/Region/Examples')
-rw-r--r--OpenSim/Region/Examples/SimpleModule/MyNpcCharacter.cs10
1 files changed, 10 insertions, 0 deletions
diff --git a/OpenSim/Region/Examples/SimpleModule/MyNpcCharacter.cs b/OpenSim/Region/Examples/SimpleModule/MyNpcCharacter.cs
index b5ab1ac..89b3bf6 100644
--- a/OpenSim/Region/Examples/SimpleModule/MyNpcCharacter.cs
+++ b/OpenSim/Region/Examples/SimpleModule/MyNpcCharacter.cs
@@ -991,5 +991,15 @@ namespace OpenSim.Region.Examples.SimpleModule
991 public void SendTerminateFriend(UUID exFriendID) 991 public void SendTerminateFriend(UUID exFriendID)
992 { 992 {
993 } 993 }
994
995 #region IClientAPI Members
996
997
998 public bool AddGenericPacketHandler(string MethodName, GenericMessage handler)
999 {
1000 throw new NotImplementedException();
1001 }
1002
1003 #endregion
994 } 1004 }
995} 1005}