aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llagent.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--linden/indra/newview/llagent.h19
1 files changed, 13 insertions, 6 deletions
diff --git a/linden/indra/newview/llagent.h b/linden/indra/newview/llagent.h
index 97f9aed..a4a930f 100644
--- a/linden/indra/newview/llagent.h
+++ b/linden/indra/newview/llagent.h
@@ -4,7 +4,7 @@
4 * 4 *
5 * $LicenseInfo:firstyear=2000&license=viewergpl$ 5 * $LicenseInfo:firstyear=2000&license=viewergpl$
6 * 6 *
7 * Copyright (c) 2000-2008, Linden Research, Inc. 7 * Copyright (c) 2000-2009, Linden Research, Inc.
8 * 8 *
9 * Second Life Viewer Source Code 9 * Second Life Viewer Source Code
10 * The source code in this file ("Source Code") is provided by Linden Lab 10 * The source code in this file ("Source Code") is provided by Linden Lab
@@ -139,7 +139,7 @@ public:
139 139
140 // Called whenever the agent moves. Puts camera back in default position, 140 // Called whenever the agent moves. Puts camera back in default position,
141 // deselects items, etc. 141 // deselects items, etc.
142 void resetView(BOOL reset_camera = TRUE); 142 void resetView(BOOL reset_camera = TRUE, BOOL change_camera = FALSE);
143 143
144 // Called on camera movement, to allow the camera to be unlocked from the 144 // Called on camera movement, to allow the camera to be unlocked from the
145 // default position behind the avatar. 145 // default position behind the avatar.
@@ -372,13 +372,14 @@ public:
372 BOOL canFly(); 372 BOOL canFly();
373 373
374 // Animation functions 374 // Animation functions
375 void stopCurrentAnimations();
375 void requestStopMotion( LLMotion* motion ); 376 void requestStopMotion( LLMotion* motion );
376 void onAnimStop(const LLUUID& id); 377 void onAnimStop(const LLUUID& id);
377 378
378 void sendAnimationRequests(LLDynamicArray<LLUUID> &anim_ids, EAnimRequest request); 379 void sendAnimationRequests(LLDynamicArray<LLUUID> &anim_ids, EAnimRequest request);
379 void sendAnimationRequest(const LLUUID &anim_id, EAnimRequest request); 380 void sendAnimationRequest(const LLUUID &anim_id, EAnimRequest request);
380 381
381 LLVector3 calcFocusOffset(LLViewerObject *object, S32 x, S32 y); 382 LLVector3 calcFocusOffset(LLViewerObject *object, LLVector3 pos_agent, S32 x, S32 y);
382 BOOL calcCameraMinDistance(F32 &obj_min_distance); 383 BOOL calcCameraMinDistance(F32 &obj_min_distance);
383 384
384 void startCameraAnimation(); 385 void startCameraAnimation();
@@ -462,7 +463,9 @@ public:
462 void teleportViaLandmark(const LLUUID& landmark_id); 463 void teleportViaLandmark(const LLUUID& landmark_id);
463 464
464 // go home 465 // go home
465 void teleportHome() { teleportViaLandmark(LLUUID::null); } 466 void teleportHome();
467 void teleportHomeConfirm();
468 static void teleportHomeCallback(S32 option, void *userdata);
466 469
467 // to an invited location 470 // to an invited location
468 void teleportViaLure(const LLUUID& lure_id, BOOL godlike); 471 void teleportViaLure(const LLUUID& lure_id, BOOL godlike);
@@ -666,8 +669,12 @@ public:
666 static void stopFidget(); 669 static void stopFidget();
667 static void processAgentInitialWearablesUpdate(LLMessageSystem* mesgsys, void** user_data); 670 static void processAgentInitialWearablesUpdate(LLMessageSystem* mesgsys, void** user_data);
668 static void userRemoveWearable( void* userdata ); // userdata is EWearableType 671 static void userRemoveWearable( void* userdata ); // userdata is EWearableType
669 static void userRemoveAllClothes( void* userdata ); // userdata is NULL 672
670 static void userRemoveAllClothesStep2(BOOL proceed, void* userdata ); // userdata is NULL 673 static void userRemoveAllClothesConfirm();
674 static void userRemoveAllClothesCallback(S32 option, void *userdata);
675 static void userRemoveAllClothes( void* userdata ); // userdata is NULL
676 static void userRemoveAllClothesStep2(BOOL proceed, void* userdata ); // userdata is NULL
677
671 static void userRemoveAllAttachments( void* userdata); // userdata is NULL 678 static void userRemoveAllAttachments( void* userdata); // userdata is NULL
672 static BOOL selfHasWearable( void* userdata ); // userdata is EWearableType 679 static BOOL selfHasWearable( void* userdata ); // userdata is EWearableType
673 680