llworldmapview.cpp File Reference

LLWorldMapView class implementation. More...

#include "llviewerprecompiledheaders.h"
#include "llworldmapview.h"
#include "indra_constants.h"
#include "llui.h"
#include "llmath.h"
#include "llregionhandle.h"
#include "lleventflags.h"
#include "llglimmediate.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 "llworldmap.h"
#include "llappviewer.h"
#include "llglheaders.h"

Include dependency graph for llworldmapview.cpp:

Go to the source code of this file.

Defines

#define SIM_NULL_MAP_SCALE   1
#define SIM_MAP_AGENT_SCALE   2
#define SIM_MAP_SCALE   1
#define AGENTS_UPDATE_TIME   60.0

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, LLUIImagePtr 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-2008, 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://secondlifegrid.net/programs/open_source/licensing/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://secondlifegrid.net/programs/open_source/licensing/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.


Define Documentation

#define AGENTS_UPDATE_TIME   60.0

Definition at line 107 of file llworldmapview.cpp.

Referenced by LLWorldMapView::draw().

#define SIM_MAP_AGENT_SCALE   2

Definition at line 103 of file llworldmapview.cpp.

Referenced by LLWorldMapView::draw().

#define SIM_MAP_SCALE   1

#define SIM_NULL_MAP_SCALE   1

Definition at line 102 of file llworldmapview.cpp.

Referenced by LLWorldMapView::draw().


Function Documentation

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

Definition at line 1152 of file llworldmapview.cpp.

References LLGLImmediate::begin(), LLGLImmediate::color4fv(), LLGLImmediate::end(), gGL, LLVertexBuffer::LINES, llround(), LLColor4::mV, LLUI::setLineWidth(), and LLGLImmediate::vertex2f().

Referenced by LLWorldMapView::drawTrackingDot().

Here is the call graph for this function:

Here is the caller graph for this function:

BOOL is_agent_in_region ( LLViewerRegion region,
LLSimInfo info 
)

Definition at line 271 of file llworldmapview.cpp.

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

Here is the call graph for this function:

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

Definition at line 1611 of file llworldmapview.cpp.

References S32.

Referenced by LLWorldMapView::handleHover().

Here is the caller graph for this function:


Variable Documentation

const F32 BIG_DOT_RADIUS = 5.f

F32 CONE_SIZE = 0.6f

Definition at line 99 of file llworldmapview.cpp.

const F32 GODLY_TELEPORT_HEIGHT = 200.f

Definition at line 67 of file llworldmapview.cpp.

Referenced by LLWorldMapView::viewPosToGlobal().

const S32 SCROLL_HINT_WIDTH = 65

Definition at line 68 of file llworldmapview.cpp.


Generated on Fri May 16 08:38:08 2008 for SecondLife by  doxygen 1.5.5