From 032d19bdea92fbc4d584fb630a37ceccb07a5a40 Mon Sep 17 00:00:00 2001 From: Jacek Antonelli Date: Sun, 24 May 2009 21:52:44 -0500 Subject: Moved LLAgent::teleportHome() definition. Was in llagent.h for no good reason, now in llagent.cpp. --- linden/indra/newview/llagent.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'linden/indra/newview/llagent.h') diff --git a/linden/indra/newview/llagent.h b/linden/indra/newview/llagent.h index 97f9aed..bc06e92 100644 --- a/linden/indra/newview/llagent.h +++ b/linden/indra/newview/llagent.h @@ -462,7 +462,7 @@ public: void teleportViaLandmark(const LLUUID& landmark_id); // go home - void teleportHome() { teleportViaLandmark(LLUUID::null); } + void teleportHome(); // to an invited location void teleportViaLure(const LLUUID& lure_id, BOOL godlike); -- cgit v1.1 From f8b927f29f4adbee50ead87d26a9f0531231e540 Mon Sep 17 00:00:00 2001 From: Jacek Antonelli Date: Sun, 24 May 2009 22:32:56 -0500 Subject: Added Teleport Home confirmation and callback methods. LLAgent::teleportHomeConfirm() LLAgent::teleportHomeCallback() --- linden/indra/newview/llagent.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'linden/indra/newview/llagent.h') diff --git a/linden/indra/newview/llagent.h b/linden/indra/newview/llagent.h index bc06e92..dd204af 100644 --- a/linden/indra/newview/llagent.h +++ b/linden/indra/newview/llagent.h @@ -463,6 +463,8 @@ public: // go home void teleportHome(); + void teleportHomeConfirm(); + static void teleportHomeCallback(S32 option, void *userdata); // to an invited location void teleportViaLure(const LLUUID& lure_id, BOOL godlike); -- cgit v1.1 From 2cc402c47a814d126f2643483e1812eb56d81f6f Mon Sep 17 00:00:00 2001 From: Jacek Antonelli Date: Sun, 31 May 2009 22:16:58 -0500 Subject: Added a confirmation dialog for Take Off All Clothes. --- linden/indra/newview/llagent.h | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'linden/indra/newview/llagent.h') diff --git a/linden/indra/newview/llagent.h b/linden/indra/newview/llagent.h index dd204af..4d24aee 100644 --- a/linden/indra/newview/llagent.h +++ b/linden/indra/newview/llagent.h @@ -668,8 +668,12 @@ public: static void stopFidget(); static void processAgentInitialWearablesUpdate(LLMessageSystem* mesgsys, void** user_data); static void userRemoveWearable( void* userdata ); // userdata is EWearableType - static void userRemoveAllClothes( void* userdata ); // userdata is NULL - static void userRemoveAllClothesStep2(BOOL proceed, void* userdata ); // userdata is NULL + + static void userRemoveAllClothesConfirm(); + static void userRemoveAllClothesCallback(S32 option, void *userdata); + static void userRemoveAllClothes( void* userdata ); // userdata is NULL + static void userRemoveAllClothesStep2(BOOL proceed, void* userdata ); // userdata is NULL + static void userRemoveAllAttachments( void* userdata); // userdata is NULL static BOOL selfHasWearable( void* userdata ); // userdata is EWearableType -- cgit v1.1