llworld.cpp File Reference

Initial test structure to organize viewer regions. More...

#include "llviewerprecompiledheaders.h"
#include "llworld.h"
#include "indra_constants.h"
#include "llstl.h"
#include "llagent.h"
#include "llviewercontrol.h"
#include "lldrawpool.h"
#include "llglheaders.h"
#include "llhttpnode.h"
#include "llregionhandle.h"
#include "llsurface.h"
#include "llviewercamera.h"
#include "llviewerimage.h"
#include "llviewerimagelist.h"
#include "llviewernetwork.h"
#include "llviewerobjectlist.h"
#include "llviewerparceloverlay.h"
#include "llviewerregion.h"
#include "llviewerstats.h"
#include "llvlcomposition.h"
#include "llvoavatar.h"
#include "llvowater.h"
#include "message.h"
#include "pipeline.h"
#include "viewer.h"

Include dependency graph for llworld.cpp:

Go to the source code of this file.

Classes

class  LLEstablishAgentCommunication

Functions

void process_enable_simulator (LLMessageSystem *msg, void **user_data)
void process_disable_simulator (LLMessageSystem *mesgsys, void **user_data)
void process_region_handshake (LLMessageSystem *msg, void **user_data)
void send_agent_pause ()
void send_agent_resume ()

Variables

LLWorldgWorldp = NULL
U32 gAgentPauseSerialNum = 0
const S32 MAX_NUMBER_OF_CLOUDS = 750
const S32 WORLD_PATCH_SIZE = 16
LLColor4U MAX_WATER_COLOR
LLHTTPRegistration< LLEstablishAgentCommunicationgHTTPRegistrationEstablishAgentCommunication ("/message/EstablishAgentCommunication")


Detailed Description

Initial test structure to organize viewer regions.

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


Function Documentation

void process_disable_simulator ( LLMessageSystem mesgsys,
void **  user_data 
)

Definition at line 1079 of file llworld.cpp.

References LLMessageSystem::disableCircuit(), LLMessageSystem::getSender(), gWorldp, and LLWorld::removeRegion().

Referenced by register_viewer_callbacks().

void process_enable_simulator ( LLMessageSystem msg,
void **  user_data 
)

Definition at line 1012 of file llworld.cpp.

References _PREHASH_CircuitCode, _PREHASH_Code, _PREHASH_Handle, _PREHASH_ID, _PREHASH_IP, _PREHASH_Port, _PREHASH_SessionID, _PREHASH_SimulatorInfo, _PREHASH_UseCircuitCode, LLWorld::addRegion(), LLMessageSystem::addU32Fast(), LLMessageSystem::addUUIDFast(), LLMessageSystem::enableCircuit(), gAgent, LLAgent::getID(), LLMessageSystem::getIPAddrFast(), LLMessageSystem::getIPPortFast(), LLMessageSystem::getOurCircuitCode(), LLAgent::getSessionID(), LLMessageSystem::getU64Fast(), gWorldp, llendl, llinfos, LLMessageSystem::newMessageFast(), LLMessageSystem::nextBlockFast(), LLMessageSystem::sendReliable(), and TRUE.

Referenced by register_viewer_callbacks().

void process_region_handshake ( LLMessageSystem msg,
void **  user_data 
)

Definition at line 1090 of file llworld.cpp.

References LLWorld::getRegion(), LLMessageSystem::getSender(), gWorldp, llendl, llwarns, and LLViewerRegion::unpackRegionHandshake().

Referenced by register_viewer_callbacks().

void send_agent_pause (  ) 

Definition at line 1105 of file llworld.cpp.

References _PREHASH_AgentData, _PREHASH_AgentID, _PREHASH_AgentPause, _PREHASH_SerialNum, _PREHASH_SessionID, LLMessageSystem::addU32Fast(), LLMessageSystem::addUUIDFast(), gAgentID, gAgentPauseSerialNum, gAgentSessionID, LLViewerRegion::getHost(), gMessageSystem, gObjectList, gWorldp, LLWorld::mActiveRegionList, LLViewerObjectList::mWasPaused, LLMessageSystem::newMessageFast(), LLMessageSystem::nextBlockFast(), LLMessageSystem::sendReliable(), and TRUE.

Referenced by LLViewerWindow::changeDisplaySettings(), LLViewerWindow::handleActivate(), LLViewerWindow::handleWindowBlock(), LLViewerWindow::rawSnapshot(), and LLFloaterColorPicker::showUI().

void send_agent_resume (  ) 

Definition at line 1132 of file llworld.cpp.

References _PREHASH_AgentData, _PREHASH_AgentID, _PREHASH_AgentResume, _PREHASH_SerialNum, _PREHASH_SessionID, LLMessageSystem::addU32Fast(), LLMessageSystem::addUUIDFast(), gAgentID, gAgentPauseSerialNum, gAgentSessionID, LLViewerRegion::getHost(), gMessageSystem, gViewerStats, gWorldp, LLWorld::mActiveRegionList, LLViewerStats::mFPSStat, LLMessageSystem::newMessageFast(), LLMessageSystem::nextBlockFast(), LLMessageSystem::sendReliable(), and LLStat::start().

Referenced by LLViewerWindow::changeDisplaySettings(), LLViewerWindow::handleActivate(), LLViewerWindow::handleWindowUnblock(), LLViewerWindow::rawSnapshot(), and LLFloaterColorPicker::showUI().


Variable Documentation

U32 gAgentPauseSerialNum = 0

Definition at line 65 of file llworld.cpp.

Referenced by send_agent_pause(), and send_agent_resume().

LLHTTPRegistration<LLEstablishAgentCommunication> gHTTPRegistrationEstablishAgentCommunication("/message/EstablishAgentCommunication")

LLWorld* gWorldp = NULL

Definition at line 64 of file llworld.cpp.

Referenced by LLViewerParcelMgr::callbackDivideLand(), LLViewerParcelMgr::callbackJoinLand(), LLVOWater::createDrawable(), disconnect_viewer(), display_update_camera(), LLVolumeImplFlexible::doFlexibleUpdate(), LLManipRotate::drag(), LLManipScale::dragCorner(), LLNetMap::draw(), LLTracker::drawHUDArrow(), LLToolDragAndDrop::dropObject(), LLViewerParcelMgr::getSelectionRegion(), LLManipTranslate::handleHover(), LLToolGrab::handleHoverActive(), idle(), idle_startup(), LLViewerParcelMgr::inAgentParcel(), LLViewerParcelMgr::isOwnedAt(), LLViewerParcelMgr::isOwnedOtherAt(), LLViewerParcelMgr::isOwnedSelfAt(), LLViewerParcelMgr::isSoundLocal(), LLPanelRequestTools::onClickRequest(), LLPanelRegionTools::onSelectRegion(), LLEstablishAgentCommunication::post(), CoarseLocationUpdate::post(), process_agent_movement_complete(), process_crossed_region(), process_disable_simulator(), process_enable_simulator(), process_layer_data(), process_region_handshake(), process_teleport_finish(), process_time_synch(), LLWorld::processCoarseUpdate(), LLViewerParcelMgr::processParcelOverlay(), LLViewerParcelMgr::processParcelProperties(), raycast_for_new_obj_pos(), LLPanelRequestTools::refresh(), LLViewerParcelMgr::render(), render_hud_elements(), LLViewerParcelMgr::renderRect(), LLViewerParcelMgr::requestHoverParcelProperties(), LLViewerParcelMgr::selectCollisionParcel(), LLViewerParcelMgr::selectLand(), send_agent_pause(), send_agent_resume(), LLViewerParcelMgr::sendParcelAccessListRequest(), LLViewerParcelMgr::sendParcelAccessListUpdate(), LLViewerParcelMgr::sendParcelDeed(), LLViewerParcelMgr::sendParcelDwellRequest(), LLViewerParcelMgr::sendParcelGodForceOwner(), LLViewerParcelMgr::sendParcelGodForceToContent(), LLViewerParcelMgr::sendParcelPropertiesUpdate(), LLViewerParcelMgr::sendParcelRelease(), LLPanelObject::sendPosition(), LLViewerParcelMgr::setupParcelBuy(), LLViewerParcelMgr::startDeedLandToGroup(), LLViewerParcelMgr::startReleaseLand(), LLManipScale::stretchFace(), update_statistics(), and viewer_crash_callback().

const S32 MAX_NUMBER_OF_CLOUDS = 750

Definition at line 70 of file llworld.cpp.

LLColor4U MAX_WATER_COLOR

const S32 WORLD_PATCH_SIZE = 16

Definition at line 71 of file llworld.cpp.

Referenced by LLWorld::addRegion().


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