llparcel.h File Reference

#include <time.h>
#include <iostream>
#include "lluuid.h"
#include "llparcelflags.h"
#include "llpermissions.h"
#include "v3math.h"

Include dependency graph for llparcel.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  LLAccessEntry
class  LLParcel

Typedefs

typedef std::map< LLUUID,
LLAccessEntry >::iterator 
access_map_iterator
typedef std::map< LLUUID,
LLAccessEntry >::const_iterator 
access_map_const_iterator

Variables

const F32 PARCEL_GRID_STEP_METERS = 4.f
const S32 PARCEL_UNIT_AREA = 16
const F32 PARCEL_HEIGHT = 50.f
const F32 BAN_HEIGHT = 768.f
const S32 PARCEL_MAX_ACCESS_LIST = 300
const F32 PARCEL_MAX_ENTRIES_PER_PACKET = 48.f
const S32 PARCEL_DIRECTORY_FEE = 30
const S32 PARCEL_PASS_PRICE_DEFAULT = 10
const F32 PARCEL_PASS_HOURS_DEFAULT = 1.f
const S32 PARCEL_OVERLAY_CHUNKS = 4
const U8 PARCEL_COLOR_MASK = 0x07
const U8 PARCEL_PUBLIC = 0x00
const U8 PARCEL_OWNED = 0x01
const U8 PARCEL_GROUP = 0x02
const U8 PARCEL_SELF = 0x03
const U8 PARCEL_FOR_SALE = 0x04
const U8 PARCEL_AUCTION = 0x05
const U8 PARCEL_SOUND_LOCAL = 0x20
const U8 PARCEL_WEST_LINE = 0x40
const U8 PARCEL_SOUTH_LINE = 0x80
const S32 PARCEL_RESULT_NO_DATA = -1
const S32 PARCEL_RESULT_SUCCESS = 0
const S32 PARCEL_RESULT_MULTIPLE = 1
const S32 SELECTED_PARCEL_SEQ_ID = -10000
const S32 COLLISION_NOT_IN_GROUP_PARCEL_SEQ_ID = -20000
const S32 COLLISION_BANNED_PARCEL_SEQ_ID = -30000
const S32 COLLISION_NOT_ON_LIST_PARCEL_SEQ_ID = -40000
const S32 HOVERED_PARCEL_SEQ_ID = -50000
const U32 RT_NONE = 0x1 << 0
const U32 RT_OWNER = 0x1 << 1
const U32 RT_GROUP = 0x1 << 2
const U32 RT_OTHER = 0x1 << 3
const U32 RT_LIST = 0x1 << 4
const U32 RT_SELL = 0x1 << 5


Detailed Description

LicenseInfo
firstyear=2002&license=viewergpl

Copyright (c) 2002-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 llparcel.h.


Typedef Documentation

typedef std::map<LLUUID,LLAccessEntry>::const_iterator access_map_const_iterator

Definition at line 117 of file llparcel.h.

typedef std::map<LLUUID,LLAccessEntry>::iterator access_map_iterator

Definition at line 116 of file llparcel.h.


Variable Documentation

const F32 BAN_HEIGHT = 768.f

Definition at line 53 of file llparcel.h.

Referenced by LLViewerParcelMgr::renderCollisionSegments().

const S32 COLLISION_BANNED_PARCEL_SEQ_ID = -30000

Definition at line 94 of file llparcel.h.

Referenced by LLViewerParcelMgr::processParcelProperties().

const S32 COLLISION_NOT_IN_GROUP_PARCEL_SEQ_ID = -20000

Definition at line 93 of file llparcel.h.

Referenced by LLViewerParcelMgr::processParcelProperties().

const S32 COLLISION_NOT_ON_LIST_PARCEL_SEQ_ID = -40000

Definition at line 95 of file llparcel.h.

Referenced by LLViewerParcelMgr::processParcelProperties().

const S32 HOVERED_PARCEL_SEQ_ID = -50000

Definition at line 96 of file llparcel.h.

Referenced by LLViewerParcelMgr::processParcelProperties(), and LLViewerParcelMgr::requestHoverParcelProperties().

const U8 PARCEL_AUCTION = 0x05

Definition at line 78 of file llparcel.h.

Referenced by LLViewerParcelOverlay::updateOverlayTexture(), and LLViewerParcelOverlay::updatePropertyLines().

const U8 PARCEL_COLOR_MASK = 0x07

Definition at line 72 of file llparcel.h.

Referenced by LLViewerParcelOverlay::getOwnedRatio(), and LLViewerParcelOverlay::updatePropertyLines().

const S32 PARCEL_DIRECTORY_FEE = 30

Definition at line 62 of file llparcel.h.

const U8 PARCEL_FOR_SALE = 0x04

Definition at line 77 of file llparcel.h.

Referenced by LLViewerParcelOverlay::isOwnedOther(), LLViewerParcelOverlay::updateOverlayTexture(), and LLViewerParcelOverlay::updatePropertyLines().

const F32 PARCEL_GRID_STEP_METERS = 4.f

Definition at line 44 of file llparcel.h.

Referenced by LLViewerParcelOverlay::addPropertyLine(), LLParcelSelection::getClaimableArea(), LLToolSelectLand::handleHover(), LLToolSelectLand::handleMouseDown(), LLToolSelectLand::handleMouseUp(), LLViewerParcelMgr::inAgentParcel(), LLViewerParcelOverlay::isOwned(), LLViewerParcelOverlay::isOwnedGroup(), LLViewerParcelOverlay::isOwnedOther(), LLViewerParcelOverlay::isOwnedSelf(), LLViewerParcelOverlay::isSoundLocal(), LLViewerParcelMgr::LLViewerParcelMgr(), LLViewerParcelOverlay::ownership(), LLViewerParcelMgr::renderCollisionSegments(), LLViewerParcelMgr::renderHighlightSegments(), LLViewerParcelOverlay::renderPropertyLines(), LLViewerParcelMgr::requestHoverParcelProperties(), LLToolSelectLand::roundXY(), LLViewerParcelMgr::selectCollisionParcel(), LLViewerParcelMgr::selectParcelAt(), LLViewerParcelOverlay::updatePropertyLines(), and LLViewerParcelMgr::writeHighlightSegments().

const U8 PARCEL_GROUP = 0x02

Definition at line 75 of file llparcel.h.

Referenced by LLViewerParcelOverlay::isOwnedGroup(), LLViewerParcelOverlay::updateOverlayTexture(), and LLViewerParcelOverlay::updatePropertyLines().

const F32 PARCEL_HEIGHT = 50.f

Definition at line 50 of file llparcel.h.

Referenced by LLViewerParcelMgr::renderCollisionSegments().

const S32 PARCEL_MAX_ACCESS_LIST = 300

Definition at line 56 of file llparcel.h.

Referenced by LLParcel::addToAccessList(), LLParcel::addToBanList(), LLPanelLandBan::refresh(), and LLPanelLandAccess::refresh().

const F32 PARCEL_MAX_ENTRIES_PER_PACKET = 48.f

Definition at line 59 of file llparcel.h.

Referenced by LLViewerParcelMgr::sendParcelAccessListUpdate().

const S32 PARCEL_OVERLAY_CHUNKS = 4

Definition at line 69 of file llparcel.h.

Referenced by LLViewerParcelMgr::LLViewerParcelMgr(), LLViewerParcelMgr::processParcelOverlay(), and LLViewerParcelOverlay::uncompressLandOverlay().

const U8 PARCEL_OWNED = 0x01

Definition at line 74 of file llparcel.h.

Referenced by LLViewerParcelOverlay::isOwnedOther(), LLViewerParcelOverlay::updateOverlayTexture(), and LLViewerParcelOverlay::updatePropertyLines().

const F32 PARCEL_PASS_HOURS_DEFAULT = 1.f

Definition at line 65 of file llparcel.h.

Referenced by LLParcel::init().

const S32 PARCEL_PASS_PRICE_DEFAULT = 10

Definition at line 64 of file llparcel.h.

Referenced by LLParcel::init().

const U8 PARCEL_PUBLIC = 0x00

Definition at line 73 of file llparcel.h.

Referenced by LLViewerParcelOverlay::getOwnedRatio(), LLViewerParcelOverlay::isOwned(), LLViewerParcelOverlay::LLViewerParcelOverlay(), and LLViewerParcelOverlay::updateOverlayTexture().

const S32 PARCEL_RESULT_MULTIPLE = 1

Definition at line 90 of file llparcel.h.

Referenced by LLViewerParcelMgr::processParcelProperties(), LLViewerParcelMgr::startDeedLandToGroup(), and LLViewerParcelMgr::startReleaseLand().

const S32 PARCEL_RESULT_NO_DATA = -1

Definition at line 88 of file llparcel.h.

Referenced by LLViewerParcelMgr::canAgentBuyParcel(), LLViewerParcelMgr::processParcelProperties(), LLViewerParcelMgr::requestHoverParcelProperties(), LLViewerParcelMgr::selectCollisionParcel(), LLViewerParcelMgr::selectLand(), LLViewerParcelMgr::startDeedLandToGroup(), and LLViewerParcelMgr::startReleaseLand().

const S32 PARCEL_RESULT_SUCCESS = 0

Definition at line 89 of file llparcel.h.

Referenced by LLViewerParcelMgr::getHoverParcel(), and LLViewerParcelMgr::processParcelProperties().

const U8 PARCEL_SELF = 0x03

Definition at line 76 of file llparcel.h.

Referenced by LLViewerParcelOverlay::isOwnedSelf(), LLViewerParcelOverlay::updateOverlayTexture(), and LLViewerParcelOverlay::updatePropertyLines().

const U8 PARCEL_SOUND_LOCAL = 0x20

Definition at line 83 of file llparcel.h.

Referenced by LLViewerParcelOverlay::isSoundLocal().

const U8 PARCEL_SOUTH_LINE = 0x80

Definition at line 85 of file llparcel.h.

Referenced by LLViewerParcelOverlay::updatePropertyLines().

const S32 PARCEL_UNIT_AREA = 16

Definition at line 47 of file llparcel.h.

Referenced by LLPanelLandInfo::refresh().

const U8 PARCEL_WEST_LINE = 0x40

Definition at line 84 of file llparcel.h.

Referenced by LLViewerParcelOverlay::updatePropertyLines().

const U32 RT_GROUP = 0x1 << 2

Definition at line 100 of file llparcel.h.

Referenced by LLPanelLandObjects::callbackReturnGroupObjects(), LLPanelLandObjects::onClickReturnGroupObjects(), and LLPanelLandObjects::onClickShowGroupObjects().

const U32 RT_LIST = 0x1 << 4

Definition at line 102 of file llparcel.h.

Referenced by LLPanelLandObjects::callbackReturnOwnerList(), LLPanelLandObjects::onClickReturnOwnerList(), and LLPanelLandObjects::onCommitList().

const U32 RT_NONE = 0x1 << 0

Definition at line 98 of file llparcel.h.

Referenced by LLFloaterTopObjects::doToObjects().

const U32 RT_OTHER = 0x1 << 3

Definition at line 101 of file llparcel.h.

Referenced by LLPanelLandObjects::callbackReturnOtherObjects(), LLPanelLandObjects::onClickReturnOtherObjects(), and LLPanelLandObjects::onClickShowOtherObjects().

const U32 RT_OWNER = 0x1 << 1

Definition at line 99 of file llparcel.h.

Referenced by LLPanelLandObjects::callbackReturnOwnerObjects(), LLPanelLandObjects::onClickReturnOwnerObjects(), and LLPanelLandObjects::onClickShowOwnerObjects().

const U32 RT_SELL = 0x1 << 5

Definition at line 103 of file llparcel.h.

Referenced by LLFloaterSellLandUI::doShowObjects().

const S32 SELECTED_PARCEL_SEQ_ID = -10000

Definition at line 92 of file llparcel.h.

Referenced by LLViewerParcelMgr::processParcelProperties(), LLViewerParcelMgr::selectCollisionParcel(), and LLViewerParcelMgr::selectLand().


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