diff options
Diffstat (limited to 'linden/indra/newview/llagent.h')
-rw-r--r-- | linden/indra/newview/llagent.h | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/linden/indra/newview/llagent.h b/linden/indra/newview/llagent.h index faf94ab..af593e0 100644 --- a/linden/indra/newview/llagent.h +++ b/linden/indra/newview/llagent.h | |||
@@ -4,6 +4,7 @@ | |||
4 | * | 4 | * |
5 | * Copyright (c) 2000-2007, Linden Research, Inc. | 5 | * Copyright (c) 2000-2007, Linden Research, Inc. |
6 | * | 6 | * |
7 | * Second Life Viewer Source Code | ||
7 | * The source code in this file ("Source Code") is provided by Linden Lab | 8 | * The source code in this file ("Source Code") is provided by Linden Lab |
8 | * to you under the terms of the GNU General Public License, version 2.0 | 9 | * to you under the terms of the GNU General Public License, version 2.0 |
9 | * ("GPL"), unless you have obtained a separate licensing agreement | 10 | * ("GPL"), unless you have obtained a separate licensing agreement |
@@ -417,8 +418,6 @@ public: | |||
417 | 418 | ||
418 | void propagate(const F32 dt); // BUG: should roll into updateAgentPosition | 419 | void propagate(const F32 dt); // BUG: should roll into updateAgentPosition |
419 | 420 | ||
420 | void updateWanderTarget(); // drones will pick points in the world to autopilot towards | ||
421 | |||
422 | void startAutoPilotGlobal(const LLVector3d &pos_global, const std::string& behavior_name = "", const LLQuaternion *target_rotation = NULL, | 421 | void startAutoPilotGlobal(const LLVector3d &pos_global, const std::string& behavior_name = "", const LLQuaternion *target_rotation = NULL, |
423 | void (*finish_callback)(BOOL, void *) = NULL, void *callback_data = NULL, F32 stop_distance = 0.f, F32 rotation_threshold = 0.03f); | 422 | void (*finish_callback)(BOOL, void *) = NULL, void *callback_data = NULL, F32 stop_distance = 0.f, F32 rotation_threshold = 0.03f); |
424 | 423 | ||
@@ -693,6 +692,13 @@ public: | |||
693 | 692 | ||
694 | BOOL mForceMouselook; | 693 | BOOL mForceMouselook; |
695 | 694 | ||
695 | static void parseTeleportMessages(const LLString& xml_filename); | ||
696 | //we should really define ERROR and PROGRESS enums here | ||
697 | //but I don't really feel like doing that, so I am just going | ||
698 | //to expose the mappings....yup | ||
699 | static std::map<LLString, LLString> sTeleportErrorMessages; | ||
700 | static std::map<LLString, LLString> sTeleportProgressMessages; | ||
701 | |||
696 | private: | 702 | private: |
697 | ETeleportState mTeleportState; | 703 | ETeleportState mTeleportState; |
698 | LLString mTeleportMessage; | 704 | LLString mTeleportMessage; |
@@ -790,9 +796,6 @@ private: | |||
790 | 796 | ||
791 | BOOL mbJump; | 797 | BOOL mbJump; |
792 | 798 | ||
793 | LLFrameTimer mWanderTimer; | ||
794 | LLVector3d mWanderTargetGlobal; | ||
795 | |||
796 | BOOL mAutoPilot; | 799 | BOOL mAutoPilot; |
797 | BOOL mAutoPilotFlyOnStop; | 800 | BOOL mAutoPilotFlyOnStop; |
798 | LLVector3d mAutoPilotTargetGlobal; | 801 | LLVector3d mAutoPilotTargetGlobal; |