#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 "llappviewer.h"
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 | |
U32 | gAgentPauseSerialNum = 0 |
const S32 | MAX_NUMBER_OF_CLOUDS = 750 |
const S32 | WORLD_PATCH_SIZE = 16 |
LLColor4U | MAX_WATER_COLOR |
LLHTTPRegistration < LLEstablishAgentCommunication > | gHTTPRegistrationEstablishAgentCommunication ("/message/EstablishAgentCommunication") |
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 llworld.cpp.
void process_disable_simulator | ( | LLMessageSystem * | mesgsys, | |
void ** | user_data | |||
) |
Definition at line 1090 of file llworld.cpp.
References LLMessageSystem::disableCircuit(), LLSingleton< LLWorld >::getInstance(), LLMessageSystem::getSender(), and LLWorld::removeRegion().
Referenced by register_viewer_callbacks().
void process_enable_simulator | ( | LLMessageSystem * | msg, | |
void ** | user_data | |||
) |
Definition at line 1023 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(), LLSingleton< LLWorld >::getInstance(), LLMessageSystem::getIPAddrFast(), LLMessageSystem::getIPPortFast(), LLMessageSystem::getOurCircuitCode(), LLAgent::getSessionID(), LLMessageSystem::getU64Fast(), indra::ipc::xml_rpc::handle(), 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 1101 of file llworld.cpp.
References LLSingleton< LLWorld >::getInstance(), LLWorld::getRegion(), LLMessageSystem::getSender(), llendl, llwarns, and LLViewerRegion::unpackRegionHandshake().
Referenced by register_viewer_callbacks().
void send_agent_pause | ( | ) |
Definition at line 1116 of file llworld.cpp.
References _PREHASH_AgentData, _PREHASH_AgentID, _PREHASH_AgentPause, _PREHASH_SerialNum, _PREHASH_SessionID, LLMessageSystem::addU32Fast(), LLMessageSystem::addUUIDFast(), gAgentID, gAgentPauseSerialNum, gAgentSessionID, LLViewerRegion::getHost(), LLSingleton< LLWorld >::getInstance(), gMessageSystem, gObjectList, LLAppViewer::instance(), LLWorld::mActiveRegionList, LLViewerObjectList::mWasPaused, LLMessageSystem::newMessageFast(), LLMessageSystem::nextBlockFast(), LLMessageSystem::sendReliable(), LLAppViewer::stopMainloopTimeout(), and TRUE.
Referenced by LLViewerWindow::changeDisplaySettings(), display(), LLViewerWindow::handleActivate(), LLViewerWindow::handleWindowBlock(), LLViewerWindow::rawSnapshot(), and LLFloaterColorPicker::showUI().
void send_agent_resume | ( | ) |
Definition at line 1149 of file llworld.cpp.
References _PREHASH_AgentData, _PREHASH_AgentID, _PREHASH_AgentResume, _PREHASH_SerialNum, _PREHASH_SessionID, LLMessageSystem::addU32Fast(), LLMessageSystem::addUUIDFast(), gAgentID, gAgentPauseSerialNum, gAgentSessionID, LLViewerRegion::getHost(), LLSingleton< LLViewerStats >::getInstance(), LLSingleton< LLWorld >::getInstance(), gMessageSystem, LLAppViewer::instance(), LLWorld::mActiveRegionList, LLViewerStats::mFPSStat, LLMessageSystem::newMessageFast(), LLMessageSystem::nextBlockFast(), LLMessageSystem::sendReliable(), LLStat::start(), and LLAppViewer::startMainloopTimeout().
Referenced by LLViewerWindow::changeDisplaySettings(), display(), LLViewerWindow::handleActivate(), LLViewerWindow::handleWindowUnblock(), LLViewerWindow::rawSnapshot(), and LLFloaterColorPicker::showUI().
Definition at line 64 of file llworld.cpp.
Referenced by send_agent_pause(), and send_agent_resume().
LLHTTPRegistration<LLEstablishAgentCommunication> gHTTPRegistrationEstablishAgentCommunication("/message/EstablishAgentCommunication") |
const S32 MAX_NUMBER_OF_CLOUDS = 750 |
Definition at line 69 of file llworld.cpp.
Referenced by LLSurface::createWaterTexture(), and LLSurface::generateWaterTexture().
const S32 WORLD_PATCH_SIZE = 16 |