summaryrefslogtreecommitdiff
path: root/indra/newview/llagent.h
diff options
context:
space:
mode:
authorDave SIMmONs <simon@lindenlab.com>2011-03-17 16:22:54 -0700
committerDave SIMmONs <simon@lindenlab.com>2011-03-17 16:22:54 -0700
commit1c34f5caff0f074e983a8ef4d89fd08f1210f526 (patch)
tree58d6439ae47c6fa4b34a7b3ef5a7d13632364c6f /indra/newview/llagent.h
parent62214c96d465650f814194215b6b8f39ae38873a (diff)
ER-612: Add LLEventAPI access to LLAgent auto pilot. Follow-on work to allow blocking of flying during autopilot. Reviewed by Kelly.
Diffstat (limited to 'indra/newview/llagent.h')
-rw-r--r--indra/newview/llagent.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/indra/newview/llagent.h b/indra/newview/llagent.h
index 0fc77bd3a1..a45f55f27a 100644
--- a/indra/newview/llagent.h
+++ b/indra/newview/llagent.h
@@ -479,7 +479,8 @@ public:
const std::string& behavior_name = std::string(),
const LLQuaternion *target_rotation = NULL,
void (*finish_callback)(BOOL, void *) = NULL, void *callback_data = NULL,
- F32 stop_distance = 0.f, F32 rotation_threshold = 0.03f);
+ F32 stop_distance = 0.f, F32 rotation_threshold = 0.03f,
+ BOOL allow_flying = TRUE);
void startFollowPilot(const LLUUID &leader_id);
void stopAutoPilot(BOOL user_cancel = FALSE);
void setAutoPilotTargetGlobal(const LLVector3d &target_global);
@@ -488,6 +489,7 @@ public:
private:
BOOL mAutoPilot;
BOOL mAutoPilotFlyOnStop;
+ BOOL mAutoPilotAllowFlying;
LLVector3d mAutoPilotTargetGlobal;
F32 mAutoPilotStopDistance;
BOOL mAutoPilotUseRotation;