diff options
author | McCabe Maxsted | 2010-10-25 19:48:41 -0700 |
---|---|---|
committer | McCabe Maxsted | 2010-10-25 19:48:41 -0700 |
commit | 150a190ac5ece99fe9e2c8eafaf6dbf0af02dca1 (patch) | |
tree | a7c0eaf2bcca82373922b8f0d50eeb1c2497b705 /linden/indra/newview/llagent.h | |
parent | #637: teleport target location in local chat, ported from Phoenix by Ansariel... (diff) | |
download | meta-impy-150a190ac5ece99fe9e2c8eafaf6dbf0af02dca1.zip meta-impy-150a190ac5ece99fe9e2c8eafaf6dbf0af02dca1.tar.gz meta-impy-150a190ac5ece99fe9e2c8eafaf6dbf0af02dca1.tar.bz2 meta-impy-150a190ac5ece99fe9e2c8eafaf6dbf0af02dca1.tar.xz |
Cleaned up the ugly Phoenix code for #637 and made it translatable
Diffstat (limited to '')
-rw-r--r-- | linden/indra/newview/llagent.h | 25 |
1 files changed, 12 insertions, 13 deletions
diff --git a/linden/indra/newview/llagent.h b/linden/indra/newview/llagent.h index 03b0045..6bc4dac 100644 --- a/linden/indra/newview/llagent.h +++ b/linden/indra/newview/llagent.h | |||
@@ -767,17 +767,6 @@ public: | |||
767 | 767 | ||
768 | BOOL mInitialized; | 768 | BOOL mInitialized; |
769 | 769 | ||
770 | static BOOL lure_show; | ||
771 | static std::string lure_name; | ||
772 | static LLVector3d lure_posglobal; | ||
773 | static U16 lure_global_x; | ||
774 | static U16 lure_global_y; | ||
775 | static int lure_x; | ||
776 | static int lure_y; | ||
777 | static int lure_z; | ||
778 | static std::string lure_maturity; | ||
779 | |||
780 | |||
781 | S32 mNumPendingQueries; | 770 | S32 mNumPendingQueries; |
782 | S32* mActiveCacheQueries; | 771 | S32* mActiveCacheQueries; |
783 | 772 | ||
@@ -793,8 +782,18 @@ public: | |||
793 | LLFrameTimer mDoubleTapRunTimer; | 782 | LLFrameTimer mDoubleTapRunTimer; |
794 | EDoubleTapRunMode mDoubleTapRunMode; | 783 | EDoubleTapRunMode mDoubleTapRunMode; |
795 | 784 | ||
796 | static void showLureDestination(const std::string fromname, const int global_x, const int global_y, const int x, const int y, const int z, const std::string maturity); | 785 | BOOL mLureShow; |
797 | static void onFoundLureDestination(); | 786 | std::string mLureName; |
787 | LLVector3d mLurePosGlobal; | ||
788 | U16 mLureGlobalX; | ||
789 | U16 mLureGlobalY; | ||
790 | S32 mLureX; | ||
791 | S32 mLureY; | ||
792 | S32 mLureZ; | ||
793 | std::string mLureMaturityString; | ||
794 | |||
795 | void showLureDestination(const std::string fromname, const S32 global_x, const S32 global_y, const S32 x, const S32 y, const S32 z, const std::string maturity); | ||
796 | void onFoundLureDestination(); | ||
798 | 797 | ||
799 | private: | 798 | private: |
800 | bool mbTeleportKeepsLookAt; | 799 | bool mbTeleportKeepsLookAt; |