lltoolbrush.cpp File Reference

Implementation of the toolbrushes. More...

#include "llviewerprecompiledheaders.h"
#include "lltoolbrush.h"
#include "lltoolselectland.h"
#include "llgl.h"
#include "message.h"
#include "llagent.h"
#include "llcallbacklist.h"
#include "llviewercontrol.h"
#include "llfloatertools.h"
#include "llregionposition.h"
#include "llstatusbar.h"
#include "llsurface.h"
#include "llsurfacepatch.h"
#include "lltoolmgr.h"
#include "llui.h"
#include "llviewerparcelmgr.h"
#include "llviewerparceloverlay.h"
#include "llviewerregion.h"
#include "llviewerwindow.h"
#include "llworld.h"
#include "viewer.h"
#include "llparcel.h"
#include "llglheaders.h"

Include dependency graph for lltoolbrush.cpp:

Go to the source code of this file.

Enumerations

enum  {
  E_LAND_LEVEL = 0, E_LAND_RAISE = 1, E_LAND_LOWER = 2, E_LAND_SMOOTH = 3,
  E_LAND_NOISE = 4, E_LAND_REVERT = 5, E_LAND_INVALID = 6
}

Variables

const std::string REGION_BLOCKS_TERRAFORM_MSG
LLToolBrushLandgToolLand = NULL
const S32 LAND_BRUSH_SIZE_COUNT = 3
const F32 LAND_BRUSH_SIZE [LAND_BRUSH_SIZE_COUNT] = {1.0f, 2.0f, 4.0f}
const S32 LAND_STEPS = 3
const F32 LAND_METERS_PER_SECOND = 1.0f
const LLColor4 OVERLAY_COLOR (1.0f, 1.0f, 1.0f, 1.0f)


Detailed Description

Implementation of the toolbrushes.

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 lltoolbrush.cpp.


Enumeration Type Documentation

anonymous enum

Enumerator:
E_LAND_LEVEL 
E_LAND_RAISE 
E_LAND_LOWER 
E_LAND_SMOOTH 
E_LAND_NOISE 
E_LAND_REVERT 
E_LAND_INVALID 

Definition at line 75 of file lltoolbrush.cpp.


Variable Documentation

LLToolBrushLand* gToolLand = NULL

Definition at line 65 of file lltoolbrush.cpp.

Referenced by click_apply_to_selection(), click_popup_dozer_mode(), LLToolMgr::initTools(), LLFloaterTools::updatePopup(), and LLToolMgr::~LLToolMgr().

const F32 LAND_BRUSH_SIZE[LAND_BRUSH_SIZE_COUNT] = {1.0f, 2.0f, 4.0f}

Definition at line 72 of file lltoolbrush.cpp.

Referenced by LLToolBrushLand::determineAffectedRegions(), and LLToolBrushLand::renderOverlay().

const S32 LAND_BRUSH_SIZE_COUNT = 3

============================================================================ Local function declarations, constants, enums, and typedefs ============================================================================

Definition at line 71 of file lltoolbrush.cpp.

const F32 LAND_METERS_PER_SECOND = 1.0f

Definition at line 74 of file lltoolbrush.cpp.

const S32 LAND_STEPS = 3

Definition at line 73 of file lltoolbrush.cpp.

const LLColor4 OVERLAY_COLOR(1.0f, 1.0f, 1.0f, 1.0f)

Referenced by LLToolBrushLand::renderOverlay().

const std::string REGION_BLOCKS_TERRAFORM_MSG

Initial value:

 "This region does not allow terraforming.\n"
                                "You will need to buy land in another part of the world to terraform it."

Definition at line 61 of file lltoolbrush.cpp.


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