aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework
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/Framework
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/Framework')
-rw-r--r--OpenSim/Framework/IClientAPI.cs2
1 files changed, 2 insertions, 0 deletions
diff --git a/OpenSim/Framework/IClientAPI.cs b/OpenSim/Framework/IClientAPI.cs
index 8d9cdaa..88cb49e 100644
--- a/OpenSim/Framework/IClientAPI.cs
+++ b/OpenSim/Framework/IClientAPI.cs
@@ -1045,5 +1045,7 @@ namespace OpenSim.Framework
1045 void SendTerminateFriend(UUID exFriendID); 1045 void SendTerminateFriend(UUID exFriendID);
1046 1046
1047 void KillEndDone(); 1047 void KillEndDone();
1048
1049 bool AddGenericPacketHandler(string MethodName, GenericMessage handler);
1048 } 1050 }
1049} 1051}