llworldmapview.cpp File Reference

LLWorldMapView class implementation. More...

#include "llviewerprecompiledheaders.h"
#include "llworldmapview.h"
#include "indra_constants.h"
#include "llui.h"
#include "linked_lists.h"
#include "llmath.h"
#include "llregionhandle.h"
#include "lleventflags.h"
#include "llagent.h"
#include "llcallingcard.h"
#include "llcolorscheme.h"
#include "llviewercontrol.h"
#include "llcylinder.h"
#include "llfloaterdirectory.h"
#include "llfloatermap.h"
#include "llfloaterworldmap.h"
#include "llfocusmgr.h"
#include "lltextbox.h"
#include "lltextureview.h"
#include "lltracker.h"
#include "llviewercamera.h"
#include "llviewerimage.h"
#include "llviewerimagelist.h"
#include "llviewermenu.h"
#include "llviewerparceloverlay.h"
#include "llviewerregion.h"
#include "llviewerwindow.h"
#include "llworld.h"
#include "llworldmap.h"
#include "viewer.h"
#include "llglheaders.h"

Include dependency graph for llworldmapview.cpp:

Go to the source code of this file.

Functions

BOOL is_agent_in_region (LLViewerRegion *region, LLSimInfo *info)
static void drawDot (F32 x_pixels, F32 y_pixels, const LLColor4 &color, F32 relative_z, F32 dot_radius, LLPointer< LLViewerImage > dot_image)
BOOL outside_slop (S32 x, S32 y, S32 start_x, S32 start_y)

Variables

const F32 GODLY_TELEPORT_HEIGHT = 200.f
const S32 SCROLL_HINT_WIDTH = 65
const F32 BIG_DOT_RADIUS = 5.f
F32 CONE_SIZE = 0.6f


Detailed Description

LLWorldMapView class implementation.

LicenseInfo
firstyear=2001&license=viewergpl

Copyright (c) 2001-2007, Linden Research, Inc.

Second Life Viewer Source Code The source code in this file ("Source Code") is provided by Linden Lab to you under the terms of the GNU General Public License, version 2.0 ("GPL"), unless you have obtained a separate licensing agreement ("Other License"), formally executed by you and Linden Lab. Terms of the GPL can be found in doc/GPL-license.txt in this distribution, or online at http://secondlife.com/developers/opensource/gplv2

There are special exceptions to the terms and conditions of the GPL as it is applied to this Source Code. View the full text of the exception in the file doc/FLOSS-exception.txt in this software distribution, or online at http://secondlife.com/developers/opensource/flossexception

By copying, modifying or distributing this software, you acknowledge that you have read and understood your obligations described above, and agree to abide by those obligations.

ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY, COMPLETENESS OR PERFORMANCE. $/LicenseInfo$

Definition in file llworldmapview.cpp.


Function Documentation

static void drawDot ( F32  x_pixels,
F32  y_pixels,
const LLColor4 color,
F32  relative_z,
F32  dot_radius,
LLPointer< LLViewerImage dot_image 
) [static]

Definition at line 1184 of file llworldmapview.cpp.

References bottom, f, gl_draw_image(), glBegin, glColor4fv, glEnd, glVertex2f, left, llround(), LLColor4::mV, right, LLUI::setLineWidth(), and top.

Referenced by LLWorldMapView::drawTrackingDot().

BOOL is_agent_in_region ( LLViewerRegion region,
LLSimInfo info 
)

Definition at line 293 of file llworldmapview.cpp.

References LLViewerRegion::getName(), and LLSimInfo::mName.

BOOL outside_slop ( S32  x,
S32  y,
S32  start_x,
S32  start_y 
)

Definition at line 1663 of file llworldmapview.cpp.

References S32.

Referenced by LLWorldMapView::handleHover().


Variable Documentation

const F32 BIG_DOT_RADIUS = 5.f

Definition at line 70 of file llworldmapview.cpp.

Referenced by LLWorldMapView::checkItemHit(), and LLWorldMapView::drawIconName().

F32 CONE_SIZE = 0.6f

Definition at line 101 of file llworldmapview.cpp.

const F32 GODLY_TELEPORT_HEIGHT = 200.f

Definition at line 68 of file llworldmapview.cpp.

Referenced by LLWorldMapView::viewPosToGlobal().

const S32 SCROLL_HINT_WIDTH = 65

Definition at line 69 of file llworldmapview.cpp.


Generated on Thu Jul 1 06:10:51 2010 for Second Life Viewer by  doxygen 1.4.7