diff options
author | Bryan O'Sullivan <bos@lindenlab.com> | 2009-08-31 13:47:47 -0700 |
---|---|---|
committer | Bryan O'Sullivan <bos@lindenlab.com> | 2009-08-31 13:47:47 -0700 |
commit | 30ff6cabd61f2f083df5df1e6e70cc94742af477 (patch) | |
tree | 631935f1cf59d19a91cdad65e9a75fe825afda7d /indra/newview/llworldmap.h | |
parent | ff11d74820c89822cd067b51727d9df1dc87d0d0 (diff) | |
parent | 3ac3a4b206c08ed06b889bdaa24074b6aa0e020a (diff) |
Merge with trunk
Diffstat (limited to 'indra/newview/llworldmap.h')
-rw-r--r-- | indra/newview/llworldmap.h | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/indra/newview/llworldmap.h b/indra/newview/llworldmap.h index bb3c97cfd9..9daee38752 100644 --- a/indra/newview/llworldmap.h +++ b/indra/newview/llworldmap.h @@ -36,14 +36,16 @@ #include <map> #include <string> #include <vector> +#include <boost/function.hpp> #include "v3math.h" #include "v3dmath.h" #include "llframetimer.h" #include "llmapimagetype.h" #include "lluuid.h" -#include "llmemory.h" -#include "llviewerimage.h" +#include "llpointer.h" +#include "llsingleton.h" +#include "llviewertexture.h" #include "lleventinfo.h" #include "v3color.h" @@ -94,8 +96,8 @@ public: LLUUID mMapImageID[MAP_SIM_IMAGE_TYPES]; // Hold a reference to the currently displayed image. - LLPointer<LLViewerImage> mCurrentImage; - LLPointer<LLViewerImage> mOverlayImage; + LLPointer<LLViewerFetchedTexture> mCurrentImage; + LLPointer<LLViewerFetchedTexture> mOverlayImage; }; #define MAP_BLOCK_RES 256 @@ -103,7 +105,7 @@ public: struct LLWorldMapLayer { BOOL LayerDefined; - LLPointer<LLViewerImage> LayerImage; + LLPointer<LLViewerFetchedTexture> LayerImage; LLUUID LayerImageID; LLRect LayerExtents; @@ -114,7 +116,8 @@ struct LLWorldMapLayer class LLWorldMap : public LLSingleton<LLWorldMap> { public: - typedef void(*url_callback_t)(U64 region_handle, const std::string& url, const LLUUID& snapshot_id, bool teleport); + typedef boost::function<void(U64 region_handle, const std::string& url, const LLUUID& snapshot_id, bool teleport)> + url_callback_t; LLWorldMap(); ~LLWorldMap(); |