#include <llworldmap.h>
Collaboration diagram for LLWorldMap:
Definition at line 113 of file llworldmap.h.
typedef std::map<U64, item_info_list_t> LLWorldMap::agent_list_map_t |
Definition at line 196 of file llworldmap.h.
typedef std::vector<LLItemInfo> LLWorldMap::item_info_list_t |
Definition at line 185 of file llworldmap.h.
typedef std::map<U64, LLSimInfo*> LLWorldMap::sim_info_map_t |
Definition at line 177 of file llworldmap.h.
typedef void(*) LLWorldMap::url_callback_t(U64 region_handle, const std::string &url, const LLUUID &snapshot_id, bool teleport) |
Definition at line 116 of file llworldmap.h.
LLWorldMap::LLWorldMap | ( | ) |
Definition at line 94 of file llworldmap.cpp.
References FALSE, MAP_BLOCK_RES, MAP_SIM_IMAGE_TYPES, mMapBlockLoaded, mMapLoaded, and S32.
LLWorldMap::~LLWorldMap | ( | ) |
Definition at line 127 of file llworldmap.cpp.
References MAP_SIM_IMAGE_TYPES, mMapBlockLoaded, reset(), and S32.
void LLWorldMap::clearImageRefs | ( | ) |
Definition at line 185 of file llworldmap.cpp.
References mSimInfoMap, and NULL.
Referenced by setCurrentLayer().
void LLWorldMap::clearSimFlags | ( | ) |
Definition at line 204 of file llworldmap.cpp.
References FALSE, MAP_BLOCK_RES, MAP_SIM_IMAGE_TYPES, mMapBlockLoaded, and S32.
Referenced by reset(), setCurrentLayer(), and LLFloaterWorldMap::show().
void LLWorldMap::dump | ( | ) |
Definition at line 796 of file llworldmap.cpp.
References from_region_handle(), llendl, llinfos, mSimInfoMap, and S32.
void LLWorldMap::eraseItems | ( | ) |
Definition at line 166 of file llworldmap.cpp.
References LLTimer::getElapsedTimeF32(), mClassifieds, mInfohubs, mLandForSale, mMatureEvents, mPGEvents, mPopular, mRequestTimer, mTelehubs, REQUEST_ITEMS_TIMER, and LLTimer::reset().
Referenced by LLFloaterWorldMap::reloadIcons(), reset(), and LLFloaterWorldMap::show().
Definition at line 828 of file llworldmap.cpp.
References FALSE, lldebugs, llendl, mMaxX, mMaxY, mMinX, mMinY, and TRUE.
Referenced by processMapBlockReply(), processMapLayerReply(), and LLMapLayerResponder::result().
U32 LLWorldMap::getWorldHeight | ( | ) | const |
Definition at line 863 of file llworldmap.cpp.
Referenced by LLFloaterWorldMap::adjustZoomSliderBounds().
U32 LLWorldMap::getWorldWidth | ( | ) | const |
Definition at line 857 of file llworldmap.cpp.
Referenced by LLFloaterWorldMap::adjustZoomSliderBounds().
void LLWorldMap::processMapBlockReply | ( | LLMessageSystem * | , | |
void ** | ||||
) | [static] |
Definition at line 514 of file llworldmap.cpp.
References _PREHASH_Access, _PREHASH_AgentData, _PREHASH_Agents, _PREHASH_Data, _PREHASH_Flags, _PREHASH_MapImageID, _PREHASH_Name, _PREHASH_RegionFlags, _PREHASH_WaterHeight, _PREHASH_X, _PREHASH_Y, LLFloaterWorldMap::adjustZoomSliderBounds(), extendAABB(), FALSE, gAgent, LLViewerImageList::getImage(), LLMessageSystem::getNumberOfBlocksFast(), LLMessageSystem::getStringFast(), LLTracker::getTrackedPositionGlobal(), LLMessageSystem::getU16Fast(), LLMessageSystem::getU32Fast(), LLMessageSystem::getU8Fast(), LLMessageSystem::getUUIDFast(), gFloaterWorldMap, gImageList, gWorldMap, llendl, llwarns, LLSimInfo::mAccess, MAP_SIM_IMAGE_TYPES, MAX_STRING, LLSimInfo::mCurrentImage, mCurrentMap, LLVector3d::mdV, LLSimInfo::mHandle, mInvalidLocation, MIPMAP_TRUE, mIsTrackingDoubleClick, mIsTrackingUnknownLocation, LLSimInfo::mMapImageID, LLSimInfo::mName, LLSimInfo::mOverlayImage, LLSimInfo::mRegionFlags, mSimInfoMap, mSLURL, mSLURLCallback, mSLURLRegionName, mSLURLTeleport, mUnknownLocation, LLSimInfo::mWaterHeight, LLUUID::notNull(), NULL, REGION_WIDTH_UNITS, S32, SIM_ACCESS_DOWN, LLAgent::teleportViaLocation(), to_region_handle(), LLFloaterWorldMap::trackLocation(), TRUE, and LLFloaterWorldMap::updateSims().
Referenced by register_viewer_callbacks().
void LLWorldMap::processMapItemReply | ( | LLMessageSystem * | , | |
void ** | ||||
) | [static] |
Definition at line 652 of file llworldmap.cpp.
References _PREHASH_Data, _PREHASH_Extra, _PREHASH_Extra2, _PREHASH_ID, _PREHASH_ItemType, _PREHASH_Name, _PREHASH_RequestData, _PREHASH_X, _PREHASH_Y, blue, f, LLMessageSystem::getNumberOfBlocks(), LLMessageSystem::getS32Fast(), LLMessageSystem::getStringFast(), LLMessageSystem::getU32Fast(), LLMessageSystem::getUUIDFast(), gPacificDaylightTime, green, gWorldMap, llendl, llformat(), llinfos, mAgentLocationsMap, MAP_ITEM_AGENT_LOCATIONS, MAP_ITEM_CLASSIFIED, MAP_ITEM_LAND_FOR_SALE, MAP_ITEM_MATURE_EVENT, MAP_ITEM_PG_EVENT, MAP_ITEM_POPULAR, MAP_ITEM_TELEHUB, MAX_STRING, mClassifieds, LLVector3d::mdV, LLItemInfo::mExtra, LLItemInfo::mExtra2, mInfohubs, mLandForSale, mMatureEvents, LLItemInfo::mName, mPGEvents, mPopular, LLItemInfo::mPosGlobal, LLItemInfo::mRegionHandle, mTelehubs, LLItemInfo::mToolTip, red, REGION_WIDTH_UNITS, S32, simInfoFromHandle(), tut::tm(), type, utc_to_pacific_time(), and VZ.
Referenced by register_viewer_callbacks().
void LLWorldMap::processMapLayerReply | ( | LLMessageSystem * | , | |
void ** | ||||
) | [static] |
Definition at line 459 of file llworldmap.cpp.
References _PREHASH_AgentData, _PREHASH_Bottom, _PREHASH_Flags, _PREHASH_ImageID, _PREHASH_LayerData, _PREHASH_Left, _PREHASH_Right, _PREHASH_Top, LLFloaterWorldMap::adjustZoomSliderBounds(), LLViewerImage::bindTexture(), bottom, extendAABB(), FALSE, LLViewerImageList::getImage(), LLMessageSystem::getNumberOfBlocksFast(), LLMessageSystem::getU32Fast(), LLMessageSystem::getUUIDFast(), gFloaterWorldMap, gImageList, gWorldMap, left, llendl, llinfos, llwarns, mCurrentMap, MIPMAP_TRUE, mMapLayers, mMapLoaded, REGION_WIDTH_UNITS, right, S32, top, and TRUE.
Referenced by register_viewer_callbacks().
void LLWorldMap::reset | ( | ) |
Definition at line 137 of file llworldmap.cpp.
References clearSimFlags(), eraseItems(), FALSE, m, MAP_SIM_IMAGE_TYPES, mMapLoaded, mMaxX, mMaxY, mMinX, mMinY, mNeighborMap, mNeighborMapHeight, mNeighborMapWidth, mSimInfoMap, mTelehubCoverageMap, NULL, S32, U32_MAX, and U32_MIN.
Referenced by set_god_level(), and ~LLWorldMap().
Definition at line 324 of file llworldmap.cpp.
References _PREHASH_AgentData, _PREHASH_AgentID, _PREHASH_EstateID, _PREHASH_Flags, _PREHASH_Godlike, _PREHASH_ItemType, _PREHASH_MapItemRequest, _PREHASH_RegionHandle, _PREHASH_RequestData, _PREHASH_SessionID, LLMessageSystem::addBOOLFast(), LLMessageSystem::addU32Fast(), LLMessageSystem::addU64Fast(), LLMessageSystem::addUUIDFast(), FALSE, gAgent, LLAgent::getID(), LLAgent::getSessionID(), gMessageSystem, mCurrentMap, LLMessageSystem::newMessageFast(), LLMessageSystem::nextBlockFast(), S32, and LLAgent::sendReliableMessage().
Referenced by LLWorldMapView::draw(), and setCurrentLayer().
void LLWorldMap::sendMapBlockRequest | ( | U16 | min_x, | |
U16 | min_y, | |||
U16 | max_x, | |||
U16 | max_y, | |||
bool | return_nonexistent = false | |||
) |
Definition at line 420 of file llworldmap.cpp.
References _PREHASH_AgentData, _PREHASH_AgentID, _PREHASH_EstateID, _PREHASH_Flags, _PREHASH_Godlike, _PREHASH_MapBlockRequest, _PREHASH_MaxX, _PREHASH_MaxY, _PREHASH_MinX, _PREHASH_MinY, _PREHASH_PositionData, _PREHASH_SessionID, LLMessageSystem::addBOOLFast(), LLMessageSystem::addU16Fast(), LLMessageSystem::addU32Fast(), LLMessageSystem::addUUIDFast(), FALSE, gAgent, LLAgent::getID(), LLAgent::getSessionID(), gMessageSystem, mCurrentMap, mRequestLandForSale, LLMessageSystem::newMessageFast(), LLMessageSystem::nextBlockFast(), S32, and LLAgent::sendReliableMessage().
Referenced by LLFloaterWorldMap::trackLocation(), and LLWorldMapView::updateBlock().
void LLWorldMap::sendMapLayerRequest | ( | ) |
Definition at line 345 of file llworldmap.cpp.
References _PREHASH_AgentData, _PREHASH_AgentID, _PREHASH_EstateID, _PREHASH_Flags, _PREHASH_Godlike, _PREHASH_MapLayerRequest, _PREHASH_SessionID, LLMessageSystem::addBOOLFast(), LLMessageSystem::addU32Fast(), LLMessageSystem::addUUIDFast(), FALSE, gAgent, LLViewerRegion::getCapability(), LLAgent::getID(), LLAgent::getRegion(), LLAgent::getSessionID(), gMessageSystem, LLAgent::isGodlike(), llendl, llinfos, mCurrentMap, mRequestLandForSale, LLMessageSystem::newMessageFast(), LLMessageSystem::nextBlockFast(), LLHTTPClient::post(), S32, and LLAgent::sendReliableMessage().
Referenced by LLFloaterWorldMap::reloadIcons(), and setCurrentLayer().
void LLWorldMap::sendNamedRegionRequest | ( | std::string | region_name, | |
url_callback_t | callback, | |||
const std::string & | callback_url, | |||
bool | teleport | |||
) |
Definition at line 406 of file llworldmap.cpp.
References mSLURL, mSLURLCallback, mSLURLRegionName, mSLURLTeleport, and sendNamedRegionRequest().
void LLWorldMap::sendNamedRegionRequest | ( | std::string | region_name | ) |
Definition at line 388 of file llworldmap.cpp.
References _PREHASH_AgentData, _PREHASH_AgentID, _PREHASH_EstateID, _PREHASH_Flags, _PREHASH_Godlike, _PREHASH_MapNameRequest, _PREHASH_Name, _PREHASH_NameData, _PREHASH_SessionID, LLMessageSystem::addBOOLFast(), LLMessageSystem::addStringFast(), LLMessageSystem::addU32Fast(), LLMessageSystem::addUUIDFast(), FALSE, gAgent, LLAgent::getID(), LLAgent::getSessionID(), gMessageSystem, mCurrentMap, LLMessageSystem::newMessageFast(), LLMessageSystem::nextBlockFast(), S32, and LLAgent::sendReliableMessage().
Referenced by LLURLDispatcherImpl::dispatchRegion(), LLTeleportHandler::handle(), LLFloaterWorldMap::onLocationCommit(), sendNamedRegionRequest(), and LLFloaterWorldMap::trackURL().
Definition at line 276 of file llworldmap.cpp.
References clearImageRefs(), clearSimFlags(), MAP_ITEM_CLASSIFIED, MAP_ITEM_LAND_FOR_SALE, MAP_ITEM_MATURE_EVENT, MAP_ITEM_PG_EVENT, MAP_ITEM_POPULAR, MAP_ITEM_TELEHUB, mClassifieds, mCurrentMap, mInfohubs, mLandForSale, mMapLoaded, mMatureEvents, mPGEvents, mPopular, mTelehubs, sendItemRequest(), and sendMapLayerRequest().
Referenced by LLFloaterWorldMap::onCommitBackground(), set_god_level(), and LLFloaterWorldMap::show().
Definition at line 221 of file llworldmap.cpp.
References mSimInfoMap, and NULL.
Referenced by LLWorldMapView::checkItemHit(), LLWorldMapView::drawAgents(), processMapItemReply(), and simInfoFromPosGlobal().
Definition at line 236 of file llworldmap.cpp.
References LLStringBase< char >::compareInsensitive(), LLSimInfo::mName, mSimInfoMap, and NULL.
Referenced by LLFloaterWorldMap::trackURL().
LLSimInfo * LLWorldMap::simInfoFromPosGlobal | ( | const LLVector3d & | pos_global | ) |
Definition at line 215 of file llworldmap.cpp.
References simInfoFromHandle(), and to_region_handle().
Referenced by LLWorldMapView::handleDoubleClick(), LLWorldMapView::handleToolTip(), LLAgent::teleportViaLocation(), and LLFloaterWorldMap::trackLocation().
bool LLWorldMap::simNameFromPosGlobal | ( | const LLVector3d & | pos_global, | |
LLString & | outSimName | |||
) |
Definition at line 255 of file llworldmap.cpp.
References mSimInfoMap, and to_region_handle().
Referenced by LLFloaterWorldMap::trackLocation(), and LLFloaterWorldMap::updateLocation().
void LLWorldMap::updateTelehubCoverage | ( | ) |
Definition at line 884 of file llworldmap.cpp.
Definition at line 197 of file llworldmap.h.
Referenced by LLWorldMapView::drawAgents(), and processMapItemReply().
Definition at line 192 of file llworldmap.h.
Referenced by LLWorldMapView::draw(), eraseItems(), LLWorldMapView::handleClick(), processMapItemReply(), and setCurrentLayer().
Definition at line 202 of file llworldmap.h.
Referenced by LLWorldMapView::draw(), processMapBlockReply(), processMapLayerReply(), LLMapLayerResponder::result(), sendItemRequest(), sendMapBlockRequest(), sendMapLayerRequest(), sendNamedRegionRequest(), setCurrentLayer(), and LLWorldMapView::updateBlock().
Definition at line 187 of file llworldmap.h.
Referenced by LLWorldMapView::draw(), eraseItems(), processMapItemReply(), and setCurrentLayer().
Definition at line 180 of file llworldmap.h.
Referenced by LLWorldMapView::draw(), processMapBlockReply(), LLMapLayerResponder::result(), and LLFloaterWorldMap::trackLocation().
Definition at line 180 of file llworldmap.h.
Referenced by LLFloaterWorldMap::clearLocationSelection(), LLWorldMapView::handleClick(), LLFloaterWorldMap::onLocationCommit(), LLFloaterWorldMap::trackLocation(), LLFloaterWorldMap::trackURL(), and LLFloaterWorldMap::updateSims().
Definition at line 180 of file llworldmap.h.
Referenced by LLWorldMapView::handleClick(), LLWorldMapView::handleDoubleClick(), processMapBlockReply(), LLMapLayerResponder::result(), and LLFloaterWorldMap::trackLocation().
Definition at line 180 of file llworldmap.h.
Referenced by LLFloaterWorldMap::centerOnTarget(), LLWorldMapView::draw(), LLFloaterWorldMap::draw(), LLWorldMapView::handleClick(), LLWorldMapView::handleDoubleClick(), LLFloaterWorldMap::onClearBtn(), processMapBlockReply(), LLMapLayerResponder::result(), and LLFloaterWorldMap::trackLocation().
Definition at line 191 of file llworldmap.h.
Referenced by LLWorldMapView::draw(), eraseItems(), LLWorldMapView::handleClick(), processMapItemReply(), and setCurrentLayer().
BOOL* LLWorldMap::mMapBlockLoaded[MAP_SIM_IMAGE_TYPES] |
Definition at line 201 of file llworldmap.h.
Referenced by clearSimFlags(), LLWorldMap(), LLWorldMapView::updateBlock(), and ~LLWorldMap().
std::vector<LLWorldMapLayer> LLWorldMap::mMapLayers[MAP_SIM_IMAGE_TYPES] |
Definition at line 199 of file llworldmap.h.
Referenced by LLWorldMapView::draw(), processMapLayerReply(), LLMapLayerResponder::result(), and LLWorldMapView::setVisible().
BOOL LLWorldMap::mMapLoaded[MAP_SIM_IMAGE_TYPES] |
Definition at line 200 of file llworldmap.h.
Referenced by LLWorldMap(), processMapLayerReply(), reset(), LLMapLayerResponder::result(), and setCurrentLayer().
Definition at line 189 of file llworldmap.h.
Referenced by LLWorldMapView::drawEvents(), eraseItems(), LLWorldMapView::handleClick(), processMapItemReply(), and setCurrentLayer().
Definition at line 206 of file llworldmap.h.
Referenced by extendAABB(), getWorldWidth(), and reset().
Definition at line 208 of file llworldmap.h.
Referenced by extendAABB(), getWorldHeight(), and reset().
Definition at line 205 of file llworldmap.h.
Referenced by extendAABB(), getWorldWidth(), and reset().
Definition at line 207 of file llworldmap.h.
Referenced by extendAABB(), getWorldHeight(), and reset().
std::map<U64,S32> LLWorldMap::mNumAgents |
Definition at line 194 of file llworldmap.h.
Referenced by LLWorldMapView::drawAgents(), and LLWorldMapView::handleToolTip().
Definition at line 188 of file llworldmap.h.
Referenced by LLWorldMapView::drawEvents(), eraseItems(), LLWorldMapView::handleClick(), processMapItemReply(), and setCurrentLayer().
Definition at line 190 of file llworldmap.h.
Referenced by LLWorldMapView::draw(), eraseItems(), LLWorldMapView::handleClick(), processMapItemReply(), and setCurrentLayer().
Definition at line 183 of file llworldmap.h.
Referenced by sendMapBlockRequest(), and sendMapLayerRequest().
LLTimer LLWorldMap::mRequestTimer [private] |
Definition at line 178 of file llworldmap.h.
Referenced by clearImageRefs(), LLWorldMapView::draw(), dump(), LLFloaterWorldMap::onCommitSearchResult(), processMapBlockReply(), reset(), LLMapLayerResponder::result(), LLWorldMapView::setVisible(), simInfoFromHandle(), simInfoFromName(), simNameFromPosGlobal(), and LLFloaterWorldMap::updateSims().
std::string LLWorldMap::mSLURL [private] |
Definition at line 220 of file llworldmap.h.
Referenced by processMapBlockReply(), and sendNamedRegionRequest().
url_callback_t LLWorldMap::mSLURLCallback [private] |
Definition at line 221 of file llworldmap.h.
Referenced by processMapBlockReply(), and sendNamedRegionRequest().
std::string LLWorldMap::mSLURLRegionName [private] |
Definition at line 219 of file llworldmap.h.
Referenced by processMapBlockReply(), and sendNamedRegionRequest().
bool LLWorldMap::mSLURLTeleport [private] |
Definition at line 222 of file llworldmap.h.
Referenced by processMapBlockReply(), and sendNamedRegionRequest().
Definition at line 186 of file llworldmap.h.
Referenced by LLWorldMapView::draw(), eraseItems(), processMapItemReply(), and setCurrentLayer().
Definition at line 181 of file llworldmap.h.
Referenced by LLFloaterWorldMap::centerOnTarget(), LLWorldMapView::draw(), processMapBlockReply(), LLMapLayerResponder::result(), and LLFloaterWorldMap::trackLocation().