#include "llpatchvertexarray.h"
#include "llmath.h"
#include "v3math.h"
#include "llmemory.h"
#include "llstring.h"
#include "llviewerpartsim.h"
#include "llviewerimage.h"
Include dependency graph for llworld.h:
This graph shows which files directly or indirectly include this file:
Go to the source code of this file.
Classes | |
class | LLWorld |
Defines | |
#define | gWorldPointer gWorldp |
Functions | |
void | process_enable_simulator (LLMessageSystem *mesgsys, 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 | |
LLWorld * | gWorldp |
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.h.
#define gWorldPointer gWorldp |
Definition at line 191 of file llworld.h.
Referenced by LLMuteList::add(), LLPanelDisplay::applyResolution(), LLAgent::calcCameraPositionTargetGlobal(), LLAgent::cameraOrbitIn(), LLAgent::cameraZoomIn(), LLSurface::create(), LLToolBrushLand::determineAffectedRegions(), LLWorldMapView::draw(), LLNetMap::draw(), LLAgent::getCameraZoomFraction(), LLWind::getCloudVelocity(), LLViewerRegion::getCompositionXY(), LLVOAvatar::getGround(), LLWind::getVelocity(), LLRenderFarClipListener::handleEvent(), LLToolGrab::handleHoverActive(), LLViewerWindow::handleScrollWheel(), LLNetMap::handleToolTip(), LLViewerPartGroup::LLViewerPartGroup(), LLShaderMgr::loadShadersEnvironment(), LLViewerWindow::mousePointOnLandGlobal(), print_packets_lost(), process_chat_from_simulator(), LLViewerObjectList::processObjectUpdate(), LLViewerObject::processUpdateMessage(), LLViewerWindow::rawSnapshot(), LLManip::renderGuidelines(), LLManipScale::renderGuidelinesPart(), LLSurface::renderSurfaceBounds(), LLWind::renderVectors(), LLVOAvatar::resolveHeightGlobal(), LLVOAvatar::resolveRayCollisionAgent(), LLPanelObject::sendPosition(), LLAgent::setCameraZoomFraction(), LLRegionPosition::setPositionGlobal(), LLAgent::setRegion(), LLNetMap::setScale(), LLAgent::setStartPosition(), LLViewerObjectList::shiftObjects(), LLAgent::startAutoPilotGlobal(), LLHUDEffectSpiral::triggerLocal(), LLViewerObject::unpackParticleSource(), LLViewerPartSourceChat::update(), LLViewerPartSourceBeam::update(), LLViewerPartSourceSpiral::update(), LLViewerPartSourceScript::update(), LLVOAvatar::updateCharacter(), LLViewerPartGroup::updateParticles(), LLCloudGroup::updatePuffOwnership(), LLNetMap::viewPosToGlobal(), and LLViewerRegion::~LLViewerRegion().
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 * | mesgsys, | |
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().
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(), CoarseLocationUpdate::post(), LLEstablishAgentCommunication::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().