#include <llagent.h>
Definition at line 119 of file llagent.h.
LLAgent::LLAgent | ( | ) |
Definition at line 274 of file llagent.cpp.
References BAKED_TEXTURE_COUNT, FALSE, i, mActiveCacheQueries, mAtKey, MAX_CAMERA_DISTANCE_FROM_AGENT, mCameraUpVector, mControlsTakenCount, mControlsTakenPassedOnCount, mCustomAnim, mFollowCam, mLeftKey, mOrbitDownKey, mOrbitInKey, mOrbitLeftKey, mOrbitOutKey, mOrbitRightKey, mOrbitUpKey, mPanDownKey, mPanInKey, mPanLeftKey, mPanOutKey, mPanRightKey, mPanUpKey, mPitchKey, mUpKey, mWalkKey, mYawKey, S32, LLFollowCam::setMaxCameraDistantFromSubject(), TOTAL_CONTROLS, and LLVector3::z_axis.
LLAgent::~LLAgent | ( | ) |
Definition at line 478 of file llagent.cpp.
References cleanup(), mActiveCacheQueries, and NULL.
LLAgent::LOG_CLASS | ( | LLAgent | ) | [private] |
void LLAgent::init | ( | void | ) |
Definition at line 430 of file llagent.cpp.
References LLVector4::clearVec(), DEFAULT_FIELD_OF_VIEW, LLControlGroup::getBOOL(), LLControlGroup::getColor4(), LLViewerWindow::getDisplayAspectRatio(), LLControlGroup::getF32(), LLSingleton< LLViewerCamera >::getInstance(), LLControlGroup::getVector3(), gSavedSettings, gViewerWindow, LLVector4::magVec(), mCameraCollidePlane, mCameraFocusOffsetTarget, mCameraOffsetDefault, mCameraZoomFraction, mCurrentCameraDistance, mDrawDistance, mEffectColor, mInitialized, mTargetCameraDistance, mTrackFocusObject, LLCamera::setAspect(), LLCamera::setFar(), setFlying(), LLCamera::setNear(), LLCamera::setView(), LLCamera::setViewHeightInPixels(), and TRUE.
Referenced by idle_startup().
void LLAgent::cleanup | ( | ) |
Definition at line 465 of file llagent.cpp.
References mAvatarObject, mLookAt, mPointAt, mRegionp, NULL, LLUUID::null, setFocusObject(), and setSitCamera().
Referenced by LLAppViewer::disconnectViewer(), and ~LLAgent().
void LLAgent::resetView | ( | BOOL | reset_camera = TRUE |
) |
Definition at line 493 of file llagent.cpp.
References ANIMATE, cameraThirdPerson(), LLSelectMgr::deselectAll(), getAtAxis(), LLControlGroup::getBOOL(), LLSingleton< LLSelectMgr >::getInstance(), LLCriticalDamp::getInterpolant(), LLViewerWindow::getLeftMouseDown(), getReferenceUpVector(), gMenuHolder, gNoRender, gSavedSettings, gViewerWindow, LLViewerMenuHolderGL::hideMenus(), lerp(), mAutoPilot, mAvatarObject, LLVector3::normVec(), LLPointer< Type >::notNull(), projected_vec(), resetAxes(), setFocusOnAvatar(), stopAutoPilot(), TRUE, and LLSelectMgr::unhighlightAll().
Referenced by moveAt(), moveAtNudge(), moveLeft(), moveLeftNudge(), moveUp(), moveYaw(), LLFloaterTools::onClose(), process_teleport_local(), reset_view_final(), teleportCore(), and toggleFlying().
void LLAgent::unlockView | ( | ) |
Definition at line 568 of file llagent.cpp.
References FALSE, getFocusOnAvatar(), mAvatarObject, setFocusGlobal(), setFocusOnAvatar(), and LLVector3d::zero.
Referenced by camera_move_backward(), camera_move_backward_fast(), camera_move_forward(), camera_move_forward_fast(), camera_pan_down(), camera_pan_in(), camera_pan_left(), camera_pan_out(), camera_pan_right(), camera_pan_up(), camera_spin_around_ccw(), camera_spin_around_cw(), camera_spin_over(), camera_spin_under(), LLJoystickCameraZoom::onHeldDown(), LLJoystickCameraTrack::onHeldDown(), and LLJoystickCameraRotate::onHeldDown().
void LLAgent::onAppFocusGained | ( | ) |
Definition at line 543 of file llagent.cpp.
References CAMERA_MODE_MOUSELOOK, changeCameraToDefault(), LLToolMgr::clearSavedTool(), LLSingleton< LLToolMgr >::getInstance(), and mCameraMode.
Referenced by LLViewerWindow::handleFocus().
void LLAgent::sendMessage | ( | ) |
Definition at line 954 of file llagent.cpp.
References gDisconnected, LLViewerRegion::getHost(), gMessageSystem, llendl, llerrs, llwarns, mRegionp, and LLMessageSystem::sendMessage().
Referenced by LLPanelEstateInfo::commitEstateInfoDataserver(), send_agent_update(), send_sound_trigger(), and LLHUDManager::sendEffects().
void LLAgent::sendReliableMessage | ( | ) |
Definition at line 972 of file llagent.cpp.
References gDisconnected, LLViewerRegion::getHost(), gMessageSystem, lldebugs, llendl, mRegionp, and LLMessageSystem::sendReliable().
Referenced by LLPanelGroups::activate(), LLGestureManager::activateGestures(), LLEventNotifier::add(), LLPrefsIMImpl::apply(), LLInventoryModel::buildParentChildMap(), busy_message(), callback_leave_group(), LLPanelAvatarPicks::callbackDelete(), LLPanelAvatarClassified::callbackDelete(), LLPanelGroups::callbackLeaveGroup(), LLToolDragAndDrop::commitGiveInventoryCategory(), LLToolDragAndDrop::commitGiveInventoryItem(), copy_inventory_item(), create_inventory_item(), LLInventoryModel::createNewCategory(), LLGestureManager::deactivateGesture(), LLGestureManager::deactivateSimilarGestures(), LLInventoryModel::deleteFromServer(), deliver_message(), LLInventoryFetchComboObserver::fetch(), LLViewerInventoryCategory::fetchDescendents(), LLViewerInventoryItem::fetchFromServer(), LLInventoryFetchObserver::fetchItems(), LLFloaterAvatarPicker::find(), LLAvatarTracker::findAgent(), LLPanelAvatar::finishFreeze(), LLPanelAvatar::finishKick(), LLPanelGridTools::finishKick(), LLPanelAvatar::finishUnfreeze(), LLPanelGridTools::flushMapVisibilityCachesConfirm(), forceReleaseControls(), handle_claim_public_land(), handle_lure_callback(), LLViewZoomDefault::handleEvent(), idle_startup(), LLFloaterPostcard::init(), LLFloaterReporter::LLFloaterReporter(), makeNewOutfit(), move_inventory_item(), near_sit_object(), LLPanelDirClassified::onClickDelete(), LLPanelGroupNotices::onClickRefreshNotices(), LLFloaterTelehub::onClickRemoveSpawnPoint(), LLFloaterIMPanel::onClose(), LLGestureManager::onLoadComplete(), LLPanelRegionTools::onSaveState(), LLPanelGroupNotices::onSelectNotice(), packRoleUpdateMessageBlock(), LLPanelDirLand::performQuery(), LLPanelDirClassified::performQuery(), LLPanelDirEvents::performQueryOrDelete(), process_improved_im(), LLInventoryModel::purgeDescendentsOf(), LLEventNotifier::remove(), LLInvFVBridge::removeBatchNoCheck(), LLViewerInventoryCategory::removeFromServer(), LLViewerInventoryItem::removeFromServer(), request_initial_instant_messages(), LLGroupMoneyPlanningTabEventHandler::requestData(), LLGroupMoneySalesTabEventHandler::requestData(), LLGroupMoneyDetailsTabEventHandler::requestData(), requestEnterGodMode(), LLMuteList::requestFromServer(), requestLeaveGodMode(), LLFloaterRegionInfo::requestRegionInfo(), LLViewerParcelMgr::selectCollisionParcel(), send_agent_update(), send_chat_from_viewer(), send_generic_message(), send_improved_im(), send_places_query(), send_sim_wide_deletes(), send_start_session_messages(), sendAgentDataUpdateRequest(), sendAgentSetAppearance(), sendAgentWearablesRequest(), sendAgentWearablesUpdate(), sendAnimationRequest(), sendAnimationRequests(), LLPanelAvatar::sendAvatarNotesUpdate(), LLPanelAvatar::sendAvatarPropertiesRequest(), LLPanelAvatar::sendAvatarPropertiesUpdate(), LLPanelEstateCovenant::sendChangeCovenantID(), LLPanelClassified::sendClassifiedInfoRequest(), LLPanelClassified::sendClassifiedInfoUpdate(), LLGroupMgr::sendCreateGroupRequest(), LLPanelDirBrowser::sendDirFindQuery(), LLPanelEstateInfo::sendEstateAccessDelta(), LLPanelEvent::sendEventInfoRequest(), LLSelectMgr::sendGodlikeRequest(), LLFloaterGodTools::sendGodUpdateRegionInfo(), LLGroupMgr::sendGroupMemberEjects(), LLGroupMgr::sendGroupMemberInvites(), LLGroupMgr::sendGroupMemberJoin(), LLGroupMgr::sendGroupMembersRequest(), LLGroupMgr::sendGroupPropertiesRequest(), LLPanelGroupVoting::impl::sendGroupProposalBallot(), LLPanelGroupVoting::impl::sendGroupProposalsRequest(), LLGroupMgr::sendGroupRoleDataRequest(), LLGroupMgr::sendGroupRoleMemberChanges(), LLGroupMgr::sendGroupRoleMembersRequest(), LLGroupMgr::sendGroupTitlesRequest(), LLGroupMgr::sendGroupTitleUpdate(), LLPanelGroupVoting::impl::sendGroupVoteHistoryRequest(), LLWorldMap::sendItemRequest(), LLAppViewer::sendLogoutRequest(), LLWorldMap::sendMapBlockRequest(), LLWorldMap::sendMapLayerRequest(), LLWorldMap::sendNamedRegionRequest(), LLPanelPlace::sendParcelInfoRequest(), LLPanelPick::sendPickInfoUpdate(), LLFloaterGodTools::sendRegionInfoRequest(), LLPanelFriends::sendRightsGrant(), LLGroupMgrGroupData::sendRoleChanges(), LLViewerWindow::sendShapeToSim(), LLPanelGroupVoting::impl::sendStartGroupProposal(), LLViewerThrottleGroup::sendToSim(), LLFloaterIMPanel::sendTypingState(), LLGroupMgr::sendUpdateGroupInfo(), sendWalkRun(), setGroupContribution(), LLTracker::setLandmarkVisited(), setUserGroupFlags(), LLFloaterPreference::show(), start_deprecated_conference_chat(), teleportCancel(), teleportRequest(), teleportViaLandmark(), teleportViaLocation(), teleportViaLure(), LLAvatarTracker::terminateBuddy(), LLAvatarTracker::track(), LLAvatarTracker::untrack(), update_fov(), LLMuteList::updateAdd(), LLViewerInventoryCategory::updateParentOnServer(), LLViewerInventoryItem::updateParentOnServer(), LLMuteList::updateRemove(), LLViewerInventoryCategory::updateServer(), LLViewerInventoryItem::updateServer(), LLFloaterPostcard::uploadCallback(), LLNewAgentInventoryResponder::uploadComplete(), and velocity_interpolate().
LLVector3d LLAgent::calcCameraPositionTargetGlobal | ( | BOOL * | hit_limit = NULL |
) |
Definition at line 3595 of file llagent.cpp.
References APPEARANCE_MAX_ZOOM, calcFocusPositionTargetGlobal(), CAMERA_COLLIDE_EPSILON, CAMERA_LAG_HALF_LIFE, CAMERA_MODE_CUSTOMIZE_AVATAR, CAMERA_MODE_FOLLOW, CAMERA_MODE_MOUSELOOK, CAMERA_MODE_THIRD_PERSON, CAMERA_ZOOM_HALF_LIFE, LLViewerRegion::canManageEstate(), LLVector3::clearVec(), LLVector3d::clearVec(), dot(), FALSE, LLCoordFrame::getAtAxis(), LLControlGroup::getBOOL(), getCameraMinOffGround(), LLControlGroup::getF32(), LLSingleton< LLWorld >::getInstance(), LLCriticalDamp::getInterpolant(), LLViewerWindow::getLeftMouseDown(), getPosAgentFromGlobal(), getPosGlobalFromAgent(), getPositionGlobal(), LLCoordFrame::getQuaternion(), getReferenceUpVector(), LLWorld::getRegionFromPosGlobal(), LLFollowCam::getSimulatedPosition(), getUpAxis(), getVelocity(), gLastHitObjectID, GROUND_TO_AIR_CAMERA_TRANSITION_START_TIME, GROUND_TO_AIR_CAMERA_TRANSITION_TIME, gSavedSettings, gViewerWindow, LLVector4::isExactlyZero(), isGodlike(), LLPointer< Type >::isNull(), lerp(), llabs(), llclamp(), llendl, llmax(), llwarns, LLVector3d::magVec(), LLVector3::magVec(), mAvatarObject, MAX_CAMERA_DISTANCE_FROM_AGENT, MAX_CAMERA_LAG, mCameraAnimating, mCameraCollidePlane, mCameraFocusOffset, mCameraLag, mCameraMode, mCameraOffsetDefault, mCameraZoomFraction, mCurrentCameraDistance, LLVector3d::mdV, mFocusOnAvatar, mFollowCam, mFrameAgent, MIN_CAMERA_DISTANCE, MIN_CAMERA_LAG, mSitCameraEnabled, mSitCameraPos, mSitCameraReferenceObject, mTargetCameraDistance, mThirdPersonHeadOffset, LLVector4::mV, LLVector3::mV, LLVector3::normVec(), LLPointer< Type >::notNull(), projected_vec(), resetAxes(), LLWorld::resolveLandHeightGlobal(), LLCoordFrame::rotateToAbsolute(), LLVector3::setVec(), LLVector3d::setVec(), TRUE, VW, VX, VY, VZ, LLVector3::zero, and LLVector3d::zero.
Referenced by calcFocusPositionTargetGlobal(), idle_startup(), LLAppViewer::saveFinalSnapshot(), and updateCamera().
LLVector3d LLAgent::calcFocusPositionTargetGlobal | ( | ) |
Definition at line 3430 of file llagent.cpp.
References calcCameraPositionTargetGlobal(), CAMERA_MODE_CUSTOMIZE_AVATAR, CAMERA_MODE_FOLLOW, CAMERA_MODE_MOUSELOOK, clearFocusObject(), LLViewerObject::flagCameraDecoupled(), getPosGlobalFromAgent(), getPositionGlobal(), LLCoordFrame::getQuaternion(), LLFollowCam::getSimulatedFocus(), LLControlGroup::getVector3(), gPipeline, gSavedSettings, LLDrawable::isActive(), LLPointer< Type >::isNull(), LLDrawable::isState(), mAvatarObject, mCameraMode, mFocusObject, mFocusObjectOffset, mFocusOnAvatar, mFocusTargetGlobal, mFollowCam, mFrameAgent, LLDrawable::MOVE_UNDAMPED, mSitCameraEnabled, mSitCameraFocus, mSitCameraReferenceObject, mTrackFocusObject, LLPointer< Type >::notNull(), LLVector3d::setVec(), updateFocusOffset(), LLPipeline::updateMoveDampedAsync(), and LLPipeline::updateMoveNormalAsync().
Referenced by calcCameraPositionTargetGlobal(), LLObjectEdit::handleEvent(), LLToolGrab::handleHoverActive(), LLAppViewer::saveFinalSnapshot(), and updateCamera().
LLVector3d LLAgent::getCameraPositionGlobal | ( | ) | const |
Definition at line 3554 of file llagent.cpp.
References LLSingleton< LLViewerCamera >::getInstance(), and getPosGlobalFromAgent().
Referenced by audio_update_listener(), calcFocusOffset(), LLViewerRegion::calculateCameraDistance(), LLFloaterWorldMap::centerOnTarget(), LLViewerWindow::clickPointInWorldGlobal(), LLWorldMapView::draw(), LLNetMap::draw(), LLVOAvatar::dumpBakedStatus(), LLToolGrab::getGrabPointGlobal(), LLWorldMapView::globalPosToView(), LLNetMap::globalPosToView(), LLToolCamera::handleHover(), LLToolGrab::handleHoverActive(), init_audio(), LLNetMap::LLNetMap(), LLViewerWindow::mousePointOnLandGlobal(), LLViewerWindow::mousePointOnPlaneGlobal(), LLSnapshotLivePreview::onIdle(), LLToolCamera::pickCallback(), LLToolDragAndDrop::pickCallback(), print_agent_nvpairs(), LLViewerObjectList::processObjectUpdate(), LLToolPlacer::raycastForNewObjPos(), LLTracker::renderBeacon(), LLSelectNode::renderOneSilhouette(), LLViewerParcelOverlay::renderPropertyLines(), setFocusGlobal(), startCameraAnimation(), LLToolGrab::startGrab(), LLDebugText::update(), LLAudioSourceVO::update(), LLSurface::updatePatchVisibilities(), LLSelectMgr::updateSilhouettes(), LLWorldMapView::updateVisibleBlocks(), LLWorldMapView::viewPosToGlobal(), and LLNetMap::viewPosToGlobal().
const LLVector3 & LLAgent::getCameraPositionAgent | ( | ) | const |
Definition at line 3546 of file llagent.cpp.
References LLSingleton< LLViewerCamera >::getInstance(), and LLCoordFrame::getOrigin().
Referenced by audio_update_wind(), calcCameraMinDistance(), LLManipRotate::dragConstrained(), LLManipRotate::dragUnconstrained(), LLNetMap::draw(), LLWaterParamManager::getFogDensity(), LLVOPartGroup::getGeometry(), LLVOSky::LLVOSky(), LLManipRotate::mouseToRay(), LLManip::nearestPointOnLineFromMouse(), LLManipScale::render(), LLManipScale::renderFaces(), LLManipRotate::renderSnapGuides(), LLManipTranslate::renderTranslationHandles(), send_agent_update(), LLVOTree::setPixelAreaAndAngle(), LLVOGrass::setPixelAreaAndAngle(), LLViewerObject::setPixelAreaAndAngle(), LLVOSky::updateFog(), LLVOTextBubble::updateTextures(), and LLManipRotate::updateVisiblity().
F32 LLAgent::calcCameraFOVZoomFactor | ( | ) |
Definition at line 3562 of file llagent.cpp.
References calcCameraMinDistance(), CAMERA_MODE_MOUSELOOK, llclamp(), llmax(), LLVector3::magVec(), mCameraFocusOffset, mCameraFOVZoomFactor, mCameraMode, mFocusObject, mFocusObjectDist, mFocusObjectOffset, LLPointer< Type >::notNull(), and LLVector3::setVec().
Referenced by updateCamera().
F32 LLAgent::getCameraMinOffGround | ( | ) |
Definition at line 3913 of file llagent.cpp.
References CAMERA_MODE_MOUSELOOK, LLControlGroup::getBOOL(), gSavedSettings, and mCameraMode.
Referenced by calcCameraPositionTargetGlobal().
void LLAgent::endAnimationUpdateUI | ( | ) |
Definition at line 2794 of file llagent.cpp.
References AGENT_GUN_AIM_ANIMS, AGENT_GUN_HOLD_ANIMS, ANIM_AGENT_AIM_BAZOOKA_R, ANIM_AGENT_AIM_BOW_L, ANIM_AGENT_AIM_HANDGUN_R, ANIM_AGENT_AIM_RIFLE_R, ANIM_AGENT_CUSTOMIZE, ANIM_AGENT_CUSTOMIZE_DONE, ANIM_AGENT_HOLD_BAZOOKA_R, ANIM_AGENT_HOLD_BOW_L, ANIM_AGENT_HOLD_HANDGUN_R, ANIM_AGENT_HOLD_RIFLE_R, ANIM_REQUEST_START, ANIM_REQUEST_STOP, CAMERA_MODE_CUSTOMIZE_AVATAR, CAMERA_MODE_MOUSELOOK, LLVector3::clearVec(), LLFloaterTools::dirty(), FALSE, LLViewerObject::flagCameraDecoupled(), gBasicToolset, gConsole, get_skip_list(), LLCoordFrame::getAtAxis(), getAvatarObject(), LLSingleton< LLViewerCamera >::getInstance(), LLSingleton< LLToolMgr >::getInstance(), gFaceEditToolset, gFloaterMap, gFloaterTools, gFloaterView, gFocusMgr, gIMMgr, gMorphView, gMouselookToolset, gStatusBar, gViewerWindow, LLAppViewer::instance(), LOOKAT_TARGET_CLEAR, mAvatarObject, mCameraLag, mCameraMode, mCustomAnim, mLastCameraMode, mPauseRequest, mViewsPushed, NULL, NUM_AGENT_GUN_AIM_ANIMS, NUM_AGENT_GUN_HOLD_ANIMS, LLView::popVisible(), LLFloaterView::popVisibleAll(), LLView::pushVisible(), LLFloaterView::pushVisibleAll(), resetAxes(), sendAnimationRequest(), LLToolMgr::setCurrentToolset(), LLIMMgr::setFloaterOpen(), LLFocusMgr::setKeyboardFocus(), setLookAt(), LLView::setVisible(), LLMorphView::setVisible(), LLMenuGL::setVisible(), LLStatusBar::setVisibleForMouselook(), LLViewerWindow::showCursor(), TRUE, and LLVOAvatar::updateAttachmentVisibility().
Referenced by changeCameraToCustomizeAvatar(), changeCameraToFollow(), changeCameraToMouselook(), changeCameraToThirdPerson(), and updateCamera().
Definition at line 1980 of file llagent.cpp.
Referenced by moveAt(), moveAtNudge(), moveLeft(), moveLeftNudge(), movePitch(), and moveUp().
void LLAgent::handleScrollWheel | ( | S32 | clicks | ) |
Definition at line 3865 of file llagent.cpp.
References CAMERA_MODE_FOLLOW, CAMERA_MODE_THIRD_PERSON, cameraOrbitIn(), cameraZoomIn(), changeCameraToMouselook(), F_SQRT2, FALSE, getFocusOnAvatar(), LLSingleton< LLSelectMgr >::getInstance(), LLFollowCamParams::getPositionLocked(), LLSelectMgr::getSelection(), LLFollowCam::isZoomedToMinimumDistance(), LLVector3d::magVec(), LLVector3::magVec(), mCameraAnimating, mCameraFocusOffsetTarget, mCameraMode, mCameraOffsetDefault, mFocusOnAvatar, mFollowCam, mTargetCameraDistance, SELECT_TYPE_HUD, and LLFollowCam::zoom().
Referenced by LLViewerWindow::handleScrollWheel().
void LLAgent::setAvatarObject | ( | LLVOAvatar * | avatar | ) |
Definition at line 2639 of file llagent.cpp.
References LLHUDManager::createViewerEffect(), LLSingleton< LLHUDManager >::getInstance(), LLPointer< Type >::isNull(), LLHUDObject::LL_HUD_EFFECT_LOOKAT, LLHUDObject::LL_HUD_EFFECT_POINTAT, llendl, llinfos, mAvatarObject, mLookAt, mPointAt, and sendAgentWearablesRequest().
Referenced by LLVOAvatar::LLVOAvatar(), and LLVOAvatar::~LLVOAvatar().
void LLAgent::startTyping | ( | ) |
Definition at line 2694 of file llagent.cpp.
References AGENT_STATE_TYPING, ANIM_AGENT_TYPE, ANIM_REQUEST_START, CHAT_TYPE_START, FALSE, LLViewerObjectList::findObject(), gChatBar, LLControlGroup::getBOOL(), LLFrameTimer::getElapsedTimeF32(), getRenderState(), gObjectList, gSavedSettings, LLPrimitive::isAvatar(), LOOKAT_TARGET_RESPOND, mChatTimer, mLastChatterID, mTypingTimer, LLFrameTimer::reset(), sendAnimationRequest(), LLChatBar::sendChatFromViewer(), setLookAt(), setRenderState(), and LLVector3::zero.
Referenced by LLChatBar::onInputEditorKeystroke().
void LLAgent::stopTyping | ( | ) |
Definition at line 2724 of file llagent.cpp.
References AGENT_STATE_TYPING, ANIM_AGENT_TYPE, ANIM_REQUEST_STOP, CHAT_TYPE_STOP, clearRenderState(), FALSE, gChatBar, mRenderState, sendAnimationRequest(), and LLChatBar::sendChatFromViewer().
Referenced by getRenderState(), LLChatBar::onInputEditorFocusLost(), LLChatBar::onInputEditorKeystroke(), LLChatBar::refresh(), LLChatBar::sendChat(), and LLChatBar::stopChat().
void LLAgent::setRenderState | ( | U8 | newstate | ) |
Definition at line 2737 of file llagent.cpp.
References mRenderState.
Referenced by getRenderState(), and startTyping().
void LLAgent::clearRenderState | ( | U8 | clearstate | ) |
Definition at line 2745 of file llagent.cpp.
References mRenderState.
Referenced by getRenderState(), and stopTyping().
U8 LLAgent::getRenderState | ( | ) |
Definition at line 2754 of file llagent.cpp.
References AGENT_STATE_EDITING, AGENT_STATE_TYPING, clearRenderState(), LLFrameTimer::getElapsedTimeF32(), LLSingleton< LLToolMgr >::getInstance(), LLSingleton< LLSelectMgr >::getInstance(), gKeyboard, gNoRender, mRenderState, mTypingTimer, NULL, setRenderState(), stopTyping(), and TYPING_TIMEOUT_SECS.
Referenced by LLChatBar::refresh(), send_agent_update(), and startTyping().
void LLAgent::setRegion | ( | LLViewerRegion * | regionp | ) |
Definition at line 817 of file llagent.cpp.
References LLViewerRegion::getHandle(), LLViewerRegion::getHost(), LLSingleton< LLSelectMgr >::getInstance(), LLSingleton< LLWorld >::getInstance(), LLSingleton< LLViewerCamera >::getInstance(), LLViewerRegion::getName(), LLCoordFrame::getOrigin(), LLViewerRegion::getOriginGlobal(), getPositionAgent(), LLHost::getString(), gSky, indra::ipc::xml_rpc::handle(), llassert, llendl, llinfos, mAgentOriginGlobal, MAX_STRING, mRegionp, mRegionsVisited, LLSky::mVOGroundp, LLSky::mVOSkyp, LLCoordFrame::setOrigin(), setPositionAgent(), LLVector3::setVec(), LLWorld::updateAgentOffset(), LLSelectMgr::updateSelectionCenter(), and LLWorld::updateWaterObjects().
Referenced by idle_startup(), and process_agent_movement_complete().
LLViewerRegion * LLAgent::getRegion | ( | ) | const |
Definition at line 896 of file llagent.cpp.
References mRegionp.
Referenced by LLPanelEstateInfo::accessAddCore3(), LLPanelEstateInfo::accessCoreConfirm(), all_estates_text(), audio_update_wind(), LLInventoryModel::backgroundFetch(), buildLocationString(), LLPanelRegionDebugInfo::callbackAvatarID(), LLViewerCamera::cameraUnderWater(), canFly(), LLPanelEstateInfo::checkRemovalButton(), LLPanelEstateInfo::commitEstateInfoCaps(), LLFloaterGodTools::computeRegionFlags(), confirm_replace_attachment_rez(), container_inventory_arrived(), copy_inventory_from_notecard(), create_new_landmark(), LLWorld::disconnectRegions(), LLStartUp::dispatchURL(), LLFloaterReleaseMsg::displayMessage(), LLPanelPlace::displayParcelInfo(), LLVolumeImplFlexible::doFlexibleUpdate(), LLFloaterTopObjects::doToObjects(), LLTextureFetchWorker::doWork(), LLNetMap::draw(), LLFloaterIMPanel::draw(), LLFloaterWorldMap::draw(), enable_region_owner(), LLViewerInventoryCategory::fetchDescendents(), LLFloaterReporter::gatherReport(), LLPipeline::generateWaterReflection(), LLVoiceChannelGroup::getChannelInfo(), LLWaterParamManager::getFogDensity(), LLPanelDirFind::getSearchURLSuffix(), getSLURL(), LLFloaterPay::give(), handle_claim_public_land(), handle_dump_capabilities_info(), handle_dump_region_object_cache(), handle_export_selected(), handle_lure(), handle_region_dump_settings(), LLWorldEnableTeleportHome::handleEvent(), LLWorldEnableSetHomeLocation::handleEvent(), LLWorldEnableCreateLandmark::handleEvent(), LLWorldCreateLandmark::handleEvent(), LLObjectEnableReturn::handleEvent(), LLWorldMapView::handleToolTip(), LLAppViewer::handleViewerCrash(), idle_startup(), LLViewerParcelMgr::inAgentParcel(), LLSky::init(), LLFloaterIMPanel::inviteToSession(), LLIMMgr::inviteUserResponse(), LLFloaterAbout::LLFloaterAbout(), LLFloaterReporter::LLFloaterReporter(), LLImagePreviewAvatar::LLImagePreviewAvatar(), LLPreviewAnimation::LLPreviewAnimation(), LLViewerPartGroup::LLViewerPartGroup(), LLPanelObjectTools::onApplyChanges(), LLPanelRegionTools::onApplyChanges(), LLFloaterLandmark::onBtnNew(), LLPanelActiveSpeakers::onChangeModerationMode(), LLInventoryModel::fetchDescendentsResponder::onClickRetry(), onClickScripts(), LLFloaterReporter::onClickSend(), LLPanelPick::onClickSet(), LLPanelActiveSpeakers::onModeratorMuteText(), LLPanelActiveSpeakers::onModeratorMuteVoice(), LLFloaterRegionInfo::onOpen(), LLPanelRegionTools::onRefresh(), LLDispatchEstateUpdateInfo::operator()(), LLVoiceClient::parcelChanged(), LLObjectBridge::performAction(), LLViewerChatterBoxInvitation::post(), process_agent_movement_complete(), process_improved_im(), process_sim_stats(), LLFloaterRegionInfo::processEstateOwnerRequest(), LLFloaterRegionInfo::processRegionInfo(), LLFloaterGodTools::processRegionInfo(), queryWearableCache(), LLStatusBar::refresh(), LLPanelObjectTools::refresh(), LLFloaterProperties::refreshFromItem(), remove_inventory_category_from_avatar_step2(), LLWorld::removeRegion(), LLToolBrushLand::render(), LLDrawPoolGround::render(), LLPipeline::renderDebug(), LLDrawPoolTerrain::renderFull2TU(), LLDrawPoolTerrain::renderFull4TU(), LLDrawPoolTerrain::renderFullShader(), LLViewerParcelMgr::renderParcelCollision(), LLAppViewer::requestQuit(), LLVoiceClient::requestVoiceAccountProvision(), LLLiveLSLEditor::saveIfNeeded(), LLPreviewLSL::saveIfNeeded(), LLPreviewNotecard::saveIfNeeded(), LLPreviewGesture::saveIfNeeded(), LLViewerParcelMgr::selectCollisionParcel(), send_agent_update(), send_sound_trigger(), send_start_session_messages(), send_stats(), LLPanelClassified::sendClassifiedClickMessage(), LLPanelClassified::sendClassifiedInfoRequest(), LLFloaterGodTools::sendGodUpdateRegionInfo(), LLPanelGroupVoting::impl::sendGroupProposalBallot(), LLWorldMap::sendMapLayerRequest(), LLViewerParcelMgr::sendParcelPropertiesUpdate(), LLFloaterPostcard::sendPostcard(), LLFloaterReporter::sendReportViaLegacy(), LLTextureFetch::sendRequestListToSimulators(), LLPanelGroupVoting::impl::sendStartGroupProposal(), LLPanelRegionGeneralInfo::sendUpdate(), setAFK(), LLViewerThrottle::setMaxBandwidth(), LLRegionPosition::setPositionGlobal(), LLDrawPoolWater::shade(), LLFloaterReleaseMsg::show(), LLVoiceClient::stateMachine(), teleportCancel(), teleportRequest(), teleportViaLandmark(), teleportViaLocation(), teleportViaLure(), trigger_hippo_bug(), LLWaterParamManager::update(), LLViewerParcelMedia::update(), update_statistics(), updateCamera(), LLViewerCamera::updateCameraLocation(), LLVOSky::updateFog(), LLVOSky::updateGeometry(), LLWorld::updateWaterObjects(), upload_done_callback(), upload_new_resource(), and wear_inventory_category_on_avatar_step2().
const LLHost & LLAgent::getRegionHost | ( | ) | const |
Definition at line 902 of file llagent.cpp.
References LLViewerRegion::getHost(), LLHost::invalid, and mRegionp.
Referenced by LLFloaterGodTools::draw(), handle_detach_from_avatar(), LLAppViewer::handleViewerCrash(), LLPanelEstateCovenant::loadInvItem(), LLPanelRegionTools::onBakeTerrain(), LLPanelRequestTools::onClickRequest(), LLPanelObjectTools::onGetScriptDigest(), LLFloaterTopObjects::onRefresh(), LLPanelRegionTools::onRevertTerrain(), LLPanelRegionTools::onSwapTerrain(), process_covenant_reply(), LLLandmarkList::processGetAssetReply(), LLFloaterGodTools::processRegionInfo(), LLFloaterGodTools::refreshAll(), LLFloaterGodTools::sendGodUpdateRegionInfo(), LLTextureFetch::sendRequestListToSimulators(), LLFloaterGodTools::show(), LLFloaterWorldMap::teleport(), LLFloaterWorldMap::teleportToLandmark(), and userRemoveAllAttachments().
std::string LLAgent::getSLURL | ( | ) | const |
Definition at line 918 of file llagent.cpp.
References LLURLDispatcher::buildSLURL(), LLViewerRegion::getName(), getPositionGlobal(), getRegion(), llround(), LLVector3d::mdV, REGION_WIDTH_METERS, S32, VX, VY, and VZ.
Referenced by LLFloaterReporter::LLFloaterReporter(), and setTeleportState().
void LLAgent::updateAgentPosition | ( | const F32 | dt, | |
const F32 | yaw, | |||
const S32 | mouse_x, | |||
const S32 | mouse_y | |||
) |
Definition at line 2531 of file llagent.cpp.
References propagate(), rotate(), and updateLookAt().
Referenced by LLAppViewer::idle().
Definition at line 2549 of file llagent.cpp.
References CAMERA_MODE_CUSTOMIZE_AVATAR, cameraMouselook(), cameraThirdPerson(), DEG_TO_RAD, LLCoordFrame::getAtAxis(), getCameraMode(), LLStat::getCurrent(), LLControlGroup::getF32(), LLSingleton< LLViewerCamera >::getInstance(), LLViewerWindow::getMouseVelocityStat(), LLCoordFrame::getQuaternion(), LLViewerWindow::getWindowHeight(), LLViewerWindow::getWindowWidth(), gSavedSettings, gViewerWindow, LLPointer< Type >::isNull(), LOOKAT_TARGET_FREELOOK, LOOKAT_TARGET_IDLE, LOOKAT_TARGET_MOUSELOOK, LOOKAT_TARGET_NONE, LLVector3::magVecSquared(), mAvatarObject, mFrameAgent, LLCoordFrame::pitch(), setLookAt(), LLVector3::x_axis, and LLCoordFrame::yaw().
Referenced by updateAgentPosition().
void LLAgent::updateCamera | ( | ) |
Definition at line 3000 of file llagent.cpp.
References calcCameraFOVZoomFactor(), calcCameraPositionTargetGlobal(), calcCustomizeAvatarUIOffset(), calcFocusPositionTargetGlobal(), CAMERA_FOCUS_HALF_LIFE, CAMERA_MODE_CUSTOMIZE_AVATAR, CAMERA_MODE_FOLLOW, CAMERA_MODE_MOUSELOOK, cameraCustomizeAvatar(), cameraMouselook(), cameraOrbitAround(), cameraOrbitIn(), cameraOrbitOver(), cameraPanIn(), cameraPanLeft(), cameraPanUp(), cameraThirdPerson(), changeCameraToFollow(), changeCameraToThirdPerson(), LLFollowCam::copyParams(), DEG_TO_RAD, LLDrawable::EARLY_MOVE, endAnimationUpdateUI(), FALSE, FOV_ZOOM_HALF_LIFE, LLFollowCamMgr::getActiveFollowCamParams(), getAtAxis(), getAvatarObject(), LLFrameTimer::getElapsedTimeF32(), LLControlGroup::getF32(), LLSingleton< LLViewerCamera >::getInstance(), LLUIFactory< T, LLUISingleton< T, VISIBILITY_POLICY >, VISIBILITY_POLICY >::getInstance(), LLCriticalDamp::getInterpolant(), getLeftAxis(), LLViewerJointAttachment::getObject(), getPosAgentFromGlobal(), getPosGlobalFromAgent(), LLJoint::getPosition(), getPositionGlobal(), LLCoordFrame::getQuaternion(), getRegion(), LLJoint::getScale(), getUpAxis(), LLFollowCam::getUpVector(), LLJoint::getWorldRotation(), gFPSClamped, gPipeline, gSavedSettings, gVoiceClient, HEAD_BUFFER_SIZE, LLViewerObject::isDead(), LLVector3d::isExactlyZero(), LLPointer< Type >::isNull(), lerp(), llclamp(), llclampf(), llsmoothstep(), LOOKAT_TARGET_FOCUS, LLVector3d::magVec(), mAnimationCameraStartGlobal, mAnimationDuration, mAnimationFocusStartGlobal, mAnimationTimer, mAvatarObject, MAX_CAMERA_SMOOTH_DISTANCE, mCameraAnimating, mCameraCurrentFOVZoomFactor, mCameraFocusOffset, mCameraFocusOffsetTarget, mCameraFOVZoomFactor, mCameraMode, mCameraPositionAgent, mCameraSmoothingLastPositionAgent, mCameraSmoothingLastPositionGlobal, mCameraUpVector, mCameraVirtualPositionAgent, mDistanceTraveled, LLViewerObject::mDrawable, mFocusGlobal, mFocusObject, mFocusOnAvatar, mFollowCam, mFrameAgent, mLastCameraMode, mLastPositionGlobal, mOrbitDownKey, mOrbitInKey, mOrbitLeftKey, mOrbitOutKey, mOrbitRightKey, mOrbitUpKey, mPanDownKey, mPanInKey, mPanLeftKey, mPanOutKey, mPanRightKey, mPanUpKey, mShowAvatar, mSitCameraEnabled, mSitCameraReferenceObject, LLVector3::mV, LLPointer< Type >::notNull(), NULL, LLUUID::null, LLVoiceClient::setCameraPosition(), setLookAt(), LLMatrix3::setRows(), LLJoint::setScale(), setSitCamera(), LLFollowCam::setSubjectPositionAndRotation(), LLCamera::setView(), LLVOAvatar::sVisibleInFirstPerson, LLCoordFrame::translate(), TRUE, LLFollowCam::update(), LLVOAvatar::updateAttachmentVisibility(), LLViewerCamera::updateCameraLocation(), LLPipeline::updateMoveNormalAsync(), LLViewerObject::updateText(), validateFocusObject(), VZ, LLVector3::z_axis, and LLVector3::zero.
Referenced by LLAppViewer::idle(), process_agent_movement_complete(), process_teleport_local(), and resetCamera().
void LLAgent::resetCamera | ( | ) |
Definition at line 3936 of file llagent.cpp.
References LLCoordFrame::getAtAxis(), mCameraFOVZoomFactor, mFrameAgent, LLVector3::mV, LLVector3::normVec(), resetAxes(), updateCamera(), and VZ.
Referenced by idle_startup(), and LLVOAvatar::setParent().
void LLAgent::setupSitCamera | ( | ) |
Definition at line 3529 of file llagent.cpp.
References LLCoordFrame::getAtAxis(), mAvatarObject, mFrameAgent, LLVector3::mV, LLVector3::normVec(), LLPointer< Type >::notNull(), resetAxes(), and VZ.
Referenced by LLVOAvatar::sitOnObject().
void LLAgent::setCameraCollidePlane | ( | const LLVector4 & | plane | ) | [inline] |
Definition at line 184 of file llagent.h.
References mCameraCollidePlane.
Referenced by process_camera_constraint().
void LLAgent::changeCameraToDefault | ( | ) |
Definition at line 4007 of file llagent.cpp.
References changeCameraToFollow(), changeCameraToThirdPerson(), and LLFollowCamMgr::getActiveFollowCamParams().
Referenced by LLViewerWindow::alertCallback(), LLViewerWindow::alertXml(), LLViewerWindow::alertXmlEditText(), container_inventory_arrived(), derez_objects(), LLViewerWindow::handleActivate(), LLFileUploadBulk::handleEvent(), LLViewMouselook::handleEvent(), LLToolCompGun::handleScrollWheel(), LLMorphView::initialize(), LLPreviewNotecard::LLPreviewNotecard(), load_url_local_file(), onAppFocusGained(), reset_view_final(), LLIMMgr::toggle(), and upload_pick().
void LLAgent::changeCameraToMouselook | ( | BOOL | animate = TRUE |
) |
Definition at line 3952 of file llagent.cpp.
References AGENT_CONTROL_MOUSELOOK, ANIM_AGENT_BODY_NOISE, ANIM_AGENT_BREATHE_ROT, CAMERA_MODE_MOUSELOOK, LLSelectMgr::deselectAll(), endAnimationUpdateUI(), FALSE, LLSingleton< LLSelectMgr >::getInstance(), LLSingleton< LLToolMgr >::getInstance(), LLViewerWindow::getWindow(), gMouselookToolset, gSavedSettings, gViewerWindow, LLViewerWindow::hideCursor(), mAvatarObject, mbFlagsDirty, mCameraAnimating, mCameraMode, mControlFlags, mLastCameraMode, LLViewerWindow::moveCursorToCenter(), mPauseRequest, NULL, LLWindow::resetBusyCount(), LLControlGroup::setBOOL(), setControlFlags(), LLToolMgr::setCurrentToolset(), LLViewerWindow::setKeyboardFocus(), startCameraAnimation(), and TRUE.
Referenced by cameraOrbitIn(), handle_mouselook(), LLViewMouselook::handleEvent(), handleScrollWheel(), LLOverlayBar::onClickMouselook(), LLVOAvatar::sitOnObject(), and LLIMMgr::toggle().
void LLAgent::changeCameraToThirdPerson | ( | BOOL | animate = TRUE |
) |
Definition at line 4082 of file llagent.cpp.
References AGENT_CONTROL_MOUSELOOK, ANIM_AGENT_BODY_NOISE, ANIM_AGENT_BREATHE_ROT, CAMERA_MODE_MOUSELOOK, CAMERA_MODE_THIRD_PERSON, clearControlFlags(), LLVector3::clearVec(), endAnimationUpdateUI(), FALSE, gBasicToolset, LLCoordFrame::getAtAxis(), LLSingleton< LLViewerCamera >::getInstance(), LLSingleton< LLToolMgr >::getInstance(), LLViewerWindow::getWindow(), gSavedSettings, gViewerWindow, INITIAL_ZOOM_FRACTION, LLPointer< Type >::isNull(), mAvatarObject, mbFlagsDirty, mCameraAnimating, mCameraLag, mCameraMode, mCameraZoomFraction, mControlFlags, mCurrentCameraDistance, mFrameAgent, MIN_CAMERA_DISTANCE, mLastCameraMode, mPauseRequest, mTargetCameraDistance, LLVector3::mV, LLVector3::normVec(), NULL, resetAxes(), LLWindow::resetBusyCount(), LLControlGroup::setBOOL(), LLToolMgr::setCurrentToolset(), startCameraAnimation(), TRUE, VZ, and LLVector3::zero.
Referenced by changeCameraToDefault(), lookAtLastChat(), LLAppViewer::saveFinalSnapshot(), and updateCamera().
void LLAgent::changeCameraToCustomizeAvatar | ( | BOOL | avatar_animate = TRUE , |
|
BOOL | camera_animate = TRUE | |||
) |
Definition at line 4164 of file llagent.cpp.
References AGENT_CONTROL_MOUSELOOK, AGENT_CONTROL_STAND_UP, ANIM_AGENT_CUSTOMIZE, ANIM_REQUEST_START, CAMERA_MODE_CUSTOMIZE_AVATAR, clearControlFlags(), CUSTOMIZE_AVATAR_CAMERA_ANIM_SLOP, endAnimationUpdateUI(), FALSE, LLCoordFrame::getAtAxis(), LLMotion::getDuration(), LLControlGroup::getF32(), LLSingleton< LLToolMgr >::getInstance(), LLViewerWindow::getWindow(), gFaceEditToolset, gSavedSettings, gViewerWindow, LLPointer< Type >::isNull(), mAnimationDuration, mAvatarObject, mbFlagsDirty, mCameraAnimating, mCameraMode, mControlFlags, mCustomAnim, mFrameAgent, mLastCameraMode, LLVector3::mV, LLVector3::normVec(), NULL, LLVOAvatar::onCustomizeStart(), resetAxes(), LLWindow::resetBusyCount(), sendAnimationRequest(), LLControlGroup::setBOOL(), setControlFlags(), LLToolMgr::setCurrentToolset(), setFocusGlobal(), LLViewerWindow::setKeyboardFocus(), LLViewerWindow::setMouseCapture(), startCameraAnimation(), TRUE, VZ, and LLVector3d::zero.
Referenced by LLWearableBridge::editOnAvatar(), LLShowFloater::handleEvent(), and LLToolBar::onClickAppearance().
void LLAgent::changeCameraToFollow | ( | BOOL | animate = TRUE |
) |
Definition at line 4024 of file llagent.cpp.
References AGENT_CONTROL_MOUSELOOK, ANIM_AGENT_BODY_NOISE, ANIM_AGENT_BREATHE_ROT, CAMERA_MODE_FOLLOW, CAMERA_MODE_MOUSELOOK, clearControlFlags(), endAnimationUpdateUI(), FALSE, gBasicToolset, LLSingleton< LLToolMgr >::getInstance(), LLSingleton< LLViewerCamera >::getInstance(), gSavedSettings, mAvatarObject, mbFlagsDirty, mCameraAnimating, mCameraMode, mCameraPositionAgent, mControlFlags, mFollowCam, mLastCameraMode, mPauseRequest, NULL, LLFollowCam::reset(), LLControlGroup::setBOOL(), LLToolMgr::setCurrentToolset(), startCameraAnimation(), TRUE, LLVector3::z_axis, and LLVector3::zero.
Referenced by changeCameraToDefault(), and updateCamera().
void LLAgent::setFocusGlobal | ( | const LLVector3d & | focus, | |
const LLUUID & | object_id = LLUUID::null | |||
) |
Definition at line 4290 of file llagent.cpp.
References LLViewerObjectList::findObject(), getCameraPositionGlobal(), getPosAgentFromGlobal(), getPosGlobalFromAgent(), getPositionGlobal(), LLViewerObject::getRenderPosition(), LLViewerObject::getRenderRotation(), gObjectList, LLPrimitive::isAvatar(), LLVector3d::isExactlyZero(), LLPointer< Type >::isNull(), LOOKAT_TARGET_CLEAR, LOOKAT_TARGET_FOCUS, mAvatarObject, mCameraFocusOffset, mCameraFocusOffsetTarget, mCameraFOVZoomFactor, mCameraVirtualPositionAgent, mFocusObject, mFocusTargetGlobal, LLPointer< Type >::notNull(), NULL, setFocusObject(), setLookAt(), startCameraAnimation(), and updateFocusOffset().
Referenced by changeCameraToCustomizeAvatar(), handle_focus(), handle_go_to(), handle_move(), LLLandEdit::handleEvent(), LLToolsLookAtSelection::handleEvent(), LLLandBuild::handleEvent(), LLObjectEdit::handleEvent(), LLObjectBuild::handleEvent(), LLToolGrab::handleHoverActive(), lookAtLastChat(), LLToolCamera::pickCallback(), setFocusOnAvatar(), toggle_build_mode(), and unlockView().
Definition at line 4459 of file llagent.cpp.
References CAMERA_MODE_THIRD_PERSON, LLCoordFrame::getAtAxis(), LLSingleton< LLViewerCamera >::getInstance(), LLPointer< Type >::isNull(), mAvatarObject, mCameraFOVZoomFactor, mCameraMode, mFocusOnAvatar, LLVector3::mV, LLVector3::normVec(), resetAxes(), setFocusGlobal(), startCameraAnimation(), stopCameraAnimation(), VZ, and LLVector3d::zero.
Referenced by handle_focus(), handle_go_to(), handle_move(), LLLandEdit::handleEvent(), LLToolsLookAtSelection::handleEvent(), LLLandBuild::handleEvent(), LLObjectEdit::handleEvent(), LLObjectBuild::handleEvent(), LLToolGrab::handleHoverActive(), idle_startup(), lookAtLastChat(), LLToolPie::pickAndShowMenu(), LLToolCamera::pickCallback(), process_agent_movement_complete(), resetView(), toggle_build_mode(), and unlockView().
void LLAgent::setCameraPosAndFocusGlobal | ( | const LLVector3d & | pos, | |
const LLVector3d & | focus, | |||
const LLUUID & | object_id | |||
) |
Definition at line 4378 of file llagent.cpp.
References calcCustomizeAvatarUIOffset(), CAMERA_MODE_CUSTOMIZE_AVATAR, LLViewerObjectList::findObject(), LLSingleton< LLViewerCamera >::getInstance(), getLeftAxis(), getPosAgentFromGlobal(), gObjectList, llmax(), LOOKAT_TARGET_FOCUS, mAnimationCameraStartGlobal, mCameraAnimating, mCameraFocusOffset, mCameraFocusOffsetTarget, mCameraMode, mFocusObject, mFocusTargetGlobal, NULL, setAnimationDuration(), setFocusObject(), setLookAt(), startCameraAnimation(), and updateFocusOffset().
Referenced by LLToolsLookAtSelection::handleEvent(), idle_startup(), LLToolCamera::pickCallback(), and LLMorphView::updateCamera().
void LLAgent::setSitCamera | ( | const LLUUID & | object_id, | |
const LLVector3 & | camera_pos = LLVector3::zero , |
|||
const LLVector3 & | camera_focus = LLVector3::zero | |||
) |
Definition at line 4431 of file llagent.cpp.
References LLVector3::clearVec(), FALSE, LLViewerObjectList::findObject(), gObjectList, LLUUID::isNull(), mSitCameraEnabled, mSitCameraFocus, mSitCameraPos, mSitCameraReferenceObject, NULL, and TRUE.
Referenced by cleanup(), LLVOAvatar::getOffObject(), process_avatar_sit_response(), and updateCamera().
void LLAgent::clearFocusObject | ( | ) |
Definition at line 4270 of file llagent.cpp.
References LLVector3::clearVec(), mFocusObject, mFocusObjectOffset, LLPointer< Type >::notNull(), NULL, setFocusObject(), and startCameraAnimation().
Referenced by calcFocusPositionTargetGlobal(), confirm_replace_attachment(), LLManipScale::drag(), LLManipRotate::drag(), LLManipTranslate::handleHover(), LLToolGrab::handleHoverActive(), and validateFocusObject().
void LLAgent::setFocusObject | ( | LLViewerObject * | object | ) |
Definition at line 4281 of file llagent.cpp.
References mFocusObject.
Referenced by cleanup(), clearFocusObject(), setCameraPosAndFocusGlobal(), and setFocusGlobal().
void LLAgent::setObjectTracking | ( | BOOL | track | ) | [inline] |
void LLAgent::heardChat | ( | const LLUUID & | id | ) |
Definition at line 4507 of file llagent.cpp.
References LLViewerObjectList::findObject(), getID(), LLSingleton< LLLocalSpeakerMgr >::getInstance(), gObjectList, ll_rand(), LOOKAT_TARGET_AUTO_LISTEN, mChatTimer, mLastChatterID, LLFrameTimer::reset(), setLookAt(), LLSpeakerMgr::speakerChatted(), and LLVector3::zero.
Referenced by process_chat_from_simulator().
void LLAgent::lookAtLastChat | ( | ) |
Definition at line 4529 of file llagent.cpp.
References AGENT_CONTROL_STOP, cameraThirdPerson(), changeCameraToThirdPerson(), FALSE, LLViewerObjectList::findObject(), getPosGlobalFromAgent(), getPositionAgent(), LLViewerObject::getPositionAgent(), LLViewerObject::getPositionGlobal(), LLViewerObject::getRenderPosition(), LLJoint::getWorldPosition(), gObjectList, LLPrimitive::isAvatar(), LLPointer< Type >::isNull(), mAvatarObject, mCameraAnimating, mCameraFocusOffsetTarget, LLVOAvatar::mHeadp, mLastChatterID, LLVector3::normVec(), setControlFlags(), setFocusGlobal(), setFocusOnAvatar(), TRUE, and LLVector3::z_axis.
Referenced by LLViewLookAtLastChatter::handleEvent().
F32 LLAgent::getTypingTime | ( | ) | [inline] |
Definition at line 205 of file llagent.h.
References LLFrameTimer::getElapsedTimeF32(), and mTypingTimer.
Referenced by LLChatBar::refresh().
void LLAgent::setAFK | ( | ) |
Definition at line 2073 of file llagent.cpp.
References AGENT_CONTROL_AWAY, AGENT_CONTROL_STOP, ANIM_AGENT_AWAY, ANIM_REQUEST_START, gAFKMenu, gAwayTimer, getRegion(), gNoRender, mControlFlags, sendAnimationRequest(), setControlFlags(), LLMenuItemGL::setLabel(), and LLFrameTimer::start().
Referenced by LLViewerGesture::doTrigger(), LLViewerWindow::handleActivate(), LLWorldSetAway::handleEvent(), idle_afk_check(), and LLVOAvatar::startMotion().
void LLAgent::clearAFK | ( | ) |
Definition at line 2103 of file llagent.cpp.
References AGENT_CONTROL_AWAY, ANIM_AGENT_AWAY, ANIM_REQUEST_STOP, clearControlFlags(), gAFKMenu, gAwayTriggerTimer, mAvatarObject, mControlFlags, LLVOAvatar::mSignaledAnimations, LLFrameTimer::reset(), sendAnimationRequest(), and LLMenuItemGL::setLabel().
Referenced by LLViewerWindow::handleActivate(), LLWorldSetAway::handleEvent(), LLViewerWindow::handleMouseMove(), LLViewerWindow::handleTranslatedKeyDown(), idle_startup(), LLVOAvatar::idleUpdate(), and onAnimStop().
BOOL LLAgent::getAFK | ( | ) | const |
Definition at line 2127 of file llagent.cpp.
References AGENT_CONTROL_AWAY, and mControlFlags.
Referenced by fidget(), and LLWorldSetAway::handleEvent().
void LLAgent::setAlwaysRun | ( | ) | [inline] |
Definition at line 211 of file llagent.h.
References mbAlwaysRun.
Referenced by LLWorldAlwaysRun::handleEvent().
void LLAgent::clearAlwaysRun | ( | ) | [inline] |
Definition at line 212 of file llagent.h.
References mbAlwaysRun.
Referenced by LLWorldAlwaysRun::handleEvent().
void LLAgent::setRunning | ( | ) | [inline] |
Definition at line 214 of file llagent.h.
References mbRunning.
Referenced by agent_handle_doubletap_run(), and LLWorldAlwaysRun::handleEvent().
void LLAgent::clearRunning | ( | ) | [inline] |
Definition at line 215 of file llagent.h.
References mbRunning.
Referenced by agent_handle_doubletap_run(), and LLWorldAlwaysRun::handleEvent().
void LLAgent::setBusy | ( | ) |
Definition at line 2135 of file llagent.cpp.
References ANIM_AGENT_BUSY, ANIM_REQUEST_START, gBusyMenu, LLUIFactory< LLFloaterMute, LLUISingleton< LLFloaterMute, VisibilityPolicy< LLFloater > >, VisibilityPolicy< LLFloater > >::getInstance(), mIsBusy, sendAnimationRequest(), LLMenuItemGL::setLabel(), TRUE, and LLFloaterMute::updateButtons().
Referenced by LLWorldSetBusy::handleEvent(), and process_agent_movement_complete().
void LLAgent::clearBusy | ( | ) |
Definition at line 2150 of file llagent.cpp.
References ANIM_AGENT_BUSY, ANIM_REQUEST_STOP, FALSE, gBusyMenu, LLUIFactory< LLFloaterMute, LLUISingleton< LLFloaterMute, VisibilityPolicy< LLFloater > >, VisibilityPolicy< LLFloater > >::getInstance(), mIsBusy, sendAnimationRequest(), LLMenuItemGL::setLabel(), and LLFloaterMute::updateButtons().
Referenced by complete_give_money(), LLWorldSetBusy::handleEvent(), LLOverlayBar::onClickSetNotBusy(), and process_agent_movement_complete().
BOOL LLAgent::getBusy | ( | ) | const |
Definition at line 2165 of file llagent.cpp.
References mIsBusy.
Referenced by busy_message(), handle_give_money_dialog(), LLWorldSetBusy::handleEvent(), inventory_offer_handler(), LLViewerChatterBoxInvitation::post(), process_agent_movement_complete(), process_chat_from_simulator(), process_improved_im(), process_offer_callingcard(), and LLOverlayBar::refresh().
void LLAgent::setAdminOverride | ( | BOOL | b | ) | [inline] |
Definition at line 221 of file llagent.h.
References mAdminOverride.
Referenced by handle_admin_override_toggle().
void LLAgent::setGodLevel | ( | U8 | god_level | ) | [inline] |
Definition at line 222 of file llagent.h.
References mGodLevel.
Referenced by set_god_level().
void LLAgent::setFirstLogin | ( | BOOL | b | ) | [inline] |
Definition at line 223 of file llagent.h.
References mFirstLogin.
Referenced by idle_startup().
void LLAgent::setGenderChosen | ( | BOOL | b | ) | [inline] |
Definition at line 224 of file llagent.h.
References mGenderChosen.
Referenced by callback_choose_gender(), idle_startup(), and processAgentInitialWearablesUpdate().
Definition at line 4848 of file llagent.cpp.
References LLMessageSystem::addS32(), LLMessageSystem::addUUID(), LLDynamicArray< Type, BlockSize >::count(), FALSE, gAgentID, gAgentSessionID, LLDynamicArray< Type, BlockSize >::get(), gMessageSystem, i, LLGroupData::mContribution, mGroups, LLGroupData::mID, LLMessageSystem::newMessage(), LLMessageSystem::nextBlock(), S32, sendReliableMessage(), and TRUE.
Referenced by LLPanelGroupLandMoney::impl::applyContribution().
BOOL LLAgent::setUserGroupFlags | ( | const LLUUID & | group_id, | |
BOOL | accept_notices, | |||
BOOL | list_in_profile | |||
) |
Definition at line 4871 of file llagent.cpp.
References LLMessageSystem::addBOOL(), LLMessageSystem::addUUID(), LLDynamicArray< Type, BlockSize >::count(), FALSE, gAgentID, gAgentSessionID, LLDynamicArray< Type, BlockSize >::get(), gMessageSystem, i, LLGroupData::mAcceptNotices, mGroups, LLGroupData::mID, LLGroupData::mListInProfile, LLMessageSystem::newMessage(), LLMessageSystem::nextBlock(), S32, sendReliableMessage(), and TRUE.
Referenced by LLPanelGroupGeneral::apply().
void LLAgent::setHideGroupTitle | ( | BOOL | hide | ) | [inline] |
Definition at line 231 of file llagent.h.
References mHideGroupTitle.
Referenced by handleHideGroupTitleChanged().
const LLUUID& LLAgent::getID | ( | ) | const [inline] |
Definition at line 238 of file llagent.h.
References gAgentID.
Referenced by LLPanelEstateInfo::accessCoreConfirm(), LLPanelGroups::activate(), LLGestureManager::activateGestures(), LLMuteList::add(), LLEventNotifier::add(), LLPanelEstateInfo::addAllowedGroup(), LLPreviewGesture::addAnimations(), LLFloaterIMPanel::addHistoryLine(), LLIMMgr::addMessage(), LLToolPlacer::addObject(), LLPanelGroupInvite::impl::addRoleNames(), LLPreviewGesture::addSounds(), addWearableToAgentInventory(), agentCanAddToRole(), LLViewerParcelMgr::agentCanBuild(), all_estates_text(), LLTextureCtrl::allowDrop(), allowOperation(), LLSelectNode::allowOperationOnNode(), LLPrefsIMImpl::apply(), LLPreviewSound::auditionSound(), LLTaskSoundBridge::buildContextMenu(), LLCallingCardBridge::buildContextMenu(), LLInventoryModel::buildParentChildMap(), busy_message(), LLViewerParcelMgr::buyPass(), callback_eject(), callback_freeze(), callback_god_force_owner(), callback_leave_group(), callback_script_dialog(), LLPanelAvatarPicks::callbackDelete(), LLPanelAvatarClassified::callbackDelete(), LLViewerParcelMgr::callbackDivideLand(), LLViewerParcelMgr::callbackJoinLand(), LLPanelGroups::callbackLeaveGroup(), callingcard_offer_callback(), LLViewerParcelMgr::canAgentBuyParcel(), LLVOAvatar::canGrabLocalTexture(), LLViewerRegion::canManageEstate(), LLPanelEstateInfo::checkRemovalButton(), LLAppViewer::cleanup(), LLTaskInvFVBridge::commitBuyItem(), LLPanelEstateInfo::commitEstateInfoDataserver(), LLToolDragAndDrop::commitGiveInventoryCategory(), LLToolDragAndDrop::commitGiveInventoryItem(), LLIMMgr::computeSessionID(), confirm_replace_attachment_rez(), container_inventory_arrived(), create_new_landmark(), LLWearableList::createCopy(), LLWearableList::createCopyFromAvatar(), LLInventoryModel::createNewCategory(), LLInventoryPanel::createNewItem(), LLWearableList::createNewWearable(), LLFolderBridge::createWearable(), LLToolDragAndDrop::dad3dActivateGesture(), LLToolDragAndDrop::dad3dGiveInventoryObject(), LLToolDragAndDrop::dad3dRezAttachmentFromInv(), LLToolDragAndDrop::dad3dRezFromObjectOnObject(), LLToolDragAndDrop::dad3dRezObjectOnLand(), LLToolDragAndDrop::dad3dRezObjectOnObject(), LLToolDragAndDrop::dad3dTextureObject(), LLToolDragAndDrop::dad3dWearItem(), LLGestureManager::deactivateGesture(), LLGestureManager::deactivateSimilarGestures(), LLInventoryModel::deleteFromServer(), deliver_message(), derez_objects(), LLSelectMgr::deselectObjectAndFamily(), LLSelectMgr::deselectObjectOnly(), LLWorld::disconnectRegions(), LLAppViewer::disconnectViewer(), LLOutfitObserver::done(), LLFloaterTopObjects::doToObjects(), LLViewerObject::doUpdateInventory(), LLFolderBridge::dragItemIntoFolder(), LLCallingCardBridge::dragOrDrop(), LLVoiceRemoteCtrl::draw(), LLFloaterIMPanel::draw(), LLPanelEditWearable::draw(), LLToolDragAndDrop::dropInventory(), LLToolDragAndDrop::dropObject(), LLToolDragAndDrop::dropScript(), enable_detach(), enable_region_owner(), enable_save_into_inventory(), enable_take(), LLInventoryFetchComboObserver::fetch(), LLViewerInventoryCategory::fetchDescendents(), LLViewerInventoryItem::fetchFromServer(), LLViewerObject::fetchInventoryFromServer(), LLInventoryFetchObserver::fetchItems(), LLFloaterAvatarPicker::find(), LLFloaterTexturePicker::findItemID(), LLFloaterLandmark::findItemID(), LLPanelAvatar::finishFreeze(), LLPanelAvatar::finishKick(), LLPanelGridTools::finishKick(), LLPanelAvatar::finishUnfreeze(), LLPanelGridTools::flushMapVisibilityCachesConfirm(), forceReleaseControls(), friendship_offer_callback(), LLItemBridge::getLabelSuffix(), LLFloaterReporter::getObjectInfo(), LLItemBridge::getPermissionMask(), LLPanelObject::getState(), LLFloaterPay::give(), give_money(), LLToolDragAndDrop::giveInventory(), handle_buy_object(), handle_claim_public_land(), handle_detach_from_avatar(), handle_export_selected(), handle_force_parcel_owner_to_me(), handle_lure_callback(), handle_object_owner_self(), handle_sit_or_stand(), LLFloaterTexturePicker::handleDragAndDrop(), LLFloaterLandmark::handleDragAndDrop(), LLToolDragAndDrop::handleDropTextureProtections(), LLShowAgentProfile::handleEvent(), LLWorldCreateLandmark::handleEvent(), LLViewZoomDefault::handleEvent(), LLAvatarGiveCard::handleEvent(), LLObjectTouch::handleEvent(), LLAttachObject::handleEvent(), LLPreview::handleHover(), LLToolGrab::handleHoverActive(), LLFloaterNotRunQueue::handleInventory(), LLFloaterRunQueue::handleInventory(), LLFloaterResetQueue::handleInventory(), LLFloaterCompileQueue::handleInventory(), LLPanelGroupMembersSubTab::handleMemberSelect(), heardChat(), idle_startup(), LLFloaterPostcard::init(), LLPanelClassified::initNewClassified(), LLPanelPick::initNewPick(), inventory_offer_callback(), LLFloaterBuyContents::inventoryChanged(), LLFloaterBuy::inventoryChanged(), invite_to_group(), LLToolDragAndDrop::isInventoryGiveAcceptable(), LLToolDragAndDrop::isInventoryGroupGiveAcceptable(), LLItemBridge::isItemCopyable(), LLFolderBridge::isItemRenameable(), LLItemBridge::isItemRenameable(), LLViewerParcelMgr::isParcelModifiableByAgent(), LLViewerParcelMgr::isParcelOwnedByAgent(), isWearableCopyable(), isWearableModifiable(), LLFloaterReporter::LLFloaterReporter(), LLPreviewTexture::LLPreviewTexture(), LLLiveLSLEditor::loadAsset(), LLPreviewLSL::loadAsset(), LLPreviewNotecard::loadAsset(), LLPanelEstateCovenant::loadInvItem(), LLStyleMap::lookup(), makeNewOutfit(), LLInventoryModel::messageUpdateCore(), LLToolBrushLand::modifyLandAtPointGlobal(), LLToolBrushLand::modifyLandInSelectionGlobal(), move_inv_category_world_to_agent(), LLViewerObject::moveInventory(), near_sit_object(), object_is_wearable(), LLPreview::onBtnCopyToInv(), LLFloaterLandmark::onBtnNew(), LLPanelEditWearable::onBtnRandomize(), LLFloaterBuyContents::onClickBuy(), LLFloaterBuy::onClickBuy(), LLPanelPermissions::onClickClaim(), LLPanelDirClassified::onClickCreateNewClassified(), LLPanelDirClassified::onClickDelete(), LLPanelPermissions::onClickGroup(), LLFloaterGesture::onClickNew(), LLPanelContents::onClickNewScript(), LLFloaterAuction::onClickOK(), LLPanelLandObjects::onClickRefresh(), LLPanelGroupNotices::onClickRefreshNotices(), LLFloaterTelehub::onClickRemoveSpawnPoint(), LLPanelLandObjects::onClickReturnOtherObjects(), LLPanelLandObjects::onClickReturnOwnerObjects(), LLPanelLandGeneral::onClickSetGroup(), LLFloaterIMPanel::onClose(), LLPreview::onCommit(), LLFloaterProperties::onCommitPermissions(), LLPanelActiveSpeakers::onDoubleClickSpeaker(), LLPanelRegionGeneralInfo::onKickAllCommit(), LLPanelRegionGeneralInfo::onKickCommit(), LLGestureManager::onLoadComplete(), LLPanelRegionGeneralInfo::onMessageCommit(), LLFloaterTopObjects::onRefresh(), LLLiveLSLEditor::onReset(), LLLiveLSLEditor::onRunningCheckboxClicked(), LLPanelRegionTools::onSaveState(), LLPanelEditWearable::onSelectAutoWearOption(), LLFloaterTexturePicker::onSelectionChange(), LLFloaterLandmark::onSelectionChange(), LLPanelGroupNotices::onSelectNotice(), LLFloaterTexturePicker::onTextureSelect(), open_offer(), LLWearableBridge::openItem(), LLGiveable::operator()(), LLDropCopyableItems::operator()(), LLUncopyableItems::operator()(), LLDroppableItem::operator()(), LLUniqueBuddyCollector::operator()(), LLBuddyCollector::operator()(), LLSelectMgr::packAgentAndSessionAndGroupID(), LLSelectMgr::packAgentAndSessionID(), LLSelectMgr::packAgentGroupAndCatID(), LLSelectMgr::packAgentID(), LLSelectMgr::packAgentIDAndSessionAndAttachment(), LLHUDEffect::packData(), LLSelectMgr::packDeleteHeader(), LLSelectMgr::packDeRezHeader(), LLSelectMgr::packDuplicateOnRayHead(), LLSelectMgr::packGodlikeHead(), LLSelectMgr::packHingeHead(), LLSelectMgr::packOwnerHead(), LLSelectMgr::packPermissionsHead(), packRoleUpdateMessageBlock(), LLViewerObject::parameterChanged(), LLFolderBridge::pasteFromClipboard(), LLObjectBridge::performAction(), LLCallingCardBridge::performAction(), LLPanelDirLand::performQuery(), LLPanelDirClassified::performQuery(), LLPanelDirEvents::performQueryOrDelete(), LLToolPie::pickAndShowMenu(), LLPanelAvatarFirstLife::postBuild(), LLPanelAvatarSecondLife::postBuild(), process_agent_movement_complete(), process_chat_from_simulator(), process_covenant_reply(), process_crossed_region(), process_enable_simulator(), process_generic_message(), process_grant_godlike_powers(), process_improved_im(), process_initiate_download(), process_logout_reply(), process_teleport_finish(), process_teleport_local(), process_teleport_progress(), process_user_info_reply(), LLFloaterAvatarPicker::processAvatarPickerReply(), LLInventoryModel::processBulkUpdateInventory(), LLAvatarTracker::processChange(), LLPanelClassified::processClassifiedInfoReply(), LLPanelDirBrowser::processDirClassifiedReply(), LLPanelGroupLandMoney::processGroupAccountDetailsReply(), LLPanelGroupLandMoney::processGroupAccountSummaryReply(), LLPanelGroupLandMoney::processGroupAccountTransactionsReply(), LLPanelGroupVoting::impl::processGroupActiveProposalItemReply(), LLGroupMgr::processGroupMembersReply(), LLGroupMgr::processGroupPropertiesReply(), LLGroupMgr::processGroupRoleDataReply(), LLGroupMgr::processGroupRoleMembersReply(), LLGroupMgr::processGroupTitlesReply(), LLPanelGroupVoting::impl::processGroupVoteHistoryItemReply(), LLInventoryModel::processInventoryDescendents(), LLInventoryModel::processMoveInventoryItem(), LLMuteList::processMuteListUpdate(), LLPanelPick::processPickInfoReply(), LLInventoryModel::processRemoveInventoryFolder(), LLInventoryModel::processRemoveInventoryItem(), LLInventoryModel::processSaveAssetIntoInventory(), LLInventoryModel::processUpdateInventoryFolder(), LLMuteList::processUseCachedMuteList(), LLInventoryModel::purgeDescendentsOf(), queryWearableCache(), LLViewerParcelMgr::reclaimParcel(), LLPreviewGesture::refresh(), LLPanelPick::refresh(), LLPanelPermissions::refresh(), LLPanelLandInfo::refresh(), LLPanelClassified::refresh(), LLPanelAvatarPicks::refresh(), LLPanelAvatarClassified::refresh(), LLPanelLandCovenant::refresh(), LLPanelLandGeneral::refresh(), LLPreview::refreshFromItem(), LLPanelEstateCovenant::refreshFromRegion(), LLPanelEstateInfo::refreshFromRegion(), LLPanelRegionTerrainInfo::refreshFromRegion(), LLPanelActiveSpeakers::refreshSpeakers(), LLEventNotifier::remove(), remove_inventory_category_from_avatar_step2(), LLInvFVBridge::removeBatchNoCheck(), LLViewerInventoryCategory::removeFromServer(), LLViewerInventoryItem::removeFromServer(), LLViewerObject::removeInventory(), request_initial_instant_messages(), LLViewerRegion::requestCacheMisses(), LLGroupMoneyPlanningTabEventHandler::requestData(), LLGroupMoneySalesTabEventHandler::requestData(), LLGroupMoneyDetailsTabEventHandler::requestData(), requestEnterGodMode(), LLViewerParcelMgr::requestHoverParcelProperties(), requestLeaveGodMode(), LLSelectMgr::requestObjectPropertiesFamily(), LLFloaterRegionInfo::requestRegionInfo(), LLPanelAvatar::resetGroupList(), LLInventoryModel::fetchDescendentsResponder::result(), LLPermissionsView::revokePermissions(), LLFloaterBuyLandUI::runWebSitePrep(), LLViewerObject::saveScript(), saveWearableAs(), script_question_cb(), script_question_decline_cb(), LLViewerParcelMgr::selectCollisionParcel(), LLSelectMgr::selectionSetImage(), LLViewerParcelMgr::selectLand(), LLSelectMgr::selectObjectOnly(), send_agent_update(), send_chat_from_viewer(), send_complete_agent_movement(), send_generic_message(), send_improved_im(), send_other_clean_time_message(), send_parcel_select_objects(), send_places_query(), send_return_objects_message(), send_sim_wide_deletes(), send_start_session_messages(), sendAgentDataUpdateRequest(), sendAgentSetAppearance(), sendAgentWearablesRequest(), sendAgentWearablesUpdate(), sendAnimationRequest(), sendAnimationRequests(), LLPanelAvatar::sendAvatarNotesUpdate(), LLPanelAvatar::sendAvatarPropertiesRequest(), LLPanelAvatar::sendAvatarPropertiesUpdate(), LLPanelEstateCovenant::sendChangeCovenantID(), LLPanelClassified::sendClassifiedInfoRequest(), LLPanelClassified::sendClassifiedInfoUpdate(), LLGroupMgr::sendCreateGroupRequest(), LLPanelDirBrowser::sendDirFindQuery(), LLHUDManager::sendEffects(), LLPanelEstateInfo::sendEstateAccessDelta(), LLPanelRegionInfo::sendEstateOwnerMessage(), LLPanelEvent::sendEventInfoRequest(), LLFloaterGodTools::sendGodUpdateRegionInfo(), LLGroupMgr::sendGroupMemberEjects(), LLGroupMgr::sendGroupMemberInvites(), LLGroupMgr::sendGroupMemberJoin(), LLGroupMgr::sendGroupMembersRequest(), LLGroupMgr::sendGroupPropertiesRequest(), LLPanelGroupVoting::impl::sendGroupProposalBallot(), LLPanelGroupVoting::impl::sendGroupProposalsRequest(), LLGroupMgr::sendGroupRoleDataRequest(), LLGroupMgr::sendGroupRoleMemberChanges(), LLGroupMgr::sendGroupRoleMembersRequest(), LLGroupMgr::sendGroupTitlesRequest(), LLGroupMgr::sendGroupTitleUpdate(), LLPanelGroupVoting::impl::sendGroupVoteHistoryRequest(), LLWorldMap::sendItemRequest(), LLAppViewer::sendLogoutRequest(), LLWorldMap::sendMapBlockRequest(), LLWorldMap::sendMapLayerRequest(), LLViewerObject::sendMaterialUpdate(), LLFloaterIMPanel::sendMsg(), LLWorldMap::sendNamedRegionRequest(), LLViewerParcelMgr::sendParcelAccessListRequest(), LLViewerParcelMgr::sendParcelAccessListUpdate(), LLViewerParcelMgr::sendParcelDeed(), LLViewerParcelMgr::sendParcelDwellRequest(), LLViewerParcelMgr::sendParcelGodForceToContent(), LLPanelPlace::sendParcelInfoRequest(), LLViewerParcelMgr::sendParcelPropertiesUpdate(), LLViewerParcelMgr::sendParcelRelease(), LLPanelPick::sendPickInfoUpdate(), LLFloaterGodTools::sendRegionInfoRequest(), LLFloaterReporter::sendReportViaLegacy(), LLPanelRequestTools::sendRequest(), LLTextureFetch::sendRequestListToSimulators(), LLPanelFriends::sendRightsGrant(), LLViewerObject::sendRotationUpdate(), LLViewerWindow::sendShapeToSim(), LLViewerObject::sendShapeUpdate(), LLPanelGroupVoting::impl::sendStartGroupProposal(), LLViewerObject::sendTEUpdate(), LLViewerThrottleGroup::sendToSim(), LLFloaterIMPanel::sendTypingState(), LLGroupMgr::sendUpdateGroupInfo(), sendWalkRun(), session_starter_helper(), LLPanelAvatar::setAvatarID(), LLFloaterTexturePicker::setImageID(), LLTracker::setLandmarkVisited(), LLPanelAvatar::setOnlineStatus(), LLVoiceChannelP2P::setSessionHandle(), setStartPosition(), LLFloaterIMPanel::setTyping(), LLPanelAvatarWeb::setWebURL(), LLFloaterPreference::show(), LLCurrencyUIManager::Impl::startCurrencyBuy(), LLTaskCategoryBridge::startDrag(), LLTaskInvFVBridge::startDrag(), LLToolGrab::startGrab(), LLToolGrab::startSpin(), LLToolGrab::stopGrab(), LLToolGrab::stopSpin(), teleportCancel(), teleportRequest(), teleportViaLandmark(), teleportViaLocation(), teleportViaLure(), LLAvatarTracker::terminateBuddy(), LLAvatarTracker::track(), LLHUDEffectSpiral::triggerLocal(), ui_audio_callback(), LLToolBrushLand::undo(), LLViewerRegion::unpackRegionHandshake(), LLAvatarTracker::untrack(), update_fov(), update_group_floaters(), LLMuteList::updateAdd(), LLMorphView::updateCamera(), LLFloaterBuyLandUI::updateCovenantInfo(), LLCurrencyUIManager::Impl::updateCurrencyInfo(), LLViewerObject::updateFlags(), LLViewerObject::updateInventory(), LLFloaterBuyLandUI::updateParcelInfo(), LLViewerInventoryCategory::updateParentOnServer(), LLViewerInventoryItem::updateParentOnServer(), LLMuteList::updateRemove(), LLViewerInventoryCategory::updateServer(), LLViewerInventoryItem::updateServer(), LLHoverView::updateText(), LLFloaterBuyLandUI::updateWebSiteInfo(), upload_done_callback(), LLFloaterPostcard::uploadCallback(), LLNewAgentInventoryResponder::uploadComplete(), userRemoveAllAttachments(), velocity_interpolate(), wear_inventory_category_on_avatar_step2(), LLWearableBridge::wearOnAvatar(), and LLToolDragAndDrop::willObjectAcceptInventory().
const LLUUID& LLAgent::getSessionID | ( | ) | const [inline] |
Definition at line 239 of file llagent.h.
References gAgentSessionID.
Referenced by LLPanelGroups::activate(), LLGestureManager::activateGestures(), LLEventNotifier::add(), LLToolPlacer::addObject(), addWearableToAgentInventory(), LLPrefsIMImpl::apply(), LLInventoryModel::buildParentChildMap(), busy_message(), LLViewerParcelMgr::buyPass(), callback_eject(), callback_freeze(), callback_god_force_owner(), callback_leave_group(), callback_script_dialog(), LLPanelAvatarPicks::callbackDelete(), LLPanelAvatarClassified::callbackDelete(), LLViewerParcelMgr::callbackDivideLand(), LLViewerParcelMgr::callbackJoinLand(), LLPanelGroups::callbackLeaveGroup(), callingcard_offer_callback(), LLTaskInvFVBridge::commitBuyItem(), LLPanelEstateInfo::commitEstateInfoDataserver(), LLToolDragAndDrop::commitGiveInventoryCategory(), LLToolDragAndDrop::commitGiveInventoryItem(), confirm_replace_attachment_rez(), container_inventory_arrived(), copy_inventory_item(), create_new_landmark(), LLInventoryModel::createNewCategory(), LLInventoryPanel::createNewItem(), LLFolderBridge::createWearable(), LLGestureManager::deactivateGesture(), LLGestureManager::deactivateSimilarGestures(), LLInventoryModel::deleteFromServer(), deliver_message(), derez_objects(), LLSelectMgr::deselectObjectAndFamily(), LLSelectMgr::deselectObjectOnly(), LLWorld::disconnectRegions(), LLFloaterTopObjects::doToObjects(), LLToolDragAndDrop::dropObject(), LLInventoryFetchComboObserver::fetch(), LLViewerInventoryCategory::fetchDescendents(), LLViewerInventoryItem::fetchFromServer(), LLViewerObject::fetchInventoryFromServer(), LLInventoryFetchObserver::fetchItems(), LLFloaterAvatarPicker::find(), LLPanelAvatar::finishFreeze(), LLPanelAvatar::finishKick(), LLPanelGridTools::finishKick(), LLPanelAvatar::finishUnfreeze(), LLPanelGridTools::flushMapVisibilityCachesConfirm(), forceReleaseControls(), friendship_offer_callback(), LLFloaterReporter::getObjectInfo(), LLPanelDirFind::getSearchURLSuffix(), LLFloaterPay::give(), give_money(), handle_claim_public_land(), handle_detach_from_avatar(), handle_lure_callback(), handle_sit_or_stand(), LLWorldCreateLandmark::handleEvent(), LLViewZoomDefault::handleEvent(), LLAvatarGiveCard::handleEvent(), LLObjectTouch::handleEvent(), LLToolGrab::handleHoverActive(), LLFloaterNotRunQueue::handleInventory(), LLFloaterRunQueue::handleInventory(), LLFloaterResetQueue::handleInventory(), LLFloaterCompileQueue::handleInventory(), idle_startup(), LLFloaterPostcard::init(), inventory_offer_callback(), LLFloaterReporter::LLFloaterReporter(), LLLiveLSLEditor::loadAsset(), LLPreviewLSL::loadAsset(), LLPreviewNotecard::loadAsset(), LLPanelEstateCovenant::loadInvItem(), makeNewOutfit(), LLToolBrushLand::modifyLandAtPointGlobal(), LLToolBrushLand::modifyLandInSelectionGlobal(), LLViewerObject::moveInventory(), near_sit_object(), LLFloaterLandmark::onBtnNew(), LLPanelDirClassified::onClickDelete(), LLFloaterGesture::onClickNew(), LLFloaterAuction::onClickOK(), LLPanelLandObjects::onClickRefresh(), LLPanelGroupNotices::onClickRefreshNotices(), LLFloaterTelehub::onClickRemoveSpawnPoint(), LLFloaterIMPanel::onClose(), LLGestureManager::onLoadComplete(), LLFloaterTopObjects::onRefresh(), LLLiveLSLEditor::onReset(), LLLiveLSLEditor::onRunningCheckboxClicked(), LLPanelRegionTools::onSaveState(), LLPanelEditWearable::onSelectAutoWearOption(), LLPanelGroupNotices::onSelectNotice(), LLSelectMgr::packAgentAndSessionAndGroupID(), LLSelectMgr::packAgentAndSessionID(), LLSelectMgr::packAgentGroupAndCatID(), LLSelectMgr::packAgentIDAndSessionAndAttachment(), LLSelectMgr::packDeleteHeader(), LLSelectMgr::packDeRezHeader(), LLSelectMgr::packDuplicateOnRayHead(), LLSelectMgr::packGodlikeHead(), LLSelectMgr::packHingeHead(), LLSelectMgr::packOwnerHead(), LLSelectMgr::packPermissionsHead(), packRoleUpdateMessageBlock(), LLViewerObject::parameterChanged(), LLPanelDirLand::performQuery(), LLPanelDirClassified::performQuery(), LLPanelDirEvents::performQueryOrDelete(), process_agent_movement_complete(), process_covenant_reply(), process_crossed_region(), process_enable_simulator(), process_grant_godlike_powers(), process_improved_im(), process_logout_reply(), process_teleport_finish(), LLInventoryModel::purgeDescendentsOf(), queryWearableCache(), LLViewerParcelMgr::reclaimParcel(), LLPanelLandCovenant::refresh(), LLPanelEstateCovenant::refreshFromRegion(), LLEventNotifier::remove(), LLInvFVBridge::removeBatchNoCheck(), LLViewerInventoryCategory::removeFromServer(), LLViewerInventoryItem::removeFromServer(), LLViewerObject::removeInventory(), request_initial_instant_messages(), LLViewerRegion::requestCacheMisses(), LLGroupMoneyPlanningTabEventHandler::requestData(), LLGroupMoneySalesTabEventHandler::requestData(), LLGroupMoneyDetailsTabEventHandler::requestData(), requestEnterGodMode(), LLMuteList::requestFromServer(), LLViewerParcelMgr::requestHoverParcelProperties(), requestLeaveGodMode(), LLSelectMgr::requestObjectPropertiesFamily(), LLFloaterRegionInfo::requestRegionInfo(), LLPermissionsView::revokePermissions(), LLFloaterBuyLandUI::runWebSitePrep(), LLViewerObject::saveScript(), script_question_cb(), script_question_decline_cb(), LLViewerParcelMgr::selectCollisionParcel(), LLViewerParcelMgr::selectLand(), LLSelectMgr::selectObjectOnly(), send_agent_update(), send_chat_from_viewer(), send_complete_agent_movement(), send_generic_message(), send_improved_im(), send_other_clean_time_message(), send_parcel_select_objects(), send_places_query(), send_return_objects_message(), send_sim_wide_deletes(), sendAgentDataUpdateRequest(), sendAgentSetAppearance(), sendAgentWearablesRequest(), sendAgentWearablesUpdate(), sendAnimationRequest(), sendAnimationRequests(), LLPanelAvatar::sendAvatarNotesUpdate(), LLPanelAvatar::sendAvatarPropertiesRequest(), LLPanelAvatar::sendAvatarPropertiesUpdate(), LLPanelEstateCovenant::sendChangeCovenantID(), LLPanelClassified::sendClassifiedInfoRequest(), LLPanelClassified::sendClassifiedInfoUpdate(), LLGroupMgr::sendCreateGroupRequest(), LLPanelDirBrowser::sendDirFindQuery(), LLHUDManager::sendEffects(), LLPanelEstateInfo::sendEstateAccessDelta(), LLPanelRegionInfo::sendEstateOwnerMessage(), LLPanelEvent::sendEventInfoRequest(), LLFloaterGodTools::sendGodUpdateRegionInfo(), LLGroupMgr::sendGroupMemberEjects(), LLGroupMgr::sendGroupMemberInvites(), LLGroupMgr::sendGroupMemberJoin(), LLGroupMgr::sendGroupMembersRequest(), LLGroupMgr::sendGroupPropertiesRequest(), LLPanelGroupVoting::impl::sendGroupProposalBallot(), LLPanelGroupVoting::impl::sendGroupProposalsRequest(), LLGroupMgr::sendGroupRoleDataRequest(), LLGroupMgr::sendGroupRoleMemberChanges(), LLGroupMgr::sendGroupRoleMembersRequest(), LLGroupMgr::sendGroupTitlesRequest(), LLGroupMgr::sendGroupTitleUpdate(), LLPanelGroupVoting::impl::sendGroupVoteHistoryRequest(), LLWorldMap::sendItemRequest(), LLAppViewer::sendLogoutRequest(), LLWorldMap::sendMapBlockRequest(), LLWorldMap::sendMapLayerRequest(), LLViewerObject::sendMaterialUpdate(), LLWorldMap::sendNamedRegionRequest(), LLViewerParcelMgr::sendParcelAccessListRequest(), LLViewerParcelMgr::sendParcelAccessListUpdate(), LLViewerParcelMgr::sendParcelDeed(), LLViewerParcelMgr::sendParcelDwellRequest(), LLViewerParcelMgr::sendParcelGodForceToContent(), LLPanelPlace::sendParcelInfoRequest(), LLViewerParcelMgr::sendParcelPropertiesUpdate(), LLViewerParcelMgr::sendParcelRelease(), LLPanelPick::sendPickInfoUpdate(), LLFloaterGodTools::sendRegionInfoRequest(), LLFloaterReporter::sendReportViaLegacy(), LLPanelRequestTools::sendRequest(), LLTextureFetch::sendRequestListToSimulators(), LLPanelFriends::sendRightsGrant(), LLViewerObject::sendRotationUpdate(), LLViewerWindow::sendShapeToSim(), LLViewerObject::sendShapeUpdate(), LLPanelGroupVoting::impl::sendStartGroupProposal(), LLViewerObject::sendTEUpdate(), LLViewerThrottleGroup::sendToSim(), LLFloaterIMPanel::sendTypingState(), LLGroupMgr::sendUpdateGroupInfo(), sendWalkRun(), session_starter_helper(), LLTracker::setLandmarkVisited(), setStartPosition(), LLFloaterPreference::show(), LLToolGrab::startGrab(), LLToolGrab::startSpin(), LLToolGrab::stopGrab(), LLToolGrab::stopSpin(), teleportCancel(), teleportRequest(), teleportViaLandmark(), teleportViaLocation(), teleportViaLure(), LLAvatarTracker::terminateBuddy(), LLAvatarTracker::track(), LLToolBrushLand::undo(), LLViewerRegion::unpackRegionHandshake(), LLAvatarTracker::untrack(), update_fov(), LLMuteList::updateAdd(), LLFloaterBuyLandUI::updateCovenantInfo(), LLViewerObject::updateFlags(), LLViewerObject::updateInventory(), LLViewerInventoryCategory::updateParentOnServer(), LLViewerInventoryItem::updateParentOnServer(), LLMuteList::updateRemove(), LLViewerInventoryCategory::updateServer(), LLViewerInventoryItem::updateServer(), upload_done_callback(), LLFloaterPostcard::uploadCallback(), LLNewAgentInventoryResponder::uploadComplete(), userRemoveAllAttachments(), velocity_interpolate(), and wear_inventory_category_on_avatar_step2().
const LLUUID& LLAgent::getSecureSessionID | ( | ) | const [inline] |
Definition at line 241 of file llagent.h.
References mSecureSessionID.
Referenced by LLFloaterCompileQueue::compile(), LLWearableList::createCopy(), LLWearableList::createCopyFromAvatar(), LLWearableList::createNewWearable(), LLWearableList::createWearableMatchedToInventoryItem(), LLWearable::LLWearable(), LLFloaterAuction::onClickSnapshot(), LLFloaterAnimPreview::postBuild(), LLTexLayerSetBuffer::readBackAndUpload(), LLFloaterBuyLandUI::runWebSitePrep(), LLLiveLSLEditor::saveIfNeeded(), LLPreviewLSL::saveIfNeeded(), LLPreviewNotecard::saveIfNeeded(), LLPreviewGesture::saveIfNeeded(), LLSnapshotLivePreview::saveTexture(), LLFloaterPostcard::sendPostcard(), LLCurrencyUIManager::Impl::startCurrencyBuy(), LLViewerAssetStorage::storeAssetData(), LLFloaterReporter::takeScreenshot(), LLCurrencyUIManager::Impl::updateCurrencyInfo(), LLFloaterBuyLandUI::updateWebSiteInfo(), upload_new_resource(), LLLiveLSLEditor::uploadAssetLegacy(), and LLPreviewLSL::uploadAssetLegacy().
BOOL LLAgent::isGodlike | ( | ) | const |
Definition at line 4708 of file llagent.cpp.
References GOD_NOT, mAdminOverride, mGodLevel, and TRUE.
Referenced by LLPanelEstateInfo::accessCoreConfirm(), LLIMMgr::addMessage(), LLViewerParcelMgr::agentCanBuild(), all_estates_text(), LLSelectNode::allowOperationOnNode(), calcCameraPositionTargetGlobal(), LLPanelAvatarPicks::callbackDelete(), canFly(), LLViewerRegion::canManageEstate(), LLFloaterCompileQueue::compile(), derez_objects(), LLFloaterWorldMap::draw(), enable_land_build(), enable_object_build(), enable_save_into_inventory(), enable_take(), LLFloaterWorldMap::friendsChanged(), LLInvFVBridge::getClipboardEntries(), LLPanelObject::getState(), LLPanelContents::getState(), handle_god_request_avatar_geometry(), handle_god_request_havok(), handle_lure(), handle_object_asset_ids(), handle_object_owner_permissive(), handle_object_owner_self(), LLWorldMapView::handleClick(), LLWorldEnableTeleportHome::handleEvent(), LLWorldEnableSetHomeLocation::handleEvent(), LLWorldEnableCreateLandmark::handleEvent(), LLToolsEnableTakeCopy::handleEvent(), LLAttachmentEnableDrop::handleEvent(), LLObjectEnableDelete::handleEvent(), LLObjectEnableReturn::handleEvent(), LLAvatarEnableDebug::handleEvent(), LLAvatarVisibleDebug::handleEvent(), LLEnableEdit::handleEvent(), LLTaskInvFVBridge::isItemRenameable(), LLViewerParcelMgr::isParcelModifiableByAgent(), LLViewerParcelMgr::isParcelOwnedByAgent(), LLPanelGroupRoles::isVisibleByAgent(), LLLiveLSLEditor::loadAsset(), LLPreviewLSL::loadAsset(), LLPreviewNotecard::loadAsset(), LLPanelObjectTools::onApplyChanges(), LLPanelRegionTools::onApplyChanges(), LLPanelObjectTools::onChangeAnything(), LLPanelRegionTools::onChangeAnything(), LLPanelRegionTools::onChangeSimName(), LLFloaterTelehub::onClickRemoveSpawnPoint(), LLPanelObjectTools::onGetScriptDigest(), LLPanelObjectTools::onGetTopColliders(), LLPanelObjectTools::onGetTopScripts(), LLPanelRegionTools::onRefresh(), LLPanelRegionTools::onSaveState(), LLTaskAnimationBridge::openItem(), LLTaskNotecardBridge::openItem(), LLTaskLSLBridge::openItem(), LLDispatchEstateUpdateInfo::operator()(), process_improved_im(), process_teleport_finish(), LLFloaterRegionInfo::processEstateOwnerRequest(), LLFloaterRegionInfo::processRegionInfo(), LLFloaterGodTools::processRegionInfo(), LLPanelPick::refresh(), LLPanelLandInfo::refresh(), LLPanelDirEvents::refresh(), LLPanelDirClassified::refresh(), LLPanelClassified::refresh(), LLPanelLandGeneral::refresh(), LLPanelEstateInfo::refreshFromRegion(), LLPanelRegionTerrainInfo::refreshFromRegion(), LLPanelRegionTextureInfo::refreshFromRegion(), LLPanelRegionDebugInfo::refreshFromRegion(), LLPanelRegionGeneralInfo::refreshFromRegion(), LLTracker::render3D(), LLSelectMgr::sendGodlikeRequest(), LLFloaterGodTools::sendGodUpdateRegionInfo(), LLWorldMap::sendMapLayerRequest(), LLFloaterIMPanel::sendMsg(), LLPanelAvatar::setAvatarID(), LLPanelAvatar::setOnlineStatus(), LLFloaterWorldMap::trackAvatar(), LLFloaterWorldMap::updateLocation(), LLLiveLSLEditor::uploadAssetLegacy(), LLPreviewLSL::uploadAssetLegacy(), and LLWorldMapView::viewPosToGlobal().
U8 LLAgent::getGodLevel | ( | ) | const |
Definition at line 4718 of file llagent.cpp.
References GOD_FULL, GOD_MAINTENANCE, mAdminOverride, and mGodLevel.
Referenced by allowOperation(), enable_god_basic(), enable_god_customer_service(), enable_god_full(), enable_god_liaison(), LLViewerObject::permCopy(), LLViewerObject::permModify(), LLViewerObject::permMove(), LLViewerObject::permOwnerModify(), LLViewerObject::permTransfer(), LLViewerObject::permYouOwner(), LLPanelLandGeneral::refresh(), set_god_level(), LLViewerWindow::setNormalControlsVisible(), and show_debug_menus().
bool LLAgent::isTeen | ( | ) | const |
Definition at line 4728 of file llagent.cpp.
References mAccess, and SIM_ACCESS_MATURE.
Referenced by LLPanelGroupGeneral::apply(), LLFloaterCustomize::createWearablePanel(), LLWorldMapView::draw(), LLFloaterWorldMap::draw(), LLPanelDirFind::getSearchURLSuffix(), handle_toggle_pg(), LLMakeOutfitDialog::LLMakeOutfitDialog(), LLFloaterCustomize::onBtnMakeOutfit(), LLPanelDirLand::performQuery(), LLPanelDirEvents::performQueryOrDelete(), LLPanelGroupGeneral::postBuild(), LLPanelDirLand::postBuild(), LLPanelDirFind::postBuild(), LLPanelDirClassified::postBuild(), LLPanelClassified::postBuild(), LLPanelLandOptions::postBuild(), LLFloaterCustomize::postBuild(), LLPanelEditWearable::postBuild(), LLPanelDirEvents::refresh(), LLPanelLandOptions::refresh(), removeWearable(), set_underclothes_menu_options(), setWearableOutfit(), LLPanelGroupGeneral::update(), and wearable_can_take_off().
void LLAgent::setTeen | ( | bool | teen | ) |
Definition at line 4733 of file llagent.cpp.
References mAccess, SIM_ACCESS_MATURE, and SIM_ACCESS_PG.
Referenced by handle_toggle_pg(), and idle_startup().
BOOL LLAgent::isGroupTitleHidden | ( | ) | const [inline] |
Definition at line 250 of file llagent.h.
References mHideGroupTitle.
Referenced by send_agent_update().
BOOL LLAgent::isGroupMember | ( | ) | const [inline] |
Definition at line 251 of file llagent.h.
References LLUUID::isNull(), and mGroupID.
Referenced by buildFullnameAndTitle().
const LLUUID& LLAgent::getGroupID | ( | ) | const [inline] |
Definition at line 252 of file llagent.h.
References mGroupID.
Referenced by LLPreviewGesture::addAnimations(), LLToolPlacer::addObject(), LLPreviewGesture::addSounds(), LLViewerParcelMgr::agentCanBuild(), LLViewerParcelMgr::canAgentBuyParcel(), LLVOAvatar::canGrabLocalTexture(), LLFloaterDirectory::createGroupDetail(), LLToolDragAndDrop::dad3dRezFromObjectOnObject(), derez_objects(), LLFolderBridge::dragItemIntoFolder(), LLPanelEditWearable::draw(), LLToolDragAndDrop::dropObject(), LLPanelGroups::enableButtons(), LLFloaterTexturePicker::findItemID(), LLFloaterLandmark::findItemID(), handle_leave_group(), handle_object_owner_self(), LLPreview::handleHover(), isWearableCopyable(), isWearableModifiable(), LLLiveLSLEditor::loadAsset(), move_inv_category_world_to_agent(), LLPanelEditWearable::onBtnRandomize(), LLPanelPermissions::onClickClaim(), LLFloaterProperties::onCommitPermissions(), LLSelectMgr::packAgentGroupAndCatID(), LLSelectMgr::packDeRezHeader(), LLSelectMgr::packDuplicateHeader(), LLSelectMgr::packDuplicateOnRayHead(), LLAgentDropGroupViewerNode::post(), LLPanelGroups::postBuild(), LLFloaterGroupPicker::postBuild(), processAgentDropGroup(), LLSelectMgr::redo(), LLPanelGroups::reset(), LLFloaterBuyLandUI::runWebSitePrep(), LLViewerObject::saveScript(), LLFloaterGroupInfo::showMyGroupInfo(), LLSelectMgr::undo(), and LLFloaterBuyLandUI::updateParcelInfo().
ECameraMode LLAgent::getCameraMode | ( | ) | const [inline] |
Definition at line 253 of file llagent.h.
References mCameraMode.
Referenced by LLVOAvatar::attachObject(), cameraOrbitIn(), display_update_camera(), LLWearableBridge::editOnAvatar(), handle_reset_view(), LLViewEnableMouselook::handleEvent(), LLToolCamera::handleMouseUp(), LLViewerWindow::handleRightMouseDown(), LLToolCamera::pickCallback(), LLVOAvatar::restoreMeshData(), update_statistics(), updateLookAt(), and LLVOAvatar::updateShadowFaces().
BOOL LLAgent::getFocusOnAvatar | ( | ) | const [inline] |
Definition at line 254 of file llagent.h.
References mFocusOnAvatar.
Referenced by handle_focus(), handle_move(), LLLandEdit::handleEvent(), LLLandBuild::handleEvent(), LLObjectEdit::handleEvent(), LLObjectBuild::handleEvent(), LLToolGrab::handleHoverActive(), LLToolSelect::handleObjectSelection(), handleScrollWheel(), toggle_build_mode(), and unlockView().
LLPointer<LLViewerObject>& LLAgent::getFocusObject | ( | ) | [inline] |
Definition at line 255 of file llagent.h.
References mFocusObject.
Referenced by LLViewerObjectList::updateApparentAngles().
F32 LLAgent::getFocusObjectDist | ( | ) | const [inline] |
BOOL LLAgent::inPrelude | ( | ) |
Definition at line 936 of file llagent.cpp.
References LLViewerRegion::isPrelude(), and mRegionp.
Referenced by enable_land_build(), enable_object_build(), LLEnableEdit::handleEvent(), process_mean_collision_alert_message(), and LLPanelAvatar::setOnlineStatus().
BOOL LLAgent::canManageEstate | ( | ) | const |
Definition at line 946 of file llagent.cpp.
References LLViewerRegion::canManageEstate(), and mRegionp.
Referenced by LLPanelEstateCovenant::handleDragAndDrop(), LLPanelEstateCovenant::postBuild(), LLPanelLandInfo::refresh(), LLPanelLandGeneral::refresh(), and LLViewerParcelMgr::startReleaseLand().
BOOL LLAgent::getAdminOverride | ( | ) | const [inline] |
Definition at line 259 of file llagent.h.
References mAdminOverride.
Referenced by check_admin_override(), and handle_admin_override_toggle().
LLUUID LLAgent::getLastChatter | ( | ) | const [inline] |
Definition at line 261 of file llagent.h.
References mLastChatterID.
Referenced by LLViewEnableLastChatter::handleEvent().
bool LLAgent::getAlwaysRun | ( | ) | const [inline] |
Definition at line 262 of file llagent.h.
References mbAlwaysRun.
Referenced by agent_handle_doubletap_run(), LLWorldCheckAlwaysRun::handleEvent(), LLWorldAlwaysRun::handleEvent(), and process_agent_movement_complete().
bool LLAgent::getRunning | ( | ) | const [inline] |
Definition at line 263 of file llagent.h.
References mbRunning.
Referenced by agent_handle_doubletap_run(), and process_agent_movement_complete().
const LLUUID& LLAgent::getInventoryRootID | ( | ) | const [inline] |
Definition at line 265 of file llagent.h.
References mInventoryRootID.
Referenced by LLPreviewGesture::addAnimations(), LLPreviewGesture::addSounds(), LLFloaterClothing::buildClothingList(), LLFloaterWorldMap::buildLandmarkIDLists(), LLInventoryModel::buildParentChildMap(), container_inventory_arrived(), LLAppViewer::disconnectViewer(), do_create(), LLOutfitObserver::done(), LLInventoryModel::findCategoryUUIDForType(), LLInventoryModel::findCatUUID(), LLAttachObject::handleEvent(), LLFolderViewItem::handleHover(), LLFloaterTexturePicker::handleKeyHere(), LLFloaterLandmark::handleKeyHere(), LLInvFVBridge::isAgentInventory(), LLInvFVBridge::isClipboardPasteable(), LLInventoryModel::isInventoryUsable(), LLFolderBridge::isItemRemovable(), LLInvFVBridge::isItemRemovable(), LLPreviewLSL::loadAsset(), LLFloaterOpenObject::moveToInventory(), LLObjectBridge::performAction(), LLFolderView::sanitizeSelection(), LLInventoryModel::startBackgroundFetch(), and wear_outfit_by_name().
void LLAgent::buildFullname | ( | std::string & | name | ) | const |
Definition at line 4745 of file llagent.cpp.
References mAvatarObject.
Referenced by busy_message(), LLToolDragAndDrop::commitGiveInventoryCategory(), LLToolDragAndDrop::commitGiveInventoryItem(), deliver_message(), inventory_offer_callback(), LLFloaterIMPanel::onClose(), LLPanelEstateInfo::onMessageCommit(), LLPanelRegionGeneralInfo::onMessageCommit(), LLFloaterPostcard::postBuild(), process_improved_im(), LLSnapshotLivePreview::saveTexture(), send_group_notice(), send_simple_im(), LLFloaterIMPanel::sendMsg(), LLFloaterIMPanel::sendTypingState(), session_starter_helper(), LLFloaterReporter::showFromMenu(), and LLFloaterReporter::showFromObject().
void LLAgent::buildFullnameAndTitle | ( | std::string & | name | ) | const |
Definition at line 4753 of file llagent.cpp.
References isGroupMember(), mAvatarObject, and mGroupTitle.
Definition at line 4771 of file llagent.cpp.
References LLDynamicArray< Type, BlockSize >::count(), FALSE, LLDynamicArray< Type, BlockSize >::get(), i, mGroups, LLGroupData::mID, S32, and TRUE.
Referenced by allowOperation(), LLSelectNode::allowOperationOnNode(), LLPanelContents::getState(), LLFloaterIMPanel::init(), LLIMMgr::inviteToSession(), LLPanelGroupVoting::isVisibleByAgent(), LLPanelGroupRoles::isVisibleByAgent(), LLPanelGroupLandMoney::isVisibleByAgent(), join_group_callback(), LLPreviewTexture::LLPreviewTexture(), LLPanelGroupLandMoney::postBuild(), process_places_reply(), LLPanelGroupLandMoney::impl::processGroupLand(), LLPanelLandGeneral::refresh(), LLPanelGroupVoting::impl::sendGroupProposalsRequest(), LLPanelGroupVoting::impl::sendGroupVoteHistoryRequest(), LLPanelGroupVoting::impl::setEnableHistoryItem(), LLPanelGroupVoting::impl::setEnableHistoryList(), and LLPanelGroupVoting::impl::setEnableListProposals().
Definition at line 4785 of file llagent.cpp.
References LLDynamicArray< Type, BlockSize >::count(), FALSE, LLDynamicArray< Type, BlockSize >::get(), GP_NO_POWERS, i, mGroups, LLGroupData::mID, LLGroupData::mPowers, and S32.
Referenced by LLPanelGroupNotices::activate(), LLPanelGroupInvite::impl::addRoleNames(), agentCanAddToRole(), agentCanRemoveFromRole(), allowOperation(), LLSelectNode::allowOperationOnNode(), LLPanelGroupGeneral::apply(), LLPanelGroupSubTab::buildActionCategory(), callback_deed_to_group(), LLGroupDropTarget::handleDragAndDrop(), LLPanelGroupMembersSubTab::handleMemberSelect(), LLPanelGroupRolesSubTab::handleRoleSelect(), hasPowerInActiveGroup(), LLViewerParcelMgr::isParcelOwnedByAgent(), LLPanelGroupNotices::isVisibleByAgent(), LLPanelGroupGeneral::onCommitEnrollment(), LLPanelGroupNotices::postBuild(), LLPanelGroupMembersSubTab::postBuildSubTab(), LLPanelPermissions::refresh(), LLPanelLandGeneral::refresh(), LLPanelGroupVoting::impl::sendGroupProposalBallot(), LLPanelGroupVoting::impl::sendStartGroupProposal(), LLPanelGroupVoting::impl::setEnableCreateProposal(), LLPanelGroupVoting::impl::setEnableListProposals(), LLPanelGroupVoting::impl::setEnableVoteProposal(), LLPanelGroupRolesSubTab::update(), and LLPanelGroupGeneral::update().
Definition at line 4801 of file llagent.cpp.
References hasPowerInGroup(), mGroupID, and LLUUID::notNull().
Referenced by LLFloaterBuyLand::buyLand(), LLViewerParcelMgr::canAgentBuyParcel(), and LLFloaterBuyLandUI::updateParcelInfo().
Definition at line 4806 of file llagent.cpp.
References LLDynamicArray< Type, BlockSize >::count(), LLDynamicArray< Type, BlockSize >::get(), GP_NO_POWERS, i, mGroups, LLGroupData::mID, LLGroupData::mPowers, and S32.
BOOL LLAgent::getGroupData | ( | const LLUUID & | group_id, | |
LLGroupData & | data | |||
) | const |
Definition at line 4820 of file llagent.cpp.
References LLDynamicArray< Type, BlockSize >::count(), FALSE, LLDynamicArray< Type, BlockSize >::get(), i, mGroups, LLGroupData::mID, S32, and TRUE.
Referenced by LLPanelGroupLandMoney::impl::getStoredContribution(), LLPanelGroupGeneral::postBuild(), LLGroupNotifyBox::show(), LLPanelGroups::startIM(), and LLPanelGroupGeneral::update().
Definition at line 4834 of file llagent.cpp.
References LLDynamicArray< Type, BlockSize >::count(), LLDynamicArray< Type, BlockSize >::get(), i, LLGroupData::mContribution, mGroups, LLGroupData::mID, and S32.
Referenced by LLFloaterBuyLandUI::updateParcelInfo().
BOOL LLAgent::isFirstLogin | ( | ) | const [inline] |
Definition at line 286 of file llagent.h.
References mFirstLogin.
Referenced by idle_startup().
BOOL LLAgent::isGenderChosen | ( | ) | const [inline] |
Definition at line 290 of file llagent.h.
References mGenderChosen.
Referenced by dialog_choose_gender_first_start(), and idle_startup().
void LLAgent::buildLocationString | ( | std::string & | str | ) |
Definition at line 4898 of file llagent.cpp.
References LLSingleton< LLViewerParcelMgr >::getInstance(), getName(), getPositionAgent(), getRegion(), getVelocity(), llformat(), LLVector3::magVecSquared(), LLVector3::mV, S32, VX, VY, and VZ.
Referenced by create_new_landmark(), LLWorldCreateLandmark::handleEvent(), LLFloaterLandmark::onBtnNew(), and LLSnapshotLivePreview::saveTexture().
LLQuaternion LLAgent::getHeadRotation | ( | ) |
Definition at line 4945 of file llagent.cpp.
References cameraMouselook(), LLQuaternion::DEFAULT, getAtAxis(), LLSingleton< LLViewerCamera >::getInstance(), LLCoordFrame::getLeftAxis(), LLPointer< Type >::isNull(), mAvatarObject, and mFrameAgent.
Referenced by send_agent_update().
LLVOAvatar* LLAgent::getAvatarObject | ( | ) | const [inline] |
Definition at line 296 of file llagent.h.
References mAvatarObject.
Referenced by LLToolPlacer::addObject(), LLUndoWearable::applyUndoRedo(), LLPreviewAnim::auditionAnim(), LLObjectBridge::buildContextMenu(), clearVisualParams(), LLToolDragAndDrop::commitGiveInventoryCategory(), LLToolDragAndDrop::commitGiveInventoryItem(), LLWearable::copyDataFrom(), cursor_from_object(), LLToolDragAndDrop::dad3dGiveInventoryObject(), LLToolDragAndDrop::dad3dRezAttachmentFromInv(), LLToolDragAndDrop::dad3dRezObjectOnLand(), LLToolDragAndDrop::dad3dRezObjectOnObject(), LLToolDragAndDrop::dad3dTextureObject(), display(), LLFolderBridge::dragCategoryIntoFolder(), LLManipRotate::dragConstrained(), LLFolderBridge::dragItemIntoFolder(), LLPanelEditWearable::draw(), LLToolDragAndDrop::dropInventory(), LLToolDragAndDrop::dropObject(), LLToolDragAndDrop::dropScript(), LLVOAvatar::dumpArchetypeXML(), enable_grab_texture(), LLPipeline::enableLightsDynamic(), endAnimationUpdateUI(), LLSelectMgr::getAgentHUDZoom(), LLObjectBridge::getLabelStyle(), LLObjectBridge::getLabelSuffix(), LLViewerKeyboard::getMode(), LLManip::getMousePointOnPlaneGlobal(), LLManip::getSubdivisionLevel(), LLToolDragAndDrop::giveInventoryCategory(), handle_dump_attachments(), handle_dump_avatar_local_textures(), handle_go_to(), handle_grab_texture(), handle_rebake_textures(), LLAttachmentEnableDrop::handleEvent(), LLObjectAttachToAvatar::handleEvent(), LLToolsStopAllAnimations::handleEvent(), LLWorldEnableFly::handleEvent(), LLLandSit::handleEvent(), LLSelfEnableStandUp::handleEvent(), LLSelfEnableRemoveAllAttachments::handleEvent(), LLAttachObject::handleEvent(), LLManipTranslate::handleHover(), LLToolGrab::handleHoverActive(), LLToolSelect::handleObjectSelection(), LLManipTranslate::highlightManipulators(), LLManipScale::highlightManipulators(), idle_startup(), LLMorphView::initialize(), LLWearable::isDirty(), LLToolDragAndDrop::isInventoryGiveAcceptable(), LLToolDragAndDrop::isInventoryGroupGiveAcceptable(), LLObjectBridge::isItemRemovable(), LLFolderBridge::isItemRemovable(), LLWearable::isOldVersion(), LLFloaterCustomize::LLFloaterCustomize(), LLMakeOutfitDialog::LLMakeOutfitDialog(), LLPreviewAnim::LLPreviewAnim(), LLGenePool::loadNodeArchetype(), LLViewerObject::markDead(), LLManipRotate::mouseToRay(), near_attach_object(), LLManip::nearestPointOnLineFromMouse(), LLVisualParamHint::needsRender(), LLFloaterCustomize::onBtnMakeOutfit(), LLPanelEditWearable::onBtnRandomize(), LLFloaterClothing::onClickTakeOff(), LLPreviewAnim::onClose(), LLPanelEditWearable::onColorCommit(), LLPreview::onCommit(), LLFloaterClothing::onCommitList(), LLPanelEditWearable::onCommitSexChange(), LLVOAvatar::onCustomizeEnd(), LLVOAvatar::onCustomizeStart(), LLScrollingPanelParam::onHintHeldDown(), LLScrollingPanelParam::onHintMaxMouseUp(), LLScrollingPanelParam::onHintMinMouseUp(), LLScrollingPanelParam::onHintMouseDown(), onInitialWearableAssetArrived(), LLFloaterCustomize::onMakeOutfitCommit(), LLPanelEditWearable::onSaveAsCommit(), LLPanelEditWearable::onSelectAutoWearOption(), LLScrollingPanelParam::onSliderMouseDown(), LLScrollingPanelParam::onSliderMoved(), LLPanelEditWearable::onTextureCommit(), LLTexLayerSetBuffer::onTextureUploadComplete(), LLGiveable::operator()(), LLDropCopyableItems::operator()(), LLUncopyableItems::operator()(), LLDroppableItem::operator()(), LLToolPie::pickAndShowMenu(), LLToolCamera::pickCallback(), LLPreviewAnim::playAnim(), LLVisualParamHint::preRender(), process_agent_movement_complete(), process_avatar_sit_response(), processAgentCachedTextureResponse(), processAgentInitialWearablesUpdate(), LLVOAvatar::processRebakeAvatarTextures(), LLTexLayerSetBuffer::readBackAndUpload(), LLWearable::readFromAvatar(), LLPipeline::rebuildPools(), LLToolBar::refresh(), LLOverlayBar::refresh(), LLWearable::removeFromAvatar(), LLObjectBridge::renameItem(), LLVisualParamReset::render(), LLVisualParamHint::render(), LLManipTranslate::render(), LLManipScale::render(), LLManipRotate::render(), render_ui_2d(), LLPipeline::renderForSelect(), LLViewerObjectList::renderObjectsForSelect(), LLSelectNode::renderOneSilhouette(), LLViewerWindow::renderSelections(), LLSelectMgr::renderSilhouettes(), LLManipTranslate::renderSnapGuides(), LLManipRotate::renderSnapGuides(), LLManip::renderTickText(), LLManip::renderTickValue(), LLManipTranslate::renderTranslationHandles(), request_initial_instant_messages(), LLSelectMgr::resetAgentHUDZoom(), rez_attachment(), LLSelectMgr::selectionSetImage(), LLSelectMgr::sendAttach(), LLSelectMgr::setAgentHUDZoom(), LLUndoWearable::setColor(), LLStatusBar::setHealth(), LLWearable::setParamsToDefaults(), LLPanelEditWearable::setSubpart(), setup_hud_matrices(), LLPipeline::setupHWLights(), LLUndoWearable::setWearable(), LLFloaterCustomize::setWearable(), LLMorphView::shutdown(), sitting_on_selection(), slow_mo_animations(), LLGenePool::spawn(), LLFloaterCustomize::spawnWearableAppearance(), startAutoPilotGlobal(), LLGestureManager::stepGesture(), teleportCore(), LLDebugText::update(), LLMorphView::updateCamera(), updateCamera(), LLSelectMgr::updateSelectionCenter(), LLManipScale::updateSnapGuides(), LLManipRotate::updateVisiblity(), userRemoveAllAttachments(), wear_inventory_category_on_avatar_step2(), LLToolDragAndDrop::willObjectAcceptInventory(), and LLWearable::writeToAvatar().
BOOL LLAgent::needsRenderAvatar | ( | ) |
Definition at line 2675 of file llagent.cpp.
References cameraMouselook(), FALSE, mGenderChosen, mShowAvatar, and LLVOAvatar::sVisibleInFirstPerson.
Referenced by LLVOAvatar::renderFootShadows(), LLVOAvatar::renderRigid(), and LLVOAvatar::renderSkinned().
BOOL LLAgent::needsRenderHead | ( | ) |
Definition at line 2686 of file llagent.cpp.
References cameraMouselook(), and mShowAvatar.
Referenced by LLVOAvatar::renderFootShadows(), LLVOAvatar::renderRigid(), LLVOAvatar::renderSkinned(), and LLVOAvatar::renderTransparent().
BOOL LLAgent::cameraThirdPerson | ( | ) | const [inline] |
Definition at line 301 of file llagent.h.
References CAMERA_MODE_THIRD_PERSON, mCameraMode, and mLastCameraMode.
Referenced by enable_not_thirdperson(), getCameraZoomFraction(), LLViewEnableLastChatter::handleEvent(), LLToolGrab::handleHoverInactive(), lookAtLastChat(), LLToolCamera::pickCallback(), resetView(), setCameraZoomFraction(), LLIMMgr::toggle(), updateCamera(), and updateLookAt().
BOOL LLAgent::cameraMouselook | ( | ) | const [inline] |
Definition at line 302 of file llagent.h.
References CAMERA_MODE_MOUSELOOK, mCameraMode, and mLastCameraMode.
Referenced by LLViewerWindow::alertCallback(), LLViewerWindow::alertXml(), LLViewerWindow::alertXmlEditText(), container_inventory_arrived(), derez_objects(), LLViewerWindow::draw(), LLFloaterMap::draw(), getHeadRotation(), LLViewerKeyboard::getMode(), LLFileUploadBulk::handleEvent(), LLViewMouselook::handleEvent(), LLToolGun::handleHover(), LLToolGrab::handleHoverActive(), LLToolGrab::handleObjectHit(), LLVOAvatar::idleUpdate(), LLToolMgr::inBuildMode(), leftButtonGrabbed(), load_url_local_file(), needsRenderAvatar(), needsRenderHead(), LLToolGrab::onMouseCaptureLost(), LLToolBar::refresh(), LLOverlayBar::refresh(), LLInventoryView::showAgentInventory(), LLIMMgr::toggle(), updateCamera(), LLVOAvatar::updateCharacter(), LLHoverView::updateHover(), LLVOAvatar::updateJointLODs(), updateLookAt(), and upload_pick().
BOOL LLAgent::cameraCustomizeAvatar | ( | ) | const [inline] |
Definition at line 303 of file llagent.h.
References CAMERA_MODE_CUSTOMIZE_AVATAR, and mCameraMode.
Referenced by LLHUDEffectLookAt::calcTargetPosition(), cameraZoomIn(), getCameraZoomFraction(), LLVOAvatar::invalidateComposite(), onInitialWearableAssetArrived(), LLVOAvatar::onLocalTextureLoaded(), LLTexLayerSetBuffer::onTextureUploadComplete(), processAgentCachedTextureResponse(), sendAgentSetAppearance(), setCameraZoomFraction(), LLVOAvatar::setLocalTexture(), LLVOAvatar::setLocTexTE(), updateCamera(), LLVOAvatar::updateJointLODs(), and LLVOAvatar::updateMeshTextures().
BOOL LLAgent::cameraFollow | ( | ) | const [inline] |
Definition at line 304 of file llagent.h.
References CAMERA_MODE_FOLLOW, mCameraMode, and mLastCameraMode.
LLVector3 LLAgent::getPosAgentFromGlobal | ( | const LLVector3d & | pos_global | ) | const |
Definition at line 1096 of file llagent.cpp.
References mAgentOriginGlobal, and LLVector3::setVec().
Referenced by autoPilot(), calcCameraMinDistance(), calcCameraPositionTargetGlobal(), calcFocusOffset(), LLHUDEffectPointAt::calcTargetPosition(), LLHUDEffectLookAt::calcTargetPosition(), LLManipRotate::drag(), LLManipRotate::dragConstrained(), LLManipScale::dragCorner(), LLManipScale::dragFace(), LLManipRotate::dragUnconstrained(), LLNetMap::draw(), LLTracker::drawMarker(), LLViewerRegion::getCenterAgent(), LLVOAvatar::getGround(), LLManip::getMousePointOnPlaneAgent(), LLManip::getMousePointOnPlaneGlobal(), LLViewerRegion::getOriginAgent(), LLSurfacePatch::getOriginAgent(), LLSurface::getOriginAgent(), LLVOAvatar::getPosAgentFromGlobal(), LLViewerRegion::getPosAgentFromRegion(), handle_claim_public_land(), LLManipTranslate::handleHover(), LLToolGrab::handleHoverActive(), LLManipRotate::handleMouseDownOnPart(), LLToolCamera::handleMouseUp(), LLToolGrab::handleObjectHit(), LLManipRotate::highlightManipulators(), LLPipeline::postSort(), LLManipScale::render(), LLManipRotate::render(), LLHUDEffectBeam::render(), LLTracker::renderBeacon(), LLViewerParcelMgr::renderRect(), LLManipTranslate::renderSnapGuides(), LLManipScale::renderSnapGuides(), LLManipRotate::renderSnapGuides(), LLWind::renderVectors(), LLVOAvatar::resolveHeightAgent(), LLVOAvatar::resolveHeightGlobal(), setCameraPosAndFocusGlobal(), setFocusGlobal(), LLFollowCam::setFocusLocked(), LLFollowCam::setPositionLocked(), LLManipScale::stretchFace(), LLHUDEffectSpiral::triggerLocal(), LLViewerPartSourceBeam::update(), LLFollowCam::update(), updateCamera(), LLVOAvatar::updateCharacter(), LLVOClouds::updateGeometry(), LLViewerPartSourceBeam::updatePart(), LLVOAvatar::updateShadowFaces(), LLHUDText::updateVisibility(), and LLManipRotate::updateVisiblity().
LLVector3d LLAgent::getPosGlobalFromAgent | ( | const LLVector3 & | pos_agent | ) | const |
Definition at line 1107 of file llagent.cpp.
References mAgentOriginGlobal, and LLVector3d::setVec().
Referenced by LLViewerWindow::analyzeHit(), calcCameraPositionTargetGlobal(), calcFocusOffset(), calcFocusPositionTargetGlobal(), confirm_replace_attachment(), LLManipRotate::drag(), getCameraPositionGlobal(), LLVOAvatar::getGround(), LLManip::getMousePointOnPlaneAgent(), LLManip::getMousePointOnPlaneGlobal(), LLVOAvatar::getPosGlobalFromAgent(), LLViewerObject::getPositionGlobal(), getPositionGlobal(), LLWorld::getRegionFromPosAgent(), LLManipTranslate::handleHover(), LLManipTranslate::handleMouseDownOnPart(), LLManipScale::handleMouseDownOnPart(), LLManipRotate::handleMouseDownOnPart(), lookAtLastChat(), process_avatar_sit_response(), LLVOAvatar::processSingleAnimationStateChange(), LLHUDEffectBeam::render(), LLVOAvatar::resolveHeightAgent(), LLWorld::resolveLandHeightAgent(), LLWorld::resolveRegionAgent(), LLSelectMgr::saveSelectedObjectTransform(), LLFollowCam::setFocus(), setFocusGlobal(), LLHUDEffectLookAt::setLookAt(), LLHUDEffectPointAt::setPointAt(), LLFollowCam::setPosition(), LLHUDObject::setPositionAgent(), LLHUDEffectBeam::setSourceObject(), LLHUDEffectBeam::setupParticle(), LLFloaterTopObjects::showBeacon(), LLDebugText::update(), LLFollowCam::update(), LLMorphView::updateCamera(), updateCamera(), LLVOAvatar::updateCharacter(), updateFocusOffset(), LLSelectMgr::updateSelectionCenter(), LLVOAvatar::updateShadowFaces(), and LLManipRotate::updateVisiblity().
const LLVector3& LLAgent::getAtAxis | ( | ) | const [inline] |
Definition at line 310 of file llagent.h.
References LLCoordFrame::getAtAxis(), and mFrameAgent.
Referenced by calcFocusOffset(), cameraPanIn(), getHeadRotation(), LLToolSelect::handleObjectSelection(), resetView(), toggle_build_mode(), updateCamera(), and LLVOAvatar::updateCharacter().
const LLVector3& LLAgent::getUpAxis | ( | ) | const [inline] |
Definition at line 311 of file llagent.h.
References LLCoordFrame::getUpAxis(), and mFrameAgent.
Referenced by calcCameraPositionTargetGlobal(), cameraPanUp(), LLManipRotate::render(), and updateCamera().
const LLVector3& LLAgent::getLeftAxis | ( | ) | const [inline] |
Definition at line 312 of file llagent.h.
References LLCoordFrame::getLeftAxis(), and mFrameAgent.
Referenced by LLViewerJoystick::agentRotate(), cameraOrbitOver(), cameraPanLeft(), setCameraPosAndFocusGlobal(), and updateCamera().
LLCoordFrame LLAgent::getFrameAgent | ( | ) | const [inline] |
Definition at line 314 of file llagent.h.
References mFrameAgent.
Referenced by audio_update_wind(), LLCompass::draw(), LLVOAvatar::getOffObject(), LLLandSit::handleEvent(), LLPanelLandOptions::onClickSet(), send_agent_update(), LLDebugText::update(), and LLVOTextBubble::updateTextures().
LLVector3 LLAgent::getVelocity | ( | ) | const |
Definition at line 990 of file llagent.cpp.
References mAvatarObject, and LLVector3::zero.
Referenced by audio_update_listener(), audio_update_wind(), buildLocationString(), calcCameraPositionTargetGlobal(), LLVelocityBar::draw(), getVelocityZ(), propagate(), LLStatusBar::refresh(), and LLViewerParcelMediaAutoPlay::tick().
F32 LLAgent::getVelocityZ | ( | ) | const [inline] |
Definition at line 316 of file llagent.h.
References getVelocity(), LLVector3::mV, and VZ.
const LLVector3d & LLAgent::getPositionGlobal | ( | ) | const |
Definition at line 1049 of file llagent.cpp.
References LLCoordFrame::getOrigin(), getPosGlobalFromAgent(), LLPointer< Type >::isNull(), mAvatarObject, mFrameAgent, and mPositionGlobal.
Referenced by LLAgentPilot::addAction(), LLPreviewSound::auditionSound(), LLFloaterLandHoldings::buttonCore(), calcCameraPositionTargetGlobal(), calcFocusPositionTargetGlobal(), LLSelectMgr::deselectAllIfTooFar(), LLWorldMapView::draw(), LLNetMap::draw(), LLPreviewLandmark::getDegreesAndDist(), LLAvatarTracker::getDegreesAndDist(), LLFloaterWorldMap::getDistanceToDestination(), LLToolGrab::getGrabPointGlobal(), getSLURL(), LLShowFloater::handleEvent(), LLToolSelect::handleObjectSelection(), LLViewerWindow::handlePaint(), LLAppViewer::idle(), idle_startup(), LLPanelClassified::initNewClassified(), LLPanelPick::initNewPick(), LLFloaterAbout::LLFloaterAbout(), LLFloaterReporter::LLFloaterReporter(), onClickBuyLand(), onClickParcelInfo(), LLPanelPick::onClickSet(), LLPanelClassified::onClickSet(), LLPanelGroupLandMoney::impl::onMapButton(), LLPanelRegionTools::onSelectRegion(), LLViewerTextEditor::openEmbeddedSound(), LLWorld::printPacketsLost(), process_agent_movement_complete(), process_teleport_finish(), LLWorld::removeRegion(), LLAppViewer::requestQuit(), setFocusGlobal(), startAutoPilotGlobal(), stopAutoPilot(), toggle_build_mode(), LLDebugText::update(), updateCamera(), and LLFloaterWorldMap::updateLocation().
const LLVector3 & LLAgent::getPositionAgent | ( | ) |
Definition at line 1066 of file llagent.cpp.
References LLCoordFrame::getOrigin(), LLPointer< Type >::isNull(), mAvatarObject, mFrameAgent, and LLCoordFrame::setOrigin().
Referenced by autoPilot(), buildLocationString(), LLPipeline::calcNearbyLights(), LLToolDragAndDrop::commitGiveInventoryCategory(), LLToolDragAndDrop::commitGiveInventoryItem(), confirm_replace_attachment(), LLStartUp::dispatchURL(), draw_axes(), get_text_color(), LLPanelDirFind::getSearchURLSuffix(), LLToolSelectRect::handleRectangleSelection(), inventory_offer_callback(), lookAtLastChat(), LLPanelLandOptions::onClickSet(), LLStatusBar::refresh(), LLWorld::removeRegion(), LLManipScale::render(), LLViewerParcelMgr::renderCollisionSegments(), LLManipTranslate::renderTranslationHandles(), send_improved_im(), send_sound_trigger(), session_starter_helper(), setRegion(), setStartPosition(), LLViewerCamera::updateCameraLocation(), LLLocalSpeakerMgr::updateSpeakerList(), LLManipRotate::updateVisiblity(), and LLWorldMapView::viewPosToGlobal().
S32 LLAgent::getRegionsVisited | ( | ) | const |
Definition at line 1079 of file llagent.cpp.
References mRegionsVisited.
Referenced by LLWorld::removeRegion(), and send_stats().
F64 LLAgent::getDistanceTraveled | ( | ) | const |
Definition at line 1087 of file llagent.cpp.
References mDistanceTraveled.
Referenced by send_stats().
const LLVector3d& LLAgent::getFocusGlobal | ( | ) | const [inline] |
Definition at line 323 of file llagent.h.
References mFocusGlobal.
Referenced by calcCustomizeAvatarUIOffset(), LLToolCamera::handleHover(), and LLToolCamera::handleMouseUp().
const LLVector3d& LLAgent::getFocusTargetGlobal | ( | ) | const [inline] |
Definition at line 324 of file llagent.h.
References mFocusTargetGlobal.
Referenced by handle_go_to().
BOOL LLAgent::getJump | ( | ) | const [inline] |
BOOL LLAgent::getAutoPilot | ( | ) | const [inline] |
Definition at line 327 of file llagent.h.
References mAutoPilot.
Referenced by LLNetMap::draw(), and LLAgentPilot::updateTarget().
LLVector3d LLAgent::getAutoPilotTargetGlobal | ( | ) | const [inline] |
Definition at line 328 of file llagent.h.
References mAutoPilotTargetGlobal.
Referenced by LLNetMap::draw().
LLQuaternion LLAgent::getQuat | ( | ) | const |
Definition at line 1294 of file llagent.cpp.
References LLCoordFrame::getQuaternion(), and mFrameAgent.
void LLAgent::getName | ( | LLString & | name | ) |
Definition at line 5107 of file llagent.cpp.
References LLControlGroup::getString(), gSavedSettings, llendl, llwarns, mAvatarObject, and LLNameValue::printData().
Referenced by buildLocationString(), and LLViewerWindow::handlePaint().
const LLColor4 & LLAgent::getEffectColor | ( | ) |
Definition at line 5131 of file llagent.cpp.
References mEffectColor.
Referenced by LLToolPlacer::addObject(), LLToolDragAndDrop::commitGiveInventoryCategory(), LLToolDragAndDrop::commitGiveInventoryItem(), LLSelectMgr::confirmDelete(), LLToolDragAndDrop::dad3dTextureObject(), derez_objects(), LLToolDragAndDrop::dropInventory(), LLToolDragAndDrop::dropObject(), LLToolDragAndDrop::dropScript(), idle_startup(), LLVOAvatar::idleUpdate(), LLToolPie::pickAndShowMenu(), process_teleport_finish(), LLAppViewer::requestQuit(), and LLSelectMgr::selectionSetImage().
void LLAgent::setEffectColor | ( | const LLColor4 & | color | ) |
Definition at line 5136 of file llagent.cpp.
References mEffectColor.
Referenced by handleEffectColorChanged().
void LLAgent::slamLookAt | ( | const LLVector3 & | look_at | ) |
Definition at line 1038 of file llagent.cpp.
References LLVector3::mV, LLVector3::normVec(), resetAxes(), and VZ.
Referenced by process_agent_movement_complete(), and process_teleport_local().
void LLAgent::setPositionAgent | ( | const LLVector3 & | center | ) |
Definition at line 1006 of file llagent.cpp.
References LLViewerObject::getPositionAgent(), LLXform::getRotation(), LLVector3::isFinite(), LLPointer< Type >::isNull(), llendl, llerrs, mAgentOriginGlobal, mAvatarObject, mFrameAgent, mPositionGlobal, LLCoordFrame::setOrigin(), and LLVector3d::setVec().
Referenced by idle_startup(), process_teleport_local(), setRegion(), LLVOAvatar::slamPosition(), and LLVOAvatar::updateCharacter().
void LLAgent::resetAxes | ( | ) |
Definition at line 1118 of file llagent.cpp.
References mFrameAgent, and LLCoordFrame::resetAxes().
Referenced by calcCameraPositionTargetGlobal(), changeCameraToCustomizeAvatar(), changeCameraToThirdPerson(), endAnimationUpdateUI(), LLVOAvatar::getOffObject(), idle_startup(), resetCamera(), resetView(), setFocusOnAvatar(), setupSitCamera(), slamLookAt(), and stopAutoPilot().
void LLAgent::resetAxes | ( | const LLVector3 & | look_at | ) |
Definition at line 1129 of file llagent.cpp.
References getReferenceUpVector(), LLVector3::isNull(), llendl, llinfos, mFrameAgent, and LLCoordFrame::setAxes().
Definition at line 1156 of file llagent.cpp.
References mFrameAgent, and LLCoordFrame::rotate().
Referenced by LLViewerJoystick::agentRotate(), LLToolGun::handleHover(), and updateAgentPosition().
Definition at line 1165 of file llagent.cpp.
References mFrameAgent, and LLCoordFrame::rotate().
void LLAgent::rotate | ( | const LLMatrix3 & | matrix | ) |
Definition at line 1174 of file llagent.cpp.
References mFrameAgent, and LLCoordFrame::rotate().
void LLAgent::rotate | ( | const LLQuaternion & | quaternion | ) |
Definition at line 1183 of file llagent.cpp.
References mFrameAgent, and LLCoordFrame::rotate().
void LLAgent::pitch | ( | F32 | angle | ) |
Definition at line 1222 of file llagent.cpp.
References clampPitchToLimits(), mFrameAgent, and LLCoordFrame::pitch().
Referenced by cameraOrbitOver(), LLToolGun::handleHover(), and propagate().
void LLAgent::roll | ( | F32 | angle | ) |
Definition at line 1272 of file llagent.cpp.
References mFrameAgent, and LLCoordFrame::roll().
void LLAgent::yaw | ( | F32 | angle | ) |
Definition at line 1281 of file llagent.cpp.
References getReferenceUpVector(), mFrameAgent, LLCoordFrame::rotate(), and rotateGrabbed().
Referenced by autoPilot(), LLToolGrab::handleHoverActive(), LLToolGrab::handleHoverInactive(), and propagate().
LLVector3 LLAgent::getReferenceUpVector | ( | ) |
Definition at line 1192 of file llagent.cpp.
References CAMERA_MODE_MOUSELOOK, CAMERA_MODE_THIRD_PERSON, mAvatarObject, mCameraAnimating, mCameraMode, mLastCameraMode, LLPointer< Type >::notNull(), and LLVector3::z_axis.
Referenced by LLViewerJoystick::agentRotate(), calcCameraPositionTargetGlobal(), cameraOrbitAround(), cameraOrbitOver(), clampPitchToLimits(), LLToolGun::handleHover(), resetAxes(), resetView(), LLVOAvatar::updateCharacter(), and yaw().
Definition at line 1233 of file llagent.cpp.
References DEG_TO_RAD, LLCoordFrame::getAtAxis(), getReferenceUpVector(), mAvatarObject, mFrameAgent, and LLPointer< Type >::notNull().
Referenced by LLViewerJoystick::agentRotate(), and pitch().
void LLAgent::setThirdPersonHeadOffset | ( | LLVector3 | offset | ) | [inline] |
Definition at line 361 of file llagent.h.
References mThirdPersonHeadOffset.
Referenced by LLVOAvatar::getOffObject(), and LLVOAvatar::sitOnObject().
BOOL LLAgent::getFlying | ( | ) | const [inline] |
Definition at line 363 of file llagent.h.
References AGENT_CONTROL_FLY, and mControlFlags.
Referenced by LLViewerJoystick::agentFly(), autoPilot(), LLAppViewer::disconnectViewer(), LLViewerJoystick::moveAvatar(), process_sim_stats(), LLToolBar::refresh(), setFlying(), startAutoPilotGlobal(), and LLVOAvatar::updateCharacter().
void LLAgent::setFlying | ( | BOOL | fly | ) |
Definition at line 758 of file llagent.cpp.
References AGENT_CONTROL_FLY, ANIM_AGENT_STANDUP, canFly(), clearControlFlags(), FALSE, getFlying(), LLSingleton< LLViewerStats >::getInstance(), gSavedSettings, LLViewerStats::incStat(), make_ui_sound(), mAvatarObject, mbFlagsDirty, LLPointer< Type >::notNull(), LLControlGroup::setBOOL(), setControlFlags(), LLViewerStats::ST_FLY_COUNT, and TRUE.
Referenced by agent_jump(), LLViewerJoystick::agentFly(), autoPilot(), init(), near_sit_down_point(), LLToolBar::onClickSit(), process_agent_movement_complete(), process_sim_stats(), process_teleport_local(), propagate(), LLVOAvatar::sitOnObject(), startAutoPilotGlobal(), stopAutoPilot(), and toggleFlying().
void LLAgent::toggleFlying | ( | ) |
Definition at line 805 of file llagent.cpp.
References AGENT_CONTROL_FLY, mControlFlags, resetView(), and setFlying().
Referenced by agent_toggle_fly(), LLWorldFly::handleEvent(), and LLToolBar::onClickFly().
BOOL LLAgent::canFly | ( | ) |
Definition at line 735 of file llagent.cpp.
References FALSE, LLViewerParcelMgr::getAgentParcel(), LLParcel::getAllowFly(), LLViewerRegion::getBlockFly(), LLSingleton< LLViewerParcelMgr >::getInstance(), getRegion(), GP_LAND_ALLOW_FLY, isGodlike(), LLViewerParcelMgr::isParcelOwnedByAgent(), and TRUE.
Referenced by process_agent_movement_complete(), process_sim_stats(), LLToolBar::refresh(), and setFlying().
void LLAgent::requestStopMotion | ( | LLMotion * | motion | ) |
Definition at line 4669 of file llagent.cpp.
References ANIM_REQUEST_STOP, LLMotion::getID(), onAnimStop(), and sendAnimationRequest().
Referenced by LLVOAvatar::requestStopMotion().
void LLAgent::onAnimStop | ( | const LLUUID & | id | ) |
Definition at line 4682 of file llagent.cpp.
References AGENT_CONTROL_FINISH_ANIM, ANIM_AGENT_AWAY, ANIM_AGENT_BRUSH, ANIM_AGENT_LAND, ANIM_AGENT_MEDIUM_LAND, ANIM_AGENT_PRE_JUMP, ANIM_AGENT_STAND, ANIM_AGENT_STANDUP, ANIM_REQUEST_START, clearAFK(), mAvatarObject, LLPointer< Type >::notNull(), sendAnimationRequest(), setControlFlags(), and stopFidget().
Referenced by requestStopMotion(), and LLVOAvatar::stopMotion().
void LLAgent::sendAnimationRequests | ( | LLDynamicArray< LLUUID > & | anim_ids, | |
EAnimRequest | request | |||
) |
Definition at line 4971 of file llagent.cpp.
References _PREHASH_AgentAnimation, _PREHASH_AgentData, _PREHASH_AgentID, _PREHASH_AnimationList, _PREHASH_AnimID, _PREHASH_PhysicalAvatarEventList, _PREHASH_SessionID, _PREHASH_StartAnim, _PREHASH_TypeData, LLMessageSystem::addBinaryDataFast(), LLMessageSystem::addBOOLFast(), LLMessageSystem::addUUIDFast(), ANIM_REQUEST_START, LLDynamicArray< Type, BlockSize >::count(), FALSE, gAgentID, getID(), getSessionID(), gMessageSystem, i, LLUUID::isNull(), LLMessageSystem::newMessageFast(), LLMessageSystem::nextBlockFast(), NULL, S32, sendReliableMessage(), and TRUE.
Referenced by stopFidget().
void LLAgent::sendAnimationRequest | ( | const LLUUID & | anim_id, | |
EAnimRequest | request | |||
) |
Definition at line 5006 of file llagent.cpp.
References _PREHASH_AgentAnimation, _PREHASH_AgentData, _PREHASH_AgentID, _PREHASH_AnimationList, _PREHASH_AnimID, _PREHASH_PhysicalAvatarEventList, _PREHASH_SessionID, _PREHASH_StartAnim, _PREHASH_TypeData, LLMessageSystem::addBinaryDataFast(), LLMessageSystem::addBOOLFast(), LLMessageSystem::addUUIDFast(), ANIM_REQUEST_START, FALSE, gAgentID, getID(), getSessionID(), gMessageSystem, LLUUID::isNull(), mRegionp, LLMessageSystem::newMessageFast(), LLMessageSystem::nextBlockFast(), NULL, sendReliableMessage(), and TRUE.
Referenced by LLPreviewAnim::auditionAnim(), changeCameraToCustomizeAvatar(), clearAFK(), clearBusy(), LLViewerGesture::doTrigger(), endAnimationUpdateUI(), fidget(), onAnimStop(), LLPreviewAnim::onClose(), LLPreviewAnim::playAnim(), LLViewerWindow::playSnapshotAnimAndSound(), requestStopMotion(), LLGestureManager::runStep(), LLChatBar::sendChatFromViewer(), setAFK(), setBusy(), startTyping(), LLGestureManager::stopGesture(), LLVOAvatar::stopMotionFromSource(), and stopTyping().
LLVector3d LLAgent::calcFocusOffset | ( | LLViewerObject * | object, | |
S32 | x, | |||
S32 | y | |||
) |
Definition at line 1303 of file llagent.cpp.
References LLVector3::abs(), bias(), LLVector3::clamp(), clamp_rescale(), LLBBox::containsPointAgent(), dist_vec(), F32_MAX, getAtAxis(), getCameraPositionGlobal(), LLViewerWindow::getDisplayScale(), LLMatrix4::getFwdRow4(), LLSingleton< LLViewerCamera >::getInstance(), LLMatrix4::getLeftRow4(), LLCoordFrame::getOrigin(), getPosAgentFromGlobal(), getPosGlobalFromAgent(), LLViewerCamera::getProjection(), LLMatrix4::getUpRow4(), gViewerWindow, i, lerp(), llabs(), llfloor(), llmax(), llmin(), mCameraFOVZoomFactor, mFocusTargetGlobal, LLMatrix4::mMatrix, LLViewerWindow::mousePointOnPlaneGlobal(), LLVector2::mV, LLVector3::mV, LLVector3::normVec(), LLVector3::rotVec(), LLVector3::setVec(), VX, VY, and VZ.
Referenced by LLViewerWindow::performPick().
Definition at line 1471 of file llagent.cpp.
References LLVector3::abs(), AVATAR_ZOOM_MIN_X_FACTOR, AVATAR_ZOOM_MIN_Y_FACTOR, AVATAR_ZOOM_MIN_Z_FACTOR, LLVector3::clamp(), F32_MAX, F_SQRT3, FALSE, getCameraPositionAgent(), LLSingleton< LLViewerCamera >::getInstance(), LLCamera::getNear(), getPosAgentFromGlobal(), i, LLPointer< Type >::isNull(), llendl, llerrs, llmin(), llwarns, mFocusObject, mFocusObjectOffset, mFocusTargetGlobal, LLVector3::mV, LLVector3::normVec(), OBJECT_EXTENTS_PADDING, LLVector3::rotVec(), TRUE, VX, VY, VZ, LLVector3::x_axis, LLVector3::y_axis, and LLVector3::z_axis.
Referenced by calcCameraFOVZoomFactor(), and cameraZoomIn().
void LLAgent::startCameraAnimation | ( | ) |
Definition at line 4253 of file llagent.cpp.
References getCameraPositionGlobal(), LLControlGroup::getF32(), gSavedSettings, mAnimationCameraStartGlobal, mAnimationDuration, mAnimationFocusStartGlobal, mAnimationTimer, mCameraAnimating, mFocusGlobal, LLFrameTimer::reset(), and TRUE.
Referenced by changeCameraToCustomizeAvatar(), changeCameraToFollow(), changeCameraToMouselook(), changeCameraToThirdPerson(), clearFocusObject(), setCameraPosAndFocusGlobal(), setCameraZoomFraction(), setFocusGlobal(), setFocusOnAvatar(), and LLVOAvatar::sitOnObject().
void LLAgent::stopCameraAnimation | ( | ) |
Definition at line 4265 of file llagent.cpp.
References FALSE, and mCameraAnimating.
Referenced by idle_startup(), and setFocusOnAvatar().
void LLAgent::cameraZoomIn | ( | const F32 | factor | ) |
Definition at line 1802 of file llagent.cpp.
References APPEARANCE_MAX_ZOOM, APPEARANCE_MIN_ZOOM, calcCameraMinDistance(), cameraCustomizeAvatar(), gDisconnected, LLSingleton< LLWorld >::getInstance(), LLSingleton< LLSelectMgr >::getInstance(), LLSelectMgr::getSelection(), LAND_MIN_ZOOM, llclamp(), llmax(), llmin(), mAvatarObject, mCameraFocusOffsetTarget, mDrawDistance, LLVector3d::mdV, mFocusObject, LLVector3d::normVec(), OBJECT_MIN_ZOOM, SELECT_TYPE_HUD, VX, VY, and VZ.
Referenced by cameraOrbitAround(), cameraOrbitIn(), cameraOrbitOver(), cameraPanLeft(), cameraPanUp(), handle_focus(), handle_move(), LLLandBuild::handleEvent(), LLObjectEdit::handleEvent(), LLObjectBuild::handleEvent(), LLToolCamera::handleHover(), handleScrollWheel(), and toggle_build_mode().
void LLAgent::cameraOrbitAround | ( | const F32 | radians | ) |
Definition at line 1749 of file llagent.cpp.
References CAMERA_MODE_FOLLOW, CAMERA_MODE_THIRD_PERSON, cameraZoomIn(), LLSingleton< LLSelectMgr >::getInstance(), getReferenceUpVector(), LLSelectMgr::getSelection(), mCameraFocusOffsetTarget, mCameraMode, mFocusOnAvatar, mFrameAgent, LLCoordFrame::rotate(), LLVector3d::rotVec(), and SELECT_TYPE_HUD.
Referenced by LLToolCamera::handleHover(), LLManipTranslate::handleHover(), LLToolGrab::handleHoverActive(), and updateCamera().
void LLAgent::cameraOrbitOver | ( | const F32 | radians | ) |
Definition at line 1772 of file llagent.cpp.
References CAMERA_MODE_THIRD_PERSON, cameraZoomIn(), DEG_TO_RAD, LLSingleton< LLViewerCamera >::getInstance(), LLSingleton< LLSelectMgr >::getInstance(), getLeftAxis(), getReferenceUpVector(), LLSelectMgr::getSelection(), llclamp(), mCameraFocusOffsetTarget, mCameraMode, mFocusOnAvatar, LLVector3::normVec(), pitch(), LLVector3d::rotVec(), SELECT_TYPE_HUD, and LLVector3d::setVec().
Referenced by LLLandEdit::handleEvent(), LLLandBuild::handleEvent(), LLObjectEdit::handleEvent(), LLObjectBuild::handleEvent(), LLToolCamera::handleHover(), toggle_build_mode(), and updateCamera().
void LLAgent::cameraOrbitIn | ( | const F32 | meters | ) |
Definition at line 1870 of file llagent.cpp.
References APPEARANCE_MAX_ZOOM, APPEARANCE_MIN_ZOOM, AVATAR_MIN_ZOOM, CAMERA_MODE_CUSTOMIZE_AVATAR, CAMERA_MODE_THIRD_PERSON, cameraZoomIn(), changeCameraToMouselook(), FALSE, LLControlGroup::getBOOL(), getCameraMode(), LLSingleton< LLWorld >::getInstance(), gSavedSettings, LAND_MIN_ZOOM, llclamp(), llmax(), llmin(), LLVector3::magVec(), MAX_ZOOM_FRACTION, mCameraFocusOffsetTarget, mCameraMode, mCameraOffsetDefault, mCameraZoomFraction, mDrawDistance, mFocusObject, mFocusOnAvatar, MIN_ZOOM_FRACTION, mTargetCameraDistance, LLVector3d::normVec(), LLPointer< Type >::notNull(), and OBJECT_MIN_ZOOM.
Referenced by handleScrollWheel(), and updateCamera().
F32 LLAgent::getCameraZoomFraction | ( | ) |
Definition at line 1647 of file llagent.cpp.
References APPEARANCE_MAX_ZOOM, APPEARANCE_MIN_ZOOM, AVATAR_MIN_ZOOM, cameraCustomizeAvatar(), cameraThirdPerson(), clamp_rescale(), LLSingleton< LLWorld >::getInstance(), LLSingleton< LLSelectMgr >::getInstance(), LLSelectMgr::getSelection(), LAND_MIN_ZOOM, llmin(), LLVector3d::magVec(), mAvatarObject, MAX_CAMERA_DISTANCE_FROM_AGENT, MAX_ZOOM_FRACTION, mCameraFocusOffsetTarget, mCameraZoomFraction, mDrawDistance, mFocusObject, mFocusOnAvatar, MIN_ZOOM_FRACTION, LLPointer< Type >::notNull(), OBJECT_MIN_ZOOM, and SELECT_TYPE_HUD.
Referenced by LLFloaterTools::updatePopup().
void LLAgent::setCameraZoomFraction | ( | F32 | fraction | ) |
Definition at line 1695 of file llagent.cpp.
References APPEARANCE_MAX_ZOOM, APPEARANCE_MIN_ZOOM, AVATAR_MIN_ZOOM, cameraCustomizeAvatar(), cameraThirdPerson(), LLSingleton< LLWorld >::getInstance(), LLSingleton< LLSelectMgr >::getInstance(), LLSelectMgr::getSelection(), LAND_MIN_ZOOM, llmin(), mAvatarObject, MAX_CAMERA_DISTANCE_FROM_AGENT, MAX_ZOOM_FRACTION, mCameraFocusOffsetTarget, mCameraZoomFraction, mDrawDistance, mFocusObject, mFocusOnAvatar, MIN_ZOOM_FRACTION, LLVector3d::normVec(), LLPointer< Type >::notNull(), OBJECT_MIN_ZOOM, rescale(), SELECT_TYPE_HUD, and startCameraAnimation().
Referenced by commit_slider_zoom().
void LLAgent::cameraPanIn | ( | const F32 | meters | ) |
Definition at line 1938 of file llagent.cpp.
References getAtAxis(), LLSingleton< LLViewerCamera >::getInstance(), mFocusGlobal, mFocusTargetGlobal, LLVector3d::setVec(), and updateFocusOffset().
Referenced by updateCamera().
void LLAgent::cameraPanLeft | ( | const F32 | meters | ) |
Definition at line 1952 of file llagent.cpp.
References cameraZoomIn(), LLSingleton< LLViewerCamera >::getInstance(), getLeftAxis(), mFocusGlobal, mFocusTargetGlobal, LLVector3d::setVec(), and updateFocusOffset().
Referenced by LLToolCamera::handleHover(), and updateCamera().
void LLAgent::cameraPanUp | ( | const F32 | meters | ) |
Definition at line 1966 of file llagent.cpp.
References cameraZoomIn(), LLSingleton< LLViewerCamera >::getInstance(), getUpAxis(), mFocusGlobal, mFocusTargetGlobal, LLVector3d::setVec(), and updateFocusOffset().
Referenced by LLToolCamera::handleHover(), and updateCamera().
void LLAgent::updateFocusOffset | ( | ) |
Definition at line 3374 of file llagent.cpp.
References getPosGlobalFromAgent(), mFocusObject, mFocusObjectOffset, mFocusTargetGlobal, LLPointer< Type >::notNull(), LLVector3::setVec(), and validateFocusObject().
Referenced by calcFocusPositionTargetGlobal(), cameraPanIn(), cameraPanLeft(), cameraPanUp(), setCameraPosAndFocusGlobal(), and setFocusGlobal().
void LLAgent::validateFocusObject | ( | ) |
Definition at line 3384 of file llagent.cpp.
References clearFocusObject(), LLVector3::clearVec(), mCameraFOVZoomFactor, mFocusObject, mFocusObjectOffset, and LLPointer< Type >::notNull().
Referenced by updateCamera(), and updateFocusOffset().
void LLAgent::setUsingFollowCam | ( | bool | using_follow_cam | ) |
F32 LLAgent::calcCustomizeAvatarUIOffset | ( | const LLVector3d & | camera_pos_global | ) |
Definition at line 3398 of file llagent.cpp.
References dist_vec(), LLCamera::getAspect(), getFocusGlobal(), LLSingleton< LLViewerCamera >::getInstance(), LLCriticalDamp::getInterpolant(), LLView::getRect(), LLCamera::getView(), LLRectBase< Type >::getWidth(), LLViewerWindow::getWindowWidth(), gFloaterCustomize, gViewerWindow, lerp(), llmin(), LLRectBase< Type >::mLeft, LLRectBase< Type >::mRight, and mUIOffset.
Referenced by LLToolCamera::pickCallback(), setCameraPosAndFocusGlobal(), and updateCamera().
void LLAgent::setStartPosition | ( | U32 | location_id | ) |
Definition at line 4606 of file llagent.cpp.
References _PREHASH_AgentData, _PREHASH_AgentID, _PREHASH_LocationID, _PREHASH_LocationLookAt, _PREHASH_LocationPos, _PREHASH_SessionID, _PREHASH_SetStartLocationRequest, _PREHASH_SimName, _PREHASH_StartLocationData, LLViewerObjectList::findObject(), gAgentID, LLCoordFrame::getAtAxis(), LLViewerRegion::getHandle(), LLViewerRegion::getHost(), getID(), LLSingleton< LLWorld >::getInstance(), LLViewerRegion::getLandHeightRegion(), getPositionAgent(), LLWorld::getRegionMaxHeight(), LLWorld::getRegionWidthInMeters(), getSessionID(), gMessageSystem, gObjectList, llclamp(), llendl, llinfos, mAvatarObject, mFrameAgent, mRegionp, LLVector3::mV, LLMessageSystem::newMessageFast(), LLUUID::null, setHomePosRegion(), VX, VY, and VZ.
Referenced by LLWorldSetHomeLocation::handleEvent().
void LLAgent::moveAt | ( | S32 | direction, | |
bool | reset_view = true | |||
) |
Definition at line 584 of file llagent.cpp.
References ageChat(), AGENT_CONTROL_AT_NEG, AGENT_CONTROL_AT_POS, AGENT_CONTROL_FAST_AT, mAtKey, resetView(), setControlFlags(), and setKey().
Referenced by agent_push_forwardbackward(), LLViewerJoystick::agentPush(), LLViewerJoystick::moveAvatar(), LLJoystickAgentSlide::onHeldDown(), and LLJoystickAgentTurn::onHeldDown().
void LLAgent::moveAtNudge | ( | S32 | direction | ) |
Definition at line 609 of file llagent.cpp.
References ageChat(), AGENT_CONTROL_NUDGE_AT_NEG, AGENT_CONTROL_NUDGE_AT_POS, mWalkKey, resetView(), setControlFlags(), and setKey().
Referenced by agent_push_forwardbackward(), LLJoystickAgentSlide::onHeldDown(), and LLJoystickAgentTurn::onHeldDown().
void LLAgent::moveLeft | ( | S32 | direction | ) |
Definition at line 631 of file llagent.cpp.
References ageChat(), AGENT_CONTROL_FAST_LEFT, AGENT_CONTROL_LEFT_NEG, AGENT_CONTROL_LEFT_POS, mLeftKey, resetView(), setControlFlags(), and setKey().
Referenced by agent_slide_leftright(), LLViewerJoystick::agentSlide(), and LLJoystickAgentSlide::onHeldDown().
void LLAgent::moveLeftNudge | ( | S32 | direction | ) |
Definition at line 653 of file llagent.cpp.
References ageChat(), AGENT_CONTROL_NUDGE_LEFT_NEG, AGENT_CONTROL_NUDGE_LEFT_POS, mLeftKey, resetView(), setControlFlags(), and setKey().
Referenced by agent_slide_leftright(), and LLJoystickAgentSlide::onMouseUp().
void LLAgent::moveUp | ( | S32 | direction | ) |
Definition at line 675 of file llagent.cpp.
References ageChat(), AGENT_CONTROL_FAST_UP, AGENT_CONTROL_UP_NEG, AGENT_CONTROL_UP_POS, mUpKey, resetView(), setControlFlags(), and setKey().
Referenced by agent_jump(), agent_push_down(), LLViewerJoystick::agentFly(), LLViewerJoystick::agentJump(), LLFloaterMove::moveDown(), and LLFloaterMove::moveUp().
void LLAgent::moveYaw | ( | F32 | mag, | |
bool | reset_view = true | |||
) |
Definition at line 697 of file llagent.cpp.
References AGENT_CONTROL_YAW_NEG, AGENT_CONTROL_YAW_POS, mYawKey, resetView(), and setControlFlags().
Referenced by agent_turn_left(), agent_turn_right(), LLAppViewer::idle(), LLJoystickAgentTurn::onHeldDown(), LLFloaterMove::turnLeft(), and LLFloaterMove::turnRight().
void LLAgent::movePitch | ( | S32 | direction | ) |
Definition at line 719 of file llagent.cpp.
References AGENT_CONTROL_PITCH_NEG, AGENT_CONTROL_PITCH_POS, mPitchKey, setControlFlags(), and setKey().
Referenced by agent_look_down(), and agent_look_up().
void LLAgent::setOrbitLeftKey | ( | F32 | mag | ) | [inline] |
Definition at line 416 of file llagent.h.
References mOrbitLeftKey.
Referenced by camera_spin_around_ccw(), camera_spin_around_ccw_sitting(), edit_avatar_spin_ccw(), and LLJoystickCameraRotate::onHeldDown().
void LLAgent::setOrbitRightKey | ( | F32 | mag | ) | [inline] |
Definition at line 417 of file llagent.h.
References mOrbitRightKey.
Referenced by camera_spin_around_cw(), camera_spin_around_cw_sitting(), edit_avatar_spin_cw(), and LLJoystickCameraRotate::onHeldDown().
void LLAgent::setOrbitUpKey | ( | F32 | mag | ) | [inline] |
Definition at line 418 of file llagent.h.
References mOrbitUpKey.
Referenced by camera_spin_over(), camera_spin_over_sitting(), edit_avatar_spin_over(), and LLJoystickCameraRotate::onHeldDown().
void LLAgent::setOrbitDownKey | ( | F32 | mag | ) | [inline] |
Definition at line 419 of file llagent.h.
References mOrbitDownKey.
Referenced by camera_spin_under(), camera_spin_under_sitting(), edit_avatar_spin_under(), and LLJoystickCameraRotate::onHeldDown().
void LLAgent::setOrbitInKey | ( | F32 | mag | ) | [inline] |
Definition at line 420 of file llagent.h.
References mOrbitInKey.
Referenced by camera_move_forward(), camera_move_forward_fast(), camera_move_forward_sitting(), edit_avatar_move_forward(), and LLJoystickCameraZoom::onHeldDown().
void LLAgent::setOrbitOutKey | ( | F32 | mag | ) | [inline] |
Definition at line 421 of file llagent.h.
References mOrbitOutKey.
Referenced by camera_move_backward(), camera_move_backward_fast(), camera_move_backward_sitting(), edit_avatar_move_backward(), and LLJoystickCameraZoom::onHeldDown().
void LLAgent::setPanLeftKey | ( | F32 | mag | ) | [inline] |
Definition at line 423 of file llagent.h.
References mPanLeftKey.
Referenced by camera_pan_left(), and LLJoystickCameraTrack::onHeldDown().
void LLAgent::setPanRightKey | ( | F32 | mag | ) | [inline] |
Definition at line 424 of file llagent.h.
References mPanRightKey.
Referenced by camera_pan_right(), and LLJoystickCameraTrack::onHeldDown().
void LLAgent::setPanUpKey | ( | F32 | mag | ) | [inline] |
Definition at line 425 of file llagent.h.
References mPanUpKey.
Referenced by camera_pan_up(), and LLJoystickCameraTrack::onHeldDown().
void LLAgent::setPanDownKey | ( | F32 | mag | ) | [inline] |
Definition at line 426 of file llagent.h.
References mPanDownKey.
Referenced by camera_pan_down(), and LLJoystickCameraTrack::onHeldDown().
void LLAgent::setPanInKey | ( | F32 | mag | ) | [inline] |
Definition at line 427 of file llagent.h.
References mPanInKey.
Referenced by camera_pan_in().
void LLAgent::setPanOutKey | ( | F32 | mag | ) | [inline] |
Definition at line 428 of file llagent.h.
References mPanOutKey.
Referenced by camera_pan_out().
U32 LLAgent::getControlFlags | ( | ) |
Definition at line 2000 of file llagent.cpp.
References mControlFlags.
Referenced by LLAppViewer::idle(), LLToolBar::onClickSit(), and send_agent_update().
void LLAgent::setControlFlags | ( | U32 | mask | ) |
Definition at line 2019 of file llagent.cpp.
References mbFlagsDirty, mControlFlags, and TRUE.
Referenced by autoPilot(), changeCameraToCustomizeAvatar(), changeCameraToMouselook(), handle_agent_stop_moving(), handle_sit_or_stand(), LLToolCompGun::handleDoubleClick(), LLLandSit::handleEvent(), LLSelfStandUp::handleEvent(), LLToolCompGun::handleMouseDown(), LLTool::handleMouseDown(), LLToolCompGun::handleMouseUp(), LLTool::handleMouseUp(), lookAtLastChat(), moveAt(), moveAtNudge(), moveLeft(), moveLeftNudge(), movePitch(), moveUp(), moveYaw(), near_sit_down_point(), onAnimStop(), LLToolBar::onClickSit(), LLOverlayBar::onClickStandUp(), setAFK(), setFlying(), stop_moving(), stopAutoPilot(), and LLVOAvatar::updateCharacter().
void LLAgent::clearControlFlags | ( | U32 | mask | ) |
Definition at line 2029 of file llagent.cpp.
References mbFlagsDirty, mControlFlags, and TRUE.
Referenced by changeCameraToCustomizeAvatar(), changeCameraToFollow(), changeCameraToThirdPerson(), clearAFK(), and setFlying().
BOOL LLAgent::controlFlagsDirty | ( | ) | const |
Definition at line 2042 of file llagent.cpp.
References mbFlagsDirty.
Referenced by LLAppViewer::idle().
void LLAgent::enableControlFlagReset | ( | ) |
Definition at line 2050 of file llagent.cpp.
References mbFlagsNeedReset, and TRUE.
Referenced by send_agent_update().
void LLAgent::resetControlFlags | ( | ) |
Definition at line 2058 of file llagent.cpp.
References AGENT_CONTROL_AWAY, AGENT_CONTROL_FLY, AGENT_CONTROL_MOUSELOOK, FALSE, mbFlagsDirty, mbFlagsNeedReset, and mControlFlags.
Referenced by LLAppViewer::idleNetwork().
void LLAgent::propagate | ( | const F32 | dt | ) |
Definition at line 2479 of file llagent.cpp.
References DEG_TO_RAD, FALSE, LLControlGroup::getBOOL(), LLUIFactory< T, LLUISingleton< T, VISIBILITY_POLICY >, VISIBILITY_POLICY >::getInstance(), getVelocity(), gSavedSettings, LLVector3::magVecSquared(), mAtKey, mAvatarObject, MAX_VELOCITY_AUTO_LAND_SQUARED, LLFloaterMove::mBackwardButton, LLFloaterMove::mForwardButton, mLeftKey, LLFloaterMove::mMoveDownButton, LLFloaterMove::mMoveUpButton, mPitchKey, LLFloaterMove::mSlideLeftButton, LLFloaterMove::mSlideRightButton, LLFloaterMove::mTurnLeftButton, LLFloaterMove::mTurnRightButton, mUpKey, LLVector3::mV, mWalkKey, mYawKey, pitch(), setFlying(), LLButton::setToggleState(), VZ, and yaw().
Referenced by updateAgentPosition().
void LLAgent::startAutoPilotGlobal | ( | const LLVector3d & | pos_global, | |
const std::string & | behavior_name = std::string() , |
|||
const LLQuaternion * | target_rotation = NULL , |
|||
void(*)(BOOL, void *) | finish_callback = NULL , |
|||
void * | callback_data = NULL , |
|||
F32 | stop_distance = 0.f , |
|||
F32 | rotation_threshold = 0.03f | |||
) |
Definition at line 2174 of file llagent.cpp.
References dist_vec(), FALSE, fsqrtf, getAvatarObject(), getFlying(), LLSingleton< LLWorld >::getInstance(), LLVOAvatar::getPelvisToFoot(), getPositionGlobal(), llmax(), LLVector3d::magVec(), mAutoPilot, mAutoPilotBehaviorName, mAutoPilotCallbackData, mAutoPilotFinishedCallback, mAutoPilotFlyOnStop, mAutoPilotNoProgressFrameCount, mAutoPilotRotationThreshold, mAutoPilotStopDistance, mAutoPilotTargetDist, mAutoPilotTargetFacing, mAutoPilotTargetGlobal, mAutoPilotUseRotation, LLVector3d::mdV, LLVector3::mV, LLVector3::normVec(), NULL, LLWorld::resolveStepHeightGlobal(), setFlying(), sqrtf, TRUE, VZ, and LLVector3::x_axis.
Referenced by confirm_replace_attachment(), LLFloaterWorldMap::fly(), LLFloaterWorldMap::flyToAvatar(), LLFloaterWorldMap::flyToLandmark(), LLLandSit::handleEvent(), LLToolSelect::handleObjectSelection(), process_avatar_sit_response(), startFollowPilot(), LLAgentPilot::startPlayback(), and LLAgentPilot::updateTarget().
void LLAgent::startFollowPilot | ( | const LLUUID & | leader_id | ) |
Definition at line 2261 of file llagent.cpp.
References LLViewerObjectList::findObject(), LLViewerObject::getPositionGlobal(), gObjectList, LLUUID::isNull(), mAutoPilot, mLeaderID, LLUUID::null, and startAutoPilotGlobal().
Referenced by handle_follow().
void LLAgent::stopAutoPilot | ( | BOOL | user_cancel = FALSE |
) |
Definition at line 2282 of file llagent.cpp.
References AGENT_CONTROL_STOP, dist_vec(), FALSE, getPositionGlobal(), mAutoPilot, mAutoPilotBehaviorName, mAutoPilotCallbackData, mAutoPilotFinishedCallback, mAutoPilotFlyOnStop, mAutoPilotStopDistance, mAutoPilotTargetFacing, mAutoPilotTargetGlobal, mAutoPilotUseRotation, mLeaderID, LLUUID::null, resetAxes(), setControlFlags(), setFlying(), and LLNotifyBox::showXml().
Referenced by autoPilot(), handle_agent_stop_moving(), resetView(), LLVOAvatar::sitOnObject(), stop_moving(), and LLAgentPilot::stopPlayback().
void LLAgent::setAutoPilotGlobal | ( | const LLVector3d & | pos_global | ) |
void LLAgent::autoPilot | ( | F32 * | delta_yaw | ) |
Definition at line 2322 of file llagent.cpp.
References AGENT_CONTROL_AT_NEG, AGENT_CONTROL_AT_POS, AGENT_CONTROL_FAST_AT, AGENT_CONTROL_FAST_UP, AGENT_CONTROL_STOP, AGENT_CONTROL_UP_NEG, AGENT_CONTROL_UP_POS, AGENT_CONTROL_YAW_NEG, AGENT_CONTROL_YAW_POS, angle_between(), AUTOPILOT_HEIGHT_ADJUST_DISTANCE, AUTOPILOT_MAX_TIME_NO_PROGRESS, AUTOPILOT_MIN_TARGET_HEIGHT_OFF_GROUND, F_PI, LLViewerObjectList::findObject(), LLCoordFrame::getAtAxis(), getFlying(), getPosAgentFromGlobal(), getPositionAgent(), gFPSClamped, gObjectList, LLUUID::isNull(), llmax(), LLVector3::magVec(), mAutoPilot, mAutoPilotNoProgressFrameCount, mAutoPilotRotationThreshold, mAutoPilotStopDistance, mAutoPilotTargetDist, mAutoPilotTargetFacing, mAutoPilotTargetGlobal, mAutoPilotUseRotation, mAvatarObject, LLVector3d::mdV, mFrameAgent, mLeaderID, LLVector3::mV, LLVector3::normVec(), setControlFlags(), setFlying(), LLVector3::setVec(), stopAutoPilot(), TRUE, VZ, and yaw().
Referenced by LLAppViewer::idle().
void LLAgent::renderAutoPilotTarget | ( | ) |
Definition at line 134 of file llglsandbox.cpp.
References gGL, gSphere, mAutoPilot, mAutoPilotTargetGlobal, LLVector3d::mdV, LLGLImmediate::popMatrix(), LLGLImmediate::pushMatrix(), LLRenderSphere::render(), LLGLImmediate::translatef(), VX, VY, and VZ.
Definition at line 5764 of file llagent.cpp.
References _PREHASH_AgentData, _PREHASH_AgentID, _PREHASH_Info, _PREHASH_SessionID, LLMessageSystem::addU64(), LLMessageSystem::addUUIDFast(), LLMessageSystem::addVector3(), getID(), getRegion(), getSessionID(), gMessageSystem, llendl, llinfos, LLMessageSystem::newMessage(), LLMessageSystem::nextBlockFast(), sendReliableMessage(), and teleportCore().
Referenced by teleportViaLocation().
void LLAgent::teleportViaLandmark | ( | const LLUUID & | landmark_id | ) |
Definition at line 5788 of file llagent.cpp.
References _PREHASH_AgentID, _PREHASH_Info, _PREHASH_LandmarkID, _PREHASH_SessionID, _PREHASH_TeleportLandmarkRequest, LLMessageSystem::addUUIDFast(), getID(), getRegion(), getSessionID(), gMessageSystem, LLMessageSystem::newMessageFast(), LLMessageSystem::nextBlockFast(), sendReliableMessage(), and teleportCore().
Referenced by LLPanelPlace::onClickTeleport(), open_landmark_callback(), LLLandmarkBridge::performAction(), LLFloaterWorldMap::teleport(), teleportHome(), and LLFloaterWorldMap::teleportToLandmark().
void LLAgent::teleportHome | ( | ) | [inline] |
Definition at line 461 of file llagent.h.
References LLUUID::null, and teleportViaLandmark().
Referenced by LLWorldTeleportHome::handleEvent(), LLFloaterWorldMap::onGoHome(), and LLFloaterWorldMap::teleport().
Definition at line 5803 of file llagent.cpp.
References _PREHASH_AgentID, _PREHASH_Info, _PREHASH_LureID, _PREHASH_SessionID, _PREHASH_TeleportLureRequest, LLMessageSystem::addU32(), LLMessageSystem::addUUIDFast(), getID(), getRegion(), getSessionID(), gMessageSystem, LLMessageSystem::newMessageFast(), LLMessageSystem::nextBlockFast(), sendReliableMessage(), TELEPORT_FLAGS_DISABLE_CANCEL, TELEPORT_FLAGS_VIA_GODLIKE_LURE, TELEPORT_FLAGS_VIA_LURE, and teleportCore().
Referenced by lure_callback().
void LLAgent::teleportViaLocation | ( | const LLVector3d & | pos_global | ) |
Definition at line 5852 of file llagent.cpp.
References _PREHASH_AgentData, _PREHASH_AgentID, _PREHASH_Info, _PREHASH_LookAt, _PREHASH_Position, _PREHASH_RegionHandle, _PREHASH_SessionID, _PREHASH_TeleportLocationRequest, LLMessageSystem::addU64Fast(), LLMessageSystem::addUUIDFast(), LLMessageSystem::addVector3Fast(), from_region_handle(), LLViewerRegion::getHandle(), getID(), LLSingleton< LLWorldMap >::getInstance(), getRegion(), getSessionID(), LLViewerRegion::getWidth(), gMessageSystem, llendl, llwarns, LLVector3d::mdV, LLSimInfo::mHandle, LLVector3::mV, LLMessageSystem::newMessageFast(), LLMessageSystem::nextBlockFast(), sendReliableMessage(), LLWorldMap::simInfoFromPosGlobal(), teleportCore(), teleportRequest(), to_region_handle_global(), VX, VY, and VZ.
Referenced by LLFloaterLandHoldings::buttonCore(), LLWorldMapView::handleDoubleClick(), LLEventNotifier::notifyCallback(), LLPanelPlace::onClickTeleport(), LLPanelPick::onClickTeleport(), LLPanelEvent::onClickTeleport(), LLPanelClassified::onClickTeleport(), LLWorldMap::processMapBlockReply(), LLURLDispatcherImpl::regionHandleCallback(), LLMapLayerResponder::result(), LLFloaterWorldMap::teleport(), and LLFloaterWorldMap::teleportToAvatar().
void LLAgent::teleportCancel | ( | ) |
Definition at line 5834 of file llagent.cpp.
References _PREHASH_AgentID, _PREHASH_Info, _PREHASH_SessionID, LLMessageSystem::addUUIDFast(), FALSE, getID(), getRegion(), getSessionID(), gMessageSystem, gTeleportDisplay, LLMessageSystem::newMessage(), LLMessageSystem::nextBlockFast(), sendReliableMessage(), setTeleportState(), and TELEPORT_NONE.
Referenced by LLProgressView::onCancelButtonClicked().
void LLAgent::setTargetVelocity | ( | const LLVector3 & | vel | ) |
const LLVector3& LLAgent::getTargetVelocity | ( | ) | const |
const std::string LLAgent::getTeleportSourceSLURL | ( | ) | const [inline] |
Definition at line 476 of file llagent.h.
References mTeleportSourceSLURL.
Referenced by process_agent_movement_complete().
void LLAgent::processAgentDataUpdate | ( | LLMessageSystem * | msg, | |
void ** | ||||
) | [static] |
Definition at line 5419 of file llagent.cpp.
References _PREHASH_ActiveGroupID, _PREHASH_AgentData, _PREHASH_AgentID, _PREHASH_GroupName, _PREHASH_GroupTitle, DB_GROUP_NAME_BUF_SIZE, DB_GROUP_TITLE_BUF_SIZE, gAgentID, LLMessageSystem::getString(), LLMessageSystem::getStringFast(), LLMessageSystem::getU64(), LLMessageSystem::getUUIDFast(), llendl, llwarns, mGroupID, mGroupName, mGroupPowers, mGroupTitle, LLUUID::notNull(), LLUUID::setNull(), and update_group_floaters().
Referenced by register_viewer_callbacks().
void LLAgent::processAgentGroupDataUpdate | ( | LLMessageSystem * | msg, | |
void ** | ||||
) | [static] |
Definition at line 5308 of file llagent.cpp.
References _PREHASH_AgentData, _PREHASH_AgentID, _PREHASH_GroupData, _PREHASH_GroupID, _PREHASH_GroupInsigniaID, _PREHASH_GroupName, DB_GROUP_NAME_BUF_SIZE, LLDynamicArray< Type, BlockSize >::find(), gAgentID, LLMessageSystem::getBOOL(), LLMessageSystem::getNumberOfBlocksFast(), LLMessageSystem::getS32(), LLMessageSystem::getStringFast(), LLMessageSystem::getU64(), LLMessageSystem::getUUIDFast(), i, llendl, llwarns, LLGroupData::mAcceptNotices, LLGroupData::mContribution, mGroups, LLGroupData::mID, LLGroupData::mInsigniaID, LLGroupData::mName, LLGroupData::mPowers, LLUUID::notNull(), LLDynamicArray< Type, BlockSize >::put(), LLDynamicArray< Type, BlockSize >::remove(), S32, and update_group_floaters().
Referenced by register_viewer_callbacks().
void LLAgent::processAgentDropGroup | ( | LLMessageSystem * | msg, | |
void ** | ||||
) | [static] |
Definition at line 5167 of file llagent.cpp.
References _PREHASH_AgentData, _PREHASH_AgentID, _PREHASH_GroupID, LLGroupMgr::clearGroupData(), LLFloaterGroupInfo::closeGroup(), LLDynamicArray< Type, BlockSize >::find(), gAgentID, getGroupID(), LLSingleton< LLGroupMgr >::getInstance(), LLMessageSystem::getUUIDFast(), llendl, llwarns, mGroupID, mGroupName, mGroupPowers, mGroups, mGroupTitle, LLGroupData::mID, LLFloaterDirectory::refreshGroup(), LLDynamicArray< Type, BlockSize >::remove(), S32, sendAgentDataUpdateRequest(), and LLUUID::setNull().
Referenced by register_viewer_callbacks().
void LLAgent::processScriptControlChange | ( | LLMessageSystem * | msg, | |
void ** | ||||
) | [static] |
Definition at line 5453 of file llagent.cpp.
References LLMessageSystem::getBOOL(), LLMessageSystem::getNumberOfBlocks(), LLMessageSystem::getU32(), i, mControlsTakenCount, mControlsTakenPassedOnCount, S32, TOTAL_CONTROLS, and LLFirstUse::useOverrideKeys().
Referenced by register_viewer_callbacks().
void LLAgent::processAgentCachedTextureResponse | ( | LLMessageSystem * | mesgsys, | |
void ** | user_data | |||
) | [static] |
Definition at line 5591 of file llagent.cpp.
References _PREHASH_AgentData, _PREHASH_SerialNum, _PREHASH_TextureID, _PREHASH_TextureIndex, _PREHASH_WearableData, BAKED_TEXTURE_COUNT, cameraCustomizeAvatar(), getAvatarObject(), LLMessageSystem::getNumberOfBlocksFast(), LLMessageSystem::getS32Fast(), LLMessageSystem::getU8Fast(), LLMessageSystem::getUUIDFast(), LLViewerObject::isDead(), llendl, llinfos, llwarns, mActiveCacheQueries, mNumPendingQueries, LLUUID::notNull(), S32, LLVOAvatar::sBakedTextureIndices, sendAgentSetAppearance(), LLVOAvatar::setCachedBakedTexture(), LLVOAvatar::setCompositeUpdatesEnabled(), TRUE, and LLVOAvatar::updateMeshTextures().
Referenced by register_viewer_callbacks().
BOOL LLAgent::isGrantedProxy | ( | const LLPermissions & | perm | ) |
Definition at line 5049 of file llagent.cpp.
References LLPermissions::getOwner(), and mProxyForAgents.
Referenced by allowOperation(), and LLSelectNode::allowOperationOnNode().
BOOL LLAgent::allowOperation | ( | PermissionBit | op, | |
const LLPermissions & | perm, | |||
U64 | group_proxy_power = 0 , |
|||
U8 | god_minimum = GOD_MAINTENANCE | |||
) |
Definition at line 5054 of file llagent.cpp.
References LLPermissions::allowOperationBy(), FALSE, getGodLevel(), LLPermissions::getGroup(), getID(), LLPermissions::getOwnership(), hasPowerInGroup(), isGrantedProxy(), isInGroup(), LLPermissions::isOwned(), LLUUID::null, PERM_OWNER, and TRUE.
Referenced by LLTaskInvFVBridge::buildContextMenu(), LLToolDragAndDrop::dad3dRezFromObjectOnLand(), LLTaskInvFVBridge::getDisplayName(), LLTaskInvFVBridge::isItemCopyable(), LLTaskInvFVBridge::isItemRenameable(), LLLiveLSLEditor::loadAsset(), LLPreviewLSL::loadAsset(), LLPreviewNotecard::loadAsset(), LLFloaterProperties::onCommitDescription(), LLFloaterProperties::onCommitName(), LLPreviewLSL::onLoadComplete(), LLPreviewNotecard::onLoadComplete(), LLFloaterProperties::refreshFromItem(), LLTaskInvFVBridge::renameItem(), LLTaskCategoryBridge::startDrag(), LLTaskInvFVBridge::startDrag(), and LLFloaterProperties::updateSaleInfo().
void LLAgent::initOriginGlobal | ( | const LLVector3d & | origin_global | ) |
Definition at line 5141 of file llagent.cpp.
References mAgentOriginGlobal.
Referenced by idle_startup().
BOOL LLAgent::leftButtonGrabbed | ( | ) | const [inline] |
Definition at line 506 of file llagent.h.
References cameraMouselook(), CONTROL_LBUTTON_DOWN_INDEX, CONTROL_ML_LBUTTON_DOWN_INDEX, mControlsTakenCount, and mControlsTakenPassedOnCount.
Referenced by LLToolCompGun::handleDoubleClick(), LLToolGrab::handleMouseDown(), LLToolCompGun::handleMouseDown(), and LLToolPie::pickAndShowMenu().
BOOL LLAgent::rotateGrabbed | ( | ) | const [inline] |
Definition at line 510 of file llagent.h.
References CONTROL_YAW_NEG_INDEX, CONTROL_YAW_POS_INDEX, and mControlsTakenCount.
Referenced by camera_spin_around_ccw_sitting(), camera_spin_around_cw_sitting(), and yaw().
BOOL LLAgent::forwardGrabbed | ( | ) | const [inline] |
Definition at line 512 of file llagent.h.
References CONTROL_AT_POS_INDEX, and mControlsTakenCount.
Referenced by camera_move_forward_sitting().
BOOL LLAgent::backwardGrabbed | ( | ) | const [inline] |
Definition at line 513 of file llagent.h.
References CONTROL_AT_NEG_INDEX, and mControlsTakenCount.
Referenced by camera_move_backward_sitting().
BOOL LLAgent::upGrabbed | ( | ) | const [inline] |
Definition at line 514 of file llagent.h.
References CONTROL_UP_POS_INDEX, and mControlsTakenCount.
Referenced by agent_jump(), and camera_spin_over_sitting().
BOOL LLAgent::downGrabbed | ( | ) | const [inline] |
Definition at line 515 of file llagent.h.
References CONTROL_UP_NEG_INDEX, and mControlsTakenCount.
Referenced by camera_spin_under_sitting().
BOOL LLAgent::anyControlGrabbed | ( | ) | const |
Definition at line 5647 of file llagent.cpp.
References FALSE, i, mControlsTakenCount, mControlsTakenPassedOnCount, TOTAL_CONTROLS, and TRUE.
Referenced by LLOverlayBar::refresh().
Definition at line 5660 of file llagent.cpp.
References mControlsTakenCount.
Referenced by LLOverlayBar::refresh().
void LLAgent::forceReleaseControls | ( | ) |
Definition at line 5665 of file llagent.cpp.
References LLMessageSystem::addUUID(), getID(), getSessionID(), gMessageSystem, LLMessageSystem::newMessage(), LLMessageSystem::nextBlock(), and sendReliableMessage().
Referenced by LLOverlayBar::onClickReleaseKeys().
BOOL LLAgent::sitCameraEnabled | ( | ) | [inline] |
Definition at line 526 of file llagent.h.
References mSitCameraEnabled.
Referenced by camera_move_backward_sitting(), camera_move_forward_sitting(), camera_spin_around_ccw_sitting(), camera_spin_around_cw_sitting(), camera_spin_over_sitting(), and camera_spin_under_sitting().
F32 LLAgent::getCurrentCameraBuildOffset | ( | ) | [inline] |
Definition at line 528 of file llagent.h.
References LLVector3d::magVec(), and mCameraFocusOffset.
Referenced by LLSelectMgr::updateSilhouettes().
BOOL LLAgent::setLookAt | ( | ELookAtType | target_type, | |
LLViewerObject * | object = NULL , |
|||
LLVector3 | position = LLVector3::zero | |||
) |
Contains ALL methods which directly access GL functionality except for core rendering engine functionality.
Definition at line 71 of file llglsandbox.cpp.
References LLVector3::clearVec(), LLHUDManager::createViewerEffect(), LLSingleton< LLHUDManager >::getInstance(), LLXform::getParent(), LLViewerObject::isAttachment(), LLHUDObject::LL_HUD_EFFECT_LOOKAT, mAvatarObject, and mLookAt.
Referenced by LLSelectMgr::confirmDelete(), LLHoverView::draw(), endAnimationUpdateUI(), LLToolPie::handleMouseUp(), LLToolGrab::handleObjectHit(), heardChat(), LLToolGrab::onMouseCaptureLost(), setCameraPosAndFocusGlobal(), setFocusGlobal(), startTyping(), updateCamera(), updateLookAt(), and LLSelectMgr::updatePointAt().
ELookAtType LLAgent::getLookAtType | ( | ) |
BOOL LLAgent::setPointAt | ( | EPointAtType | target_type, | |
LLViewerObject * | object = NULL , |
|||
LLVector3 | position = LLVector3::zero | |||
) |
Definition at line 96 of file llglsandbox.cpp.
References LLHUDManager::createViewerEffect(), FALSE, LLSingleton< LLHUDManager >::getInstance(), LLViewerObject::isAttachment(), LLHUDObject::LL_HUD_EFFECT_POINTAT, mAvatarObject, and mPointAt.
Referenced by LLToolGrab::handleObjectHit(), LLToolGrab::onMouseCaptureLost(), and LLSelectMgr::updatePointAt().
EPointAtType LLAgent::getPointAtType | ( | ) |
Definition at line 5674 of file llagent.cpp.
References mHaveHomePosition, mHomePosRegion, mHomeRegionHandle, and TRUE.
Referenced by idle_startup(), process_teleport_finish(), and setStartPosition().
BOOL LLAgent::getHomePosGlobal | ( | LLVector3d * | pos_global | ) |
Definition at line 5681 of file llagent.cpp.
References FALSE, from_region_handle(), mHaveHomePosition, mHomePosRegion, mHomeRegionHandle, LLVector3::mV, LLVector3d::setVec(), TRUE, VX, VY, and VZ.
Referenced by LLTracker::cacheLandmarkPosition(), and LLWorldMapView::draw().
void LLAgent::setCameraAnimating | ( | BOOL | b | ) | [inline] |
void LLAgent::setAnimationDuration | ( | F32 | seconds | ) | [inline] |
Definition at line 541 of file llagent.h.
References mAnimationDuration.
Referenced by setCameraPosAndFocusGlobal().
F32 LLAgent::getNearChatRadius | ( | ) | [inline] |
Definition at line 543 of file llagent.h.
References mNearChatRadius.
Referenced by get_text_color().
ETeleportState LLAgent::getTeleportState | ( | ) | const [inline] |
Definition at line 564 of file llagent.h.
References mTeleportState.
Referenced by display(), LLProgressView::onCancelButtonClicked(), process_agent_movement_complete(), process_teleport_failed(), process_teleport_local(), process_teleport_progress(), process_teleport_start(), send_agent_update(), and LLPostTeleportNotifiers::tick().
void LLAgent::setTeleportState | ( | ETeleportState | state | ) |
Definition at line 5894 of file llagent.cpp.
References LLControlGroup::getBOOL(), getSLURL(), gSavedSettings, LLFloaterSnapshot::hide(), mTeleportSourceSLURL, mTeleportState, TELEPORT_MOVING, and TELEPORT_NONE.
Referenced by display(), process_agent_movement_complete(), process_teleport_failed(), process_teleport_finish(), process_teleport_local(), process_teleport_start(), teleportCancel(), and teleportCore().
const LLString& LLAgent::getTeleportMessage | ( | ) | const [inline] |
Definition at line 566 of file llagent.h.
References mTeleportMessage.
Referenced by display().
void LLAgent::setTeleportMessage | ( | const LLString & | message | ) | [inline] |
Definition at line 567 of file llagent.h.
References mTeleportMessage.
Referenced by display(), process_teleport_finish(), and process_teleport_progress().
void LLAgent::fidget | ( | ) |
Definition at line 5908 of file llagent.cpp.
References ANIM_AGENT_STAND_1, ANIM_AGENT_STAND_2, ANIM_AGENT_STAND_3, ANIM_AGENT_STAND_4, ANIM_REQUEST_START, getAFK(), LLFrameTimer::getElapsedTimeF32(), ll_frand(), ll_rand(), MAX_FIDGET_TIME, mCurrentFidget, mFidgetTimer, MIN_FIDGET_TIME, mNextFidgetTime, NUM_AGENT_STAND_ANIMS, S32, sendAnimationRequest(), and stopFidget().
Referenced by LLVOAvatar::idleUpdate().
void LLAgent::requestEnterGodMode | ( | ) |
Definition at line 5967 of file llagent.cpp.
References _PREHASH_AgentData, _PREHASH_AgentID, _PREHASH_Godlike, _PREHASH_RequestBlock, _PREHASH_RequestGodlikePowers, _PREHASH_SessionID, _PREHASH_Token, LLMessageSystem::addBOOLFast(), LLMessageSystem::addUUIDFast(), getID(), getSessionID(), gMessageSystem, LLMessageSystem::newMessageFast(), LLMessageSystem::nextBlockFast(), LLUUID::null, sendReliableMessage(), and TRUE.
Referenced by handle_god_mode(), and idle_startup().
void LLAgent::requestLeaveGodMode | ( | ) |
Definition at line 5982 of file llagent.cpp.
References _PREHASH_AgentData, _PREHASH_AgentID, _PREHASH_Godlike, _PREHASH_RequestBlock, _PREHASH_RequestGodlikePowers, _PREHASH_SessionID, _PREHASH_Token, LLMessageSystem::addBOOLFast(), LLMessageSystem::addUUIDFast(), FALSE, getID(), getSessionID(), gMessageSystem, LLMessageSystem::newMessageFast(), LLMessageSystem::nextBlockFast(), LLUUID::null, and sendReliableMessage().
Referenced by handle_leave_god_mode().
void LLAgent::sendAgentSetAppearance | ( | ) |
Definition at line 6888 of file llagent.cpp.
References _PREHASH_AgentData, _PREHASH_AgentID, _PREHASH_AgentSetAppearance, _PREHASH_CacheID, _PREHASH_ObjectData, _PREHASH_ParamValue, _PREHASH_SerialNum, _PREHASH_SessionID, _PREHASH_Size, _PREHASH_TextureIndex, _PREHASH_VisualParam, _PREHASH_WearableData, LLMessageSystem::addU32Fast(), LLMessageSystem::addU8Fast(), LLMessageSystem::addUUIDFast(), LLMessageSystem::addVector3Fast(), BAKED_TEXTURE_COUNT, cameraCustomizeAvatar(), F32_to_U8(), FALSE, LLWearable::getID(), getID(), getSessionID(), getWearable(), gMessageSystem, IMG_DEFAULT_AVATAR, LLPointer< Type >::isNull(), llendl, llinfos, mAppearanceSerialNum, mAvatarObject, MAX_WEARABLES_PER_LAYERSET, mNumPendingQueries, mWearablesLoaded, LLMessageSystem::newMessageFast(), LLMessageSystem::nextBlockFast(), LLUUID::notNull(), S32, LLVOAvatar::sBakedTextureIndices, sendReliableMessage(), LLVOAvatar::TEX_EYES_BAKED, LLVOAvatar::TEX_HEAD_BAKED, LLVOAvatar::TEX_LOWER_BAKED, LLVOAvatar::TEX_SKIRT_BAKED, LLVOAvatar::TEX_UPPER_BAKED, VISUAL_PARAM_GROUP_TWEAKABLE, WEARABLE_BAKE_TEXTURE_MAP, and WT_SKIRT.
Referenced by LLUndoWearable::applyUndoRedo(), createStandardWearablesAllDone(), LLVOAvatar::idleUpdate(), LLPanelEditWearable::onColorCommit(), LLPanelEditWearable::onCommitSexChange(), LLVOAvatar::onCustomizeEnd(), LLVOAvatar::onCustomizeStart(), LLScrollingPanelParam::onHintMaxMouseUp(), LLScrollingPanelParam::onHintMinMouseUp(), onInitialWearableAssetArrived(), LLScrollingPanelParam::onSliderMouseUp(), LLPanelEditWearable::onTextureCommit(), process_agent_movement_complete(), processAgentCachedTextureResponse(), recoverMissingWearableDone(), removeWearableFinal(), revertWearable(), LLVOAvatar::setNewBakedTexture(), setWearableFinal(), setWearableOutfit(), and LLGenePool::spawn().
void LLAgent::sendAgentDataUpdateRequest | ( | ) |
Definition at line 7003 of file llagent.cpp.
References _PREHASH_AgentData, _PREHASH_AgentDataUpdateRequest, _PREHASH_AgentID, _PREHASH_SessionID, LLMessageSystem::addUUIDFast(), getID(), getSessionID(), gMessageSystem, LLMessageSystem::newMessageFast(), LLMessageSystem::nextBlockFast(), and sendReliableMessage().
Referenced by idle_startup(), LLAgentDropGroupViewerNode::post(), processAgentDropGroup(), LLGroupMgr::processCreateGroupReply(), LLGroupMgr::processJoinGroupReply(), and LLGroupMgr::processLeaveGroupReply().
BOOL LLAgent::getWearablesLoaded | ( | ) | const [inline] |
Definition at line 589 of file llagent.h.
References mWearablesLoaded.
Referenced by LLShowFloater::handleEvent(), LLEditEnableCustomizeAvatar::handleEvent(), idle_startup(), and LLToolBar::onClickAppearance().
void LLAgent::setWearable | ( | LLInventoryItem * | new_item, | |
LLWearable * | wearable | |||
) |
Definition at line 7240 of file llagent.cpp.
References LLViewerWindow::alertXml(), LLWearable::getID(), LLWearable::getType(), LLInventoryObject::getUUID(), gViewerWindow, LLWearable::isDirty(), lldebugs, llendl, LLAgent::LLWearableEntry::mItemID, LLAgent::LLWearableEntry::mWearable, mWearableEntry, onSetWearableDialog(), setWearableFinal(), and LLWearable::typeToTypeName().
Referenced by LLWearableBridge::onWearOnAvatarArrived().
void LLAgent::onSetWearableDialog | ( | S32 | option, | |
void * | userdata | |||
) | [static] |
Definition at line 7268 of file llagent.cpp.
References LLInventoryModel::getItem(), LLWearable::getType(), gInventory, llassert, LLSetWearableData::mNewItemID, LLSetWearableData::mNewWearable, saveWearable(), and setWearableFinal().
Referenced by setWearable().
void LLAgent::setWearableFinal | ( | LLInventoryItem * | new_item, | |
LLWearable * | new_wearable | |||
) |
Definition at line 7301 of file llagent.cpp.
References LLInventoryModel::addChangedMask(), LLInventoryItem::getAssetUUID(), LLWearable::getID(), LLWearable::getType(), LLInventoryObject::getUUID(), gInventory, LLInventoryObserver::LABEL, llassert, LLAgent::LLWearableEntry::mItemID, LLAgent::LLWearableEntry::mWearable, mWearableEntry, LLInventoryModel::notifyObservers(), queryWearableCache(), sendAgentSetAppearance(), sendAgentWearablesUpdate(), TRUE, and LLWearable::writeToAvatar().
Referenced by onSetWearableDialog(), and setWearable().
void LLAgent::setWearableOutfit | ( | const LLInventoryItem::item_array_t & | items, | |
const LLDynamicArray< LLWearable * > & | wearables, | |||
BOOL | remove | |||
) |
Definition at line 7133 of file llagent.cpp.
References LLInventoryModel::addChangedMask(), LLDynamicArray< Type, BlockSize >::count(), FALSE, LLWearable::getID(), LLWearable::getType(), gInventory, i, LLWearable::isDirty(), isTeen(), LLInventoryObserver::LABEL, llassert, lldebugs, llendl, LLAgent::LLWearableEntry::mItemID, LLAgent::LLWearableEntry::mWearable, mWearableEntry, mWearablesLoaded, LLInventoryModel::notifyObservers(), NULL, queryWearableCache(), LLWearable::removeFromAvatar(), S32, sendAgentSetAppearance(), sendAgentWearablesUpdate(), LLFloaterCustomize::setCurrentWearableType(), LLUUID::setNull(), TRUE, LLWearable::typeToTypeName(), WT_COUNT, WT_EYES, WT_GLOVES, WT_HAIR, WT_JACKET, WT_PANTS, WT_SHAPE, WT_SHIRT, WT_SHOES, WT_SKIN, WT_SKIRT, WT_SOCKS, WT_UNDERPANTS, and WT_UNDERSHIRT.
Referenced by wear_inventory_category_on_avatar_step3().
void LLAgent::queryWearableCache | ( | ) |
Definition at line 7326 of file llagent.cpp.
References _PREHASH_AgentCachedTexture, _PREHASH_AgentData, _PREHASH_AgentID, _PREHASH_ID, _PREHASH_SerialNum, _PREHASH_SessionID, _PREHASH_TextureIndex, _PREHASH_WearableData, LLMessageSystem::addS32Fast(), LLMessageSystem::addU8Fast(), LLMessageSystem::addUUIDFast(), BAKED_TEXTURE_COUNT, LLWearable::getID(), getID(), getRegion(), getSessionID(), getWearable(), gMessageSystem, llendl, llinfos, mActiveCacheQueries, MAX_WEARABLES_PER_LAYERSET, mNumPendingQueries, mTextureCacheQueryID, mWearablesLoaded, LLMessageSystem::newMessageFast(), LLMessageSystem::nextBlockFast(), LLUUID::notNull(), S32, LLMessageSystem::sendReliable(), and WEARABLE_BAKE_TEXTURE_MAP.
Referenced by onInitialWearableAssetArrived(), removeWearableFinal(), setWearableFinal(), and setWearableOutfit().
BOOL LLAgent::isWearableModifiable | ( | EWearableType | type | ) |
Definition at line 6342 of file llagent.cpp.
References LLPermissions::allowModifyBy(), FALSE, getGroupID(), getID(), LLInventoryModel::getItem(), LLInventoryItem::getPermissions(), getWearableItem(), gInventory, LLUUID::isNull(), and TRUE.
Referenced by LLPanelEditWearable::onCommitSexChange().
BOOL LLAgent::isWearableCopyable | ( | EWearableType | type | ) |
Definition at line 6357 of file llagent.cpp.
References LLPermissions::allowCopyBy(), FALSE, getGroupID(), getID(), LLInventoryModel::getItem(), LLInventoryItem::getPermissions(), getWearableItem(), gInventory, LLUUID::isNull(), and TRUE.
Referenced by makeNewOutfit(), and saveWearableAs().
BOOL LLAgent::needsReplacement | ( | EWearableType | wearableType, | |
S32 | remove | |||
) |
U32 LLAgent::getWearablePermMask | ( | EWearableType | type | ) |
Definition at line 6372 of file llagent.cpp.
References LLInventoryModel::getItem(), LLPermissions::getMaskOwner(), LLInventoryItem::getPermissions(), getWearableItem(), gInventory, LLUUID::isNull(), and PERM_NONE.
LLInventoryItem * LLAgent::getWearableInventoryItem | ( | EWearableType | type | ) |
Definition at line 6386 of file llagent.cpp.
References LLInventoryModel::getItem(), getWearableItem(), gInventory, LLUUID::notNull(), and NULL.
Referenced by LLPanelEditWearable::draw(), LLPanelEditWearable::onBtnRandomize(), LLPanelEditWearable::setSubpart(), LLFloaterCustomize::updateInventoryUI(), and LLFloaterCustomize::updateScrollingPanelUI().
LLWearable* LLAgent::getWearable | ( | EWearableType | type | ) | [inline] |
Definition at line 604 of file llagent.h.
References LLAgent::LLWearableEntry::mWearable, mWearableEntry, NULL, and WT_COUNT.
Referenced by LLPanelEditWearable::draw(), LLPanelEditWearable::isDirty(), LLBakedUploadData::LLBakedUploadData(), LLFloaterCustomize::onBtnMakeOutfit(), LLPanelEditWearable::onBtnSaveAs(), LLPanelEditWearable::onBtnTakeOff(), LLFloaterClothing::onClickTakeOff(), queryWearableCache(), saveWearableAs(), selfHasWearable(), and sendAgentSetAppearance().
Definition at line 6427 of file llagent.cpp.
References getWearableFromWearableItem(), and NULL.
Referenced by LLFloaterClothing::buildClothingList(), LLWearableBridge::canEditOnAvatar(), LLWearableBridge::canRemoveFromAvatar(), LLWearableBridge::canWearOnAvatar(), LLFolderBridge::dragCategoryIntoFolder(), LLFolderBridge::dragItemIntoFolder(), LLWearableBridge::getLabelStyle(), LLWearableBridge::getLabelSuffix(), LLToolDragAndDrop::isInventoryGiveAcceptable(), LLWearableBridge::isItemRemovable(), LLFolderBridge::isItemRemovable(), LLFloaterClothing::onCommitList(), LLWearableBridge::onRemoveFromAvatar(), LLWearableBridge::onRemoveFromAvatarArrived(), LLWearableBridge::openItem(), LLGiveable::operator()(), LLDropCopyableItems::operator()(), LLUncopyableItems::operator()(), LLDroppableItem::operator()(), LLIsNotWorn::operator()(), LLWearableBridge::performAction(), remove_inventory_category_from_avatar_step2(), LLWearableBridge::renameItem(), and LLToolDragAndDrop::willObjectAcceptInventory().
LLWearable * LLAgent::getWearableFromWearableItem | ( | const LLUUID & | item_id | ) |
Definition at line 6397 of file llagent.cpp.
References i, LLAgent::LLWearableEntry::mWearable, mWearableEntry, NULL, S32, and WT_COUNT.
Referenced by LLWearableBridge::editOnAvatar(), and isWearingItem().
const LLUUID& LLAgent::getWearableItem | ( | EWearableType | type | ) | [inline] |
Definition at line 607 of file llagent.h.
References LLAgent::LLWearableEntry::mItemID, mWearableEntry, LLUUID::null, and WT_COUNT.
Referenced by LLPanelEditWearable::draw(), LLFloaterCustomize::fetchInventory(), getWearableInventoryItem(), getWearablePermMask(), isWearableCopyable(), isWearableModifiable(), and LLWearable::writeToAvatar().
static EWearableType LLAgent::getTEWearableType | ( | S32 | te | ) | [static] |
void LLAgent::copyWearableToInventory | ( | EWearableType | type | ) |
Definition at line 7085 of file llagent.cpp.
References addWearableToAgentInventory(), LLWearableList::createCopyFromAvatar(), LLInventoryModel::getItem(), LLInventoryObject::getParentUUID(), LLInventoryItem::getPermissions(), gInventory, gWearableList, LLWearable::isDirty(), LLAgent::LLWearableEntry::mWearable, mWearableEntry, NULL, and LLWearable::setPermissions().
void LLAgent::makeNewOutfit | ( | const std::string & | new_folder_name, | |
const LLDynamicArray< S32 > & | wearables_to_include, | |||
const LLDynamicArray< S32 > & | attachments_to_include, | |||
BOOL | rename_clothing | |||
) |
Definition at line 6720 of file llagent.cpp.
References LLMessageSystem::addUUID(), LLAssetType::AT_CLOTHING, LLAssetType::AT_NONE, LLAgent::addWearableToAgentInventoryCallback::CALL_MAKENEWOUTFITDONE, LLAgent::addWearableToAgentInventoryCallback::CALL_NONE, copy_inventory_item(), LLDynamicArray< Type, BlockSize >::count(), LLWearableList::createCopy(), LLInventoryModel::createNewCategory(), DB_INV_ITEM_NAME_STR_LEN, FALSE, LLInventoryModel::findCategoryUUIDForType(), get_if_there(), getID(), LLInventoryModel::getItem(), LLViewerJointAttachment::getItemID(), LLViewerJointAttachment::getObject(), LLPermissions::getOwner(), LLInventoryObject::getParentUUID(), LLInventoryItem::getPermissions(), getSessionID(), LLWearable::getTypeLabel(), LLInventoryObject::getUUID(), gInventory, gMessageSystem, gWearableList, i, LLUUID::isNull(), LLPointer< Type >::isNull(), isWearableCopyable(), mAvatarObject, move_inventory_item(), LLAgent::LLWearableEntry::mWearable, mWearableEntry, LLMessageSystem::newMessage(), LLMessageSystem::nextBlock(), LLInventoryModel::notifyObservers(), NULL, S32, sendReliableMessage(), LLWearable::setName(), TRUE, and LLStringBase< char >::truncate().
Referenced by LLFloaterCustomize::onMakeOutfitCommit().
void LLAgent::makeNewOutfitDone | ( | S32 | index | ) |
Definition at line 6850 of file llagent.cpp.
References LLInventoryView::getActiveInventory(), LLInventoryView::getPanel(), LLAgent::LLWearableEntry::mItemID, mWearableEntry, LLUUID::notNull(), LLInventoryPanel::setSelection(), and TAKE_FOCUS_NO.
Referenced by LLAgent::addWearableToAgentInventoryCallback::fire().
void LLAgent::removeWearable | ( | EWearableType | type | ) |
Definition at line 7012 of file llagent.cpp.
References LLViewerWindow::alertXml(), gViewerWindow, LLWearable::isDirty(), isTeen(), LLAgent::LLWearableEntry::mWearable, mWearableEntry, onRemoveWearableDialog(), removeWearableFinal(), WT_UNDERPANTS, and WT_UNDERSHIRT.
Referenced by LLPanelEditWearable::onBtnTakeOff(), LLFloaterClothing::onClickTakeOff(), LLWearableBridge::onRemoveFromAvatarArrived(), userRemoveAllClothesStep2(), and userRemoveWearable().
void LLAgent::onRemoveWearableDialog | ( | S32 | option, | |
void * | userdata | |||
) | [static] |
Definition at line 7039 of file llagent.cpp.
References llassert, removeWearableFinal(), and saveWearable().
Referenced by removeWearable().
void LLAgent::removeWearableFinal | ( | EWearableType | type | ) |
Definition at line 7063 of file llagent.cpp.
References LLInventoryModel::addChangedMask(), gInventory, LLInventoryObserver::LABEL, LLAgent::LLWearableEntry::mItemID, LLAgent::LLWearableEntry::mWearable, mWearableEntry, LLInventoryModel::notifyObservers(), NULL, queryWearableCache(), LLWearable::removeFromAvatar(), sendAgentSetAppearance(), sendAgentWearablesUpdate(), LLUUID::setNull(), and TRUE.
Referenced by onRemoveWearableDialog(), and removeWearable().
void LLAgent::sendAgentWearablesUpdate | ( | ) |
Definition at line 6073 of file llagent.cpp.
References _PREHASH_AgentData, _PREHASH_AgentID, _PREHASH_AgentIsNowWearing, _PREHASH_ItemID, _PREHASH_SessionID, _PREHASH_WearableData, _PREHASH_WearableType, LLInventoryModel::addChangedMask(), LLMessageSystem::addU8Fast(), LLMessageSystem::addUUIDFast(), addWearableToAgentInventory(), LLAgent::addWearableToAgentInventoryCallback::CALL_NONE, LLWearable::getID(), getID(), getSessionID(), gInventory, gMessageSystem, i, LLInventoryObserver::LABEL, lldebugs, llendl, LLAgent::LLWearableEntry::mWearable, mWearableEntry, LLMessageSystem::newMessageFast(), LLMessageSystem::nextBlockFast(), LLInventoryModel::notifyObservers(), LLUUID::null, NULL, S32, sendReliableMessage(), LLWearable::typeToTypeLabel(), and WT_COUNT.
Referenced by createStandardWearablesAllDone(), LLAgent::addWearableToAgentInventoryCallback::fire(), removeWearableFinal(), saveAllWearables(), saveWearable(), setWearableFinal(), setWearableName(), setWearableOutfit(), and LLAgent::sendAgentWearablesUpdateCallback::~sendAgentWearablesUpdateCallback().
void LLAgent::addWearabletoAgentInventoryDone | ( | S32 | index, | |
const LLUUID & | item_id, | |||
LLWearable * | wearable | |||
) |
Only public because of addWearableToAgentInventoryCallback.
NOTE: Do not call this method unless you are the inventory callback. NOTE: This can suffer from race conditions when working on the same values for index.
index | The index in mWearableEntry. | |
item_id | The inventory item id of the new wearable to wear. | |
wearable | The actual wearable data. |
Definition at line 6045 of file llagent.cpp.
References LLInventoryModel::addChangedMask(), FALSE, LLWearable::getID(), LLInventoryModel::getItem(), LLWearable::getTransactionID(), gInventory, LLInventoryObserver::INTERNAL, LLUUID::isNull(), LLInventoryObserver::LABEL, LLAgent::LLWearableEntry::mItemID, LLAgent::LLWearableEntry::mWearable, mWearableEntry, LLInventoryModel::notifyObservers(), LLUUID::notNull(), LLInventoryItem::setAssetUUID(), LLViewerInventoryItem::setTransactionID(), and LLViewerInventoryItem::updateServer().
Referenced by LLAgent::addWearableToAgentInventoryCallback::fire().
void LLAgent::saveWearableAs | ( | EWearableType | type, | |
const std::string & | new_name, | |||
BOOL | save_in_lost_and_found | |||
) |
Definition at line 6188 of file llagent.cpp.
References LLAssetType::AT_LOST_AND_FOUND, LLAgent::addWearableToAgentInventoryCallback::CALL_UPDATE, copy_inventory_item(), LLWearableList::createCopyFromAvatar(), DB_INV_ITEM_NAME_STR_LEN, LLInventoryModel::findCategoryUUIDForType(), getID(), LLInventoryModel::getItem(), LLPermissions::getOwner(), LLInventoryObject::getParentUUID(), LLInventoryItem::getPermissions(), LLInventoryObject::getUUID(), getWearable(), gInventory, gWearableList, isWearableCopyable(), llendl, llwarns, mWearableEntry, NULL, and LLStringBase< char >::truncate().
Referenced by LLPanelEditWearable::onSaveAsCommit().
void LLAgent::saveWearable | ( | EWearableType | type, | |
BOOL | send_update = TRUE | |||
) |
Definition at line 6135 of file llagent.cpp.
References addWearableToAgentInventory(), LLAgent::addWearableToAgentInventoryCallback::CALL_NONE, LLAgent::addWearableToAgentInventoryCallback::CALL_UPDATE, LLWearableList::createCopyFromAvatar(), FALSE, LLWearable::getAssetType(), LLWearable::getID(), LLInventoryModel::getItem(), LLWearable::getTransactionID(), gInventory, gWearableList, LLWearable::isDirty(), LLWearable::isOldVersion(), mWearableEntry, NULL, S32, sendAgentWearablesUpdate(), and LLInventoryModel::updateItem().
Referenced by LLPanelEditWearable::onBtnSave(), onRemoveWearableDialog(), onSetWearableDialog(), and saveAllWearables().
void LLAgent::saveAllWearables | ( | ) |
Definition at line 6300 of file llagent.cpp.
References FALSE, i, S32, saveWearable(), sendAgentWearablesUpdate(), and WT_COUNT.
Referenced by LLFloaterCustomize::onBtnSaveAll(), and LLFloaterCustomize::onSaveAllDialog().
void LLAgent::revertWearable | ( | EWearableType | type | ) |
Definition at line 6282 of file llagent.cpp.
References mWearableEntry, S32, sendAgentSetAppearance(), TRUE, and LLWearable::writeToAvatar().
Referenced by LLPanelEditWearable::onBtnRevert(), and revertAllWearables().
void LLAgent::revertAllWearables | ( | ) |
Definition at line 6292 of file llagent.cpp.
References i, revertWearable(), S32, and WT_COUNT.
Referenced by LLFloaterCustomize::onSaveAllDialog().
void LLAgent::setWearableName | ( | const LLUUID & | item_id, | |
const std::string & | new_name | |||
) |
Definition at line 6315 of file llagent.cpp.
References LLWearableList::createCopy(), LLInventoryModel::getItem(), LLWearable::getName(), LLInventoryItem::getPermissions(), gInventory, gWearableList, i, llassert, LLAgent::LLWearableEntry::mWearable, mWearableEntry, S32, sendAgentWearablesUpdate(), LLWearable::setName(), LLWearable::setPermissions(), and WT_COUNT.
Referenced by LLWearableBridge::renameItem().
void LLAgent::createStandardWearables | ( | BOOL | female | ) |
Definition at line 6643 of file llagent.cpp.
References addWearableToAgentInventory(), LLAgent::addWearableToAgentInventoryCallback::CALL_CREATESTANDARDDONE, LLWearableList::createNewWearable(), FALSE, gWearableList, i, LLPointer< Type >::isNull(), llassert, llendl, llwarns, mAvatarObject, LLAgent::LLWearableEntry::mWearable, mWearableEntry, LLUUID::null, NULL, S32, SEX_FEMALE, SEX_MALE, TRUE, and WT_COUNT.
Referenced by callback_choose_gender().
void LLAgent::createStandardWearablesDone | ( | S32 | index | ) |
Definition at line 6698 of file llagent.cpp.
References LLAgent::LLWearableEntry::mWearable, mWearableEntry, TRUE, and LLWearable::writeToAvatar().
Referenced by LLAgent::addWearableToAgentInventoryCallback::fire().
void LLAgent::createStandardWearablesAllDone | ( | ) |
Definition at line 6708 of file llagent.cpp.
References mAvatarObject, mWearablesLoaded, sendAgentSetAppearance(), sendAgentWearablesUpdate(), and TRUE.
Referenced by LLAgent::createStandardWearablesAllDoneCallback::~createStandardWearablesAllDoneCallback().
BOOL LLAgent::areWearablesLoaded | ( | ) | [inline] |
Definition at line 654 of file llagent.h.
References mWearablesLoaded.
Referenced by LLToolDragAndDrop::dad3dWearCategory(), LLToolDragAndDrop::dad3dWearItem(), LLVOAvatar::updateVisibility(), and LLWearableBridge::wearOnAvatar().
void LLAgent::sendWalkRun | ( | bool | running | ) |
Definition at line 5028 of file llagent.cpp.
References _PREHASH_AgentData, _PREHASH_AgentID, _PREHASH_AlwaysRun, _PREHASH_SessionID, _PREHASH_SetAlwaysRun, LLMessageSystem::addBOOLFast(), LLMessageSystem::addUUIDFast(), getID(), getSessionID(), gMessageSystem, LLMessageSystem::newMessageFast(), LLMessageSystem::nextBlockFast(), and sendReliableMessage().
Referenced by agent_handle_doubletap_run(), LLWorldAlwaysRun::handleEvent(), and process_agent_movement_complete().
void LLAgent::observeFriends | ( | ) |
Definition at line 7454 of file llagent.cpp.
References LLAvatarTracker::addObserver(), friendsChanged(), LLAvatarTracker::instance(), and mFriendObserver.
Referenced by idle_startup().
void LLAgent::friendsChanged | ( | ) |
Definition at line 5042 of file llagent.cpp.
References LLAvatarTracker::applyFunctor(), LLAvatarTracker::instance(), LLCollectProxyBuddies::mProxy, and mProxyForAgents.
Referenced by LLAgentFriendObserver::changed(), and observeFriends().
void LLAgent::stopFidget | ( | ) | [static] |
Definition at line 5955 of file llagent.cpp.
References ANIM_AGENT_STAND_1, ANIM_AGENT_STAND_2, ANIM_AGENT_STAND_3, ANIM_AGENT_STAND_4, ANIM_REQUEST_STOP, LLDynamicArray< Type, BlockSize >::put(), and sendAnimationRequests().
Referenced by fidget(), and onAnimStop().
void LLAgent::processAgentInitialWearablesUpdate | ( | LLMessageSystem * | mesgsys, | |
void ** | user_data | |||
) | [static] |
Definition at line 6434 of file llagent.cpp.
References _PREHASH_AgentData, _PREHASH_AgentID, _PREHASH_AssetID, _PREHASH_ItemID, _PREHASH_SerialNum, _PREHASH_WearableData, _PREHASH_WearableType, LLAssetType::AT_NONE, FALSE, LLWearableList::getAsset(), getAvatarObject(), LLVOAvatar::getID(), LLMessageSystem::getNumberOfBlocksFast(), LLMessageSystem::getU32Fast(), LLMessageSystem::getU8Fast(), LLMessageSystem::getUUIDFast(), gMessageSystem, gNoRender, gWearableList, i, LLUUID::isNull(), lldebugs, llendl, mAgentWearablesUpdateSerialNum, LLAgent::LLWearableEntry::mItemID, mWearableEntry, LLStringBase< char >::null, onInitialWearableAssetArrived(), LLWearable::removeFromAvatar(), S32, setGenderChosen(), TRUE, LLWearable::typeToAssetType(), LLWearable::typeToTypeLabel(), and WT_COUNT.
Referenced by register_viewer_callbacks().
void LLAgent::userRemoveWearable | ( | void * | userdata | ) | [static] |
((!gAgent.isTeen()) && ( type==WT_UNDERPANTS || type==WT_UNDERSHIRT )) )
Definition at line 7385 of file llagent.cpp.
References removeWearable(), WT_HAIR, WT_SHAPE, and WT_SKIN.
Referenced by LLEditTakeOff::handleEvent().
void LLAgent::userRemoveAllClothes | ( | void * | userdata | ) | [static] |
Definition at line 7396 of file llagent.cpp.
References LLFloaterCustomize::askToSaveAllIfDirty(), gFloaterCustomize, NULL, TRUE, and userRemoveAllClothesStep2().
Referenced by LLEditTakeOff::handleEvent().
void LLAgent::userRemoveAllClothesStep2 | ( | BOOL | proceed, | |
void * | userdata | |||
) | [static] |
Definition at line 7409 of file llagent.cpp.
References removeWearable(), WT_GLOVES, WT_JACKET, WT_PANTS, WT_SHIRT, WT_SHOES, WT_SKIRT, WT_SOCKS, WT_UNDERPANTS, and WT_UNDERSHIRT.
Referenced by userRemoveAllClothes().
void LLAgent::userRemoveAllAttachments | ( | void * | userdata | ) | [static] |
Definition at line 7425 of file llagent.cpp.
References _PREHASH_AgentData, _PREHASH_AgentID, _PREHASH_ObjectData, _PREHASH_ObjectLocalID, _PREHASH_SessionID, LLMessageSystem::addU32Fast(), LLMessageSystem::addUUIDFast(), getAvatarObject(), getID(), LLViewerObject::getLocalID(), LLViewerJointAttachment::getObject(), getRegionHost(), getSessionID(), gMessageSystem, llendl, llwarns, LLVOAvatar::mAttachmentPoints, LLMessageSystem::newMessage(), LLMessageSystem::nextBlockFast(), and LLMessageSystem::sendReliable().
Referenced by LLSelfRemoveAllAttachments::handleEvent(), and wear_inventory_category_on_avatar_step2().
BOOL LLAgent::selfHasWearable | ( | void * | userdata | ) | [static] |
Definition at line 6421 of file llagent.cpp.
References getWearable(), and NULL.
Referenced by LLEditEnableTakeOff::handleEvent().
void LLAgent::clearVisualParams | ( | void * | data | ) | [static] |
Definition at line 5694 of file llagent.cpp.
References LLCharacter::clearVisualParamWeights(), getAvatarObject(), and LLVOAvatar::updateVisualParams().
Referenced by init_debug_avatar_menu().
bool LLAgent::teleportCore | ( | bool | is_local = false |
) | [protected] |
Definition at line 5710 of file llagent.cpp.
References LLViewerParcelMgr::deselectLand(), FALSE, getAvatarObject(), LLSingleton< LLViewerStats >::getInstance(), LLSingleton< LLViewerParcelMgr >::getInstance(), gPipeline, gTeleportDisplay, LLFloaterDirectory::hide(), LLFloaterWorldMap::hide(), LLViewerStats::incStat(), llendl, llwarns, make_ui_sound(), LLVOAvatar::mPlayingAnimations, mTeleportState, NULL, LLVOAvatar::processAnimationStateChanges(), LLPipeline::resetVertexBuffers(), resetView(), setTeleportState(), LLViewerStats::ST_TELEPORT_COUNT, LLVOAvatar::stopMotion(), TELEPORT_NONE, TELEPORT_START, and TRUE.
Referenced by teleportRequest(), teleportViaLandmark(), teleportViaLocation(), and teleportViaLure().
void LLAgent::ageChat | ( | ) | [protected] |
Definition at line 553 of file llagent.cpp.
References CHAT_AGE_FAST_RATE, gFrameDTClamped, and mAvatarObject.
Referenced by moveAt(), moveAtNudge(), moveLeft(), moveLeftNudge(), and moveUp().
void LLAgent::sendAgentWearablesRequest | ( | ) | [protected] |
Definition at line 6410 of file llagent.cpp.
References _PREHASH_AgentData, _PREHASH_AgentID, _PREHASH_AgentWearablesRequest, _PREHASH_SessionID, LLMessageSystem::addUUIDFast(), getID(), getSessionID(), gMessageSystem, LLMessageSystem::newMessageFast(), LLMessageSystem::nextBlockFast(), and sendReliableMessage().
Referenced by setAvatarObject().
void LLAgent::onInitialWearableAssetArrived | ( | LLWearable * | wearable, | |
void * | userdata | |||
) | [static, protected] |
Definition at line 6531 of file llagent.cpp.
References LLInventoryModel::addChangedMask(), cameraCustomizeAvatar(), FALSE, getAvatarObject(), LLWearable::getType(), gInventory, i, LLUUID::isNull(), LLInventoryObserver::LABEL, llassert, LLAgent::LLWearableEntry::mItemID, LLAgent::LLWearableEntry::mWearable, mWearableEntry, mWearablesLoaded, LLInventoryModel::notifyObservers(), queryWearableCache(), recoverMissingWearable(), LLVOAvatar::requestLayerSetUploads(), S32, sendAgentSetAppearance(), LLVOAvatar::setCompositeUpdatesEnabled(), LLVOAvatar::setupComposites(), TRUE, LLWearable::writeToAvatar(), and WT_COUNT.
Referenced by processAgentInitialWearablesUpdate().
void LLAgent::recoverMissingWearable | ( | EWearableType | type | ) | [protected] |
Definition at line 6593 of file llagent.cpp.
References addWearableToAgentInventory(), LLAssetType::AT_LOST_AND_FOUND, LLAgent::addWearableToAgentInventoryCallback::CALL_RECOVERDONE, LLWearableList::createNewWearable(), LLInventoryModel::findCategoryUUIDForType(), gInventory, gWearableList, lldebugs, llendl, LLAgent::LLWearableEntry::mWearable, mWearableEntry, NULL, S32, LLNotifyBox::showXml(), TRUE, LLWearable::typeToTypeLabel(), and LLWearable::writeToAvatar().
Referenced by onInitialWearableAssetArrived().
void LLAgent::recoverMissingWearableDone | ( | ) | [protected] |
Definition at line 6618 of file llagent.cpp.
References LLInventoryModel::addChangedMask(), FALSE, gInventory, i, LLInventoryObserver::LABEL, LLAgent::LLWearableEntry::mWearable, mWearableEntry, mWearablesLoaded, LLInventoryModel::notifyObservers(), LLUUID::null, S32, sendAgentSetAppearance(), TRUE, and WT_COUNT.
Referenced by LLAgent::addWearableToAgentInventoryCallback::fire().
void LLAgent::addWearableToAgentInventory | ( | LLPointer< LLInventoryCallback > | cb, | |
LLWearable * | wearable, | |||
const LLUUID & | category_id = LLUUID::null , |
|||
BOOL | notify = TRUE | |||
) | [protected] |
Definition at line 6865 of file llagent.cpp.
References create_inventory_item(), LLWearable::getAssetType(), LLWearable::getDescription(), getID(), LLPermissions::getMaskNextOwner(), LLWearable::getName(), LLWearable::getPermissions(), getSessionID(), LLWearable::getTransactionID(), LLWearable::getType(), and LLInventoryType::IT_WEARABLE.
Referenced by copyWearableToInventory(), createStandardWearables(), recoverMissingWearable(), saveWearable(), and sendAgentWearablesUpdate().
void LLAgent::parseTeleportMessages | ( | const LLString & | xml_filename | ) | [static] |
Definition at line 7464 of file llagent.cpp.
References LLUICtrlFactory::getLayeredXMLNode(), llendl, llerrs, NULL, sTeleportErrorMessages, and sTeleportProgressMessages.
Referenced by LLAppViewer::init().
std::ostream& operator<< | ( | std::ostream & | s, | |
const LLAgent & | sphere | |||
) | [friend] |
Definition at line 2620 of file llagent.cpp.
const F32 LLAgent::TYPING_TIMEOUT_SECS = 5.f [static] |
Definition at line 126 of file llagent.h.
Referenced by LLFloaterIMPanel::draw(), and getRenderState().
Definition at line 583 of file llagent.h.
Referenced by calcCameraPositionTargetGlobal(), calcFocusPositionTargetGlobal(), changeCameraToFollow(), handleScrollWheel(), LLAgent(), and updateCamera().
Definition at line 693 of file llagent.h.
Referenced by cameraOrbitIn(), cameraZoomIn(), LLAppViewer::cleanupSavedSettings(), display_update_camera(), getCameraZoomFraction(), handleRenderFarClipChanged(), idle_startup(), init(), LLViewerWindow::mousePointOnLandGlobal(), send_agent_update(), setCameraZoomFraction(), and LLViewerCamera::setPerspective().
Definition at line 695 of file llagent.h.
Referenced by handle_dump_group_info(), LLAgentDropGroupViewerNode::post(), processAgentDataUpdate(), and processAgentDropGroup().
Definition at line 696 of file llagent.h.
Referenced by isGroupTitleHidden(), setHideGroupTitle(), and settings_to_globals().
Definition at line 697 of file llagent.h.
Referenced by buildFullnameAndTitle(), handle_dump_group_info(), LLAgentDropGroupViewerNode::post(), processAgentDataUpdate(), and processAgentDropGroup().
Definition at line 698 of file llagent.h.
Referenced by handle_dump_group_info(), handle_leave_group(), LLAgentDropGroupViewerNode::post(), processAgentDataUpdate(), processAgentDropGroup(), and LLFloaterBuyLandUI::refreshUI().
Definition at line 699 of file llagent.h.
Referenced by callback_leave_group(), getGroupID(), handle_dump_group_info(), hasPowerInActiveGroup(), isGroupMember(), LLAgentDropGroupViewerNode::post(), processAgentDataUpdate(), and processAgentDropGroup().
std::string LLAgent::mMOTD |
Definition at line 709 of file llagent.h.
Referenced by cleanup(), getLookAtType(), setAvatarObject(), setLookAt(), and LLHUDEffectLookAt::unpackData().
Definition at line 710 of file llagent.h.
Referenced by cleanup(), getPointAtType(), LLVOAvatar::idleUpdate(), setAvatarObject(), setPointAt(), and LLHUDEffectPointAt::unpackData().
Definition at line 712 of file llagent.h.
Referenced by LLPanelGroups::enableButtons(), getGroupContribution(), getGroupData(), getPowerInGroup(), hasPowerInGroup(), init_group_list(), isInGroup(), join_group_callback(), LLPanelGroups::leave(), LLAgentGroupDataUpdateViewerNode::post(), LLAgentDropGroupViewerNode::post(), LLFloaterLandHoldings::postBuild(), LLPanelGroups::postBuild(), processAgentDropGroup(), processAgentGroupDataUpdate(), LLGroupMgr::processCreateGroupReply(), LLPanelGroups::reset(), LLPanelAvatar::resetGroupList(), setGroupContribution(), and setUserGroupFlags().
Definition at line 714 of file llagent.h.
Referenced by LLAppViewer::cleanupSavedSettings(), and init().
BOOL LLAgent::sDebugDisplayTarget = FALSE [static] |
Definition at line 716 of file llagent.h.
Referenced by init_debug_avatar_menu(), and LLDrawPoolAvatar::renderAvatars().
Definition at line 717 of file llagent.h.
Referenced by LLTexLayerSetBuffer::needsRender(), processAgentCachedTextureResponse(), queryWearableCache(), LLTexLayerSetBuffer::render(), and sendAgentSetAppearance().
Definition at line 718 of file llagent.h.
Referenced by LLAgent(), processAgentCachedTextureResponse(), queryWearableCache(), and ~LLAgent().
Definition at line 720 of file llagent.h.
Referenced by process_avatar_sit_response(), and LLVOAvatar::sitOnObject().
std::map< LLString, LLString > LLAgent::sTeleportErrorMessages [static] |
Definition at line 726 of file llagent.h.
Referenced by LLAppViewer::forceDisconnect(), idle_startup(), parseTeleportMessages(), and process_teleport_failed().
std::map< LLString, LLString > LLAgent::sTeleportProgressMessages [static] |
Definition at line 727 of file llagent.h.
Referenced by display(), parseTeleportMessages(), process_teleport_finish(), and process_teleport_progress().
bool LLAgent::mbAlwaysRun [private] |
Definition at line 733 of file llagent.h.
Referenced by clearAlwaysRun(), getAlwaysRun(), and setAlwaysRun().
bool LLAgent::mbRunning [private] |
Definition at line 734 of file llagent.h.
Referenced by clearRunning(), getRunning(), and setRunning().
U8 LLAgent::mAccess [private] |
ETeleportState LLAgent::mTeleportState [private] |
Definition at line 738 of file llagent.h.
Referenced by getTeleportState(), setTeleportState(), and teleportCore().
LLString LLAgent::mTeleportMessage [private] |
Definition at line 739 of file llagent.h.
Referenced by getTeleportMessage(), and setTeleportMessage().
S32 LLAgent::mControlsTakenCount[TOTAL_CONTROLS] [private] |
Definition at line 741 of file llagent.h.
Referenced by anyControlGrabbed(), backwardGrabbed(), downGrabbed(), forwardGrabbed(), isControlGrabbed(), leftButtonGrabbed(), LLAgent(), processScriptControlChange(), rotateGrabbed(), and upGrabbed().
Definition at line 742 of file llagent.h.
Referenced by anyControlGrabbed(), leftButtonGrabbed(), LLAgent(), and processScriptControlChange().
LLViewerRegion* LLAgent::mRegionp [private] |
Definition at line 744 of file llagent.h.
Referenced by canManageEstate(), cleanup(), getRegion(), getRegionHost(), inPrelude(), sendAnimationRequest(), sendMessage(), sendReliableMessage(), setRegion(), and setStartPosition().
LLVector3d LLAgent::mAgentOriginGlobal [private] |
Definition at line 745 of file llagent.h.
Referenced by getPosAgentFromGlobal(), getPosGlobalFromAgent(), initOriginGlobal(), setPositionAgent(), and setRegion().
LLVector3d LLAgent::mPositionGlobal [mutable, private] |
Definition at line 746 of file llagent.h.
Referenced by getPositionGlobal(), and setPositionAgent().
std::string LLAgent::mTeleportSourceSLURL [private] |
Definition at line 748 of file llagent.h.
Referenced by getTeleportSourceSLURL(), and setTeleportState().
std::set<U64> LLAgent::mRegionsVisited [private] |
F64 LLAgent::mDistanceTraveled [private] |
LLVector3d LLAgent::mLastPositionGlobal [private] |
LLPointer<LLVOAvatar> LLAgent::mAvatarObject [private] |
Definition at line 754 of file llagent.h.
Referenced by ageChat(), autoPilot(), buildFullname(), buildFullnameAndTitle(), calcCameraPositionTargetGlobal(), calcFocusPositionTargetGlobal(), cameraZoomIn(), changeCameraToCustomizeAvatar(), changeCameraToFollow(), changeCameraToMouselook(), changeCameraToThirdPerson(), clampPitchToLimits(), cleanup(), clearAFK(), createStandardWearables(), createStandardWearablesAllDone(), endAnimationUpdateUI(), getAvatarObject(), getCameraZoomFraction(), getHeadRotation(), getName(), getPositionAgent(), getPositionGlobal(), getReferenceUpVector(), getVelocity(), lookAtLastChat(), makeNewOutfit(), onAnimStop(), propagate(), resetView(), sendAgentSetAppearance(), setAvatarObject(), setCameraZoomFraction(), setFlying(), setFocusGlobal(), setFocusOnAvatar(), setLookAt(), setPointAt(), setPositionAgent(), setStartPosition(), setupSitCamera(), unlockView(), updateCamera(), and updateLookAt().
U8 LLAgent::mRenderState [private] |
Definition at line 756 of file llagent.h.
Referenced by clearRenderState(), getRenderState(), setRenderState(), and stopTyping().
LLFrameTimer LLAgent::mTypingTimer [private] |
Definition at line 757 of file llagent.h.
Referenced by getRenderState(), getTypingTime(), and startTyping().
ECameraMode LLAgent::mCameraMode [private] |
Definition at line 759 of file llagent.h.
Referenced by calcCameraFOVZoomFactor(), calcCameraPositionTargetGlobal(), calcFocusPositionTargetGlobal(), cameraCustomizeAvatar(), cameraFollow(), cameraMouselook(), cameraOrbitAround(), cameraOrbitIn(), cameraOrbitOver(), cameraThirdPerson(), changeCameraToCustomizeAvatar(), changeCameraToFollow(), changeCameraToMouselook(), changeCameraToThirdPerson(), endAnimationUpdateUI(), getCameraMinOffGround(), getCameraMode(), getReferenceUpVector(), handleScrollWheel(), onAppFocusGained(), setCameraPosAndFocusGlobal(), setFocusOnAvatar(), and updateCamera().
ECameraMode LLAgent::mLastCameraMode [private] |
Definition at line 760 of file llagent.h.
Referenced by cameraFollow(), cameraMouselook(), cameraThirdPerson(), changeCameraToCustomizeAvatar(), changeCameraToFollow(), changeCameraToMouselook(), changeCameraToThirdPerson(), endAnimationUpdateUI(), getReferenceUpVector(), and updateCamera().
BOOL LLAgent::mViewsPushed [private] |
BOOL LLAgent::mCustomAnim [private] |
Definition at line 763 of file llagent.h.
Referenced by changeCameraToCustomizeAvatar(), endAnimationUpdateUI(), and LLAgent().
BOOL LLAgent::mShowAvatar [private] |
Definition at line 764 of file llagent.h.
Referenced by needsRenderAvatar(), needsRenderHead(), and updateCamera().
BOOL LLAgent::mCameraAnimating [private] |
Definition at line 765 of file llagent.h.
Referenced by calcCameraPositionTargetGlobal(), changeCameraToCustomizeAvatar(), changeCameraToFollow(), changeCameraToMouselook(), changeCameraToThirdPerson(), getReferenceUpVector(), handleScrollWheel(), lookAtLastChat(), setCameraAnimating(), setCameraPosAndFocusGlobal(), startCameraAnimation(), stopCameraAnimation(), and updateCamera().
Definition at line 766 of file llagent.h.
Referenced by setCameraPosAndFocusGlobal(), startCameraAnimation(), and updateCamera().
LLFrameTimer LLAgent::mAnimationTimer [private] |
F32 LLAgent::mAnimationDuration [private] |
Definition at line 769 of file llagent.h.
Referenced by changeCameraToCustomizeAvatar(), setAnimationDuration(), startCameraAnimation(), and updateCamera().
F32 LLAgent::mCameraFOVZoomFactor [private] |
Definition at line 770 of file llagent.h.
Referenced by calcCameraFOVZoomFactor(), calcFocusOffset(), resetCamera(), setFocusGlobal(), setFocusOnAvatar(), updateCamera(), and validateFocusObject().
F32 LLAgent::mCameraCurrentFOVZoomFactor [private] |
F32 LLAgent::mCameraFOVDefault [private] |
LLVector3d LLAgent::mCameraFocusOffset [private] |
Definition at line 773 of file llagent.h.
Referenced by calcCameraFOVZoomFactor(), calcCameraPositionTargetGlobal(), getCurrentCameraBuildOffset(), setCameraPosAndFocusGlobal(), setFocusGlobal(), and updateCamera().
LLVector3d LLAgent::mCameraFocusOffsetTarget [private] |
Definition at line 774 of file llagent.h.
Referenced by cameraOrbitAround(), cameraOrbitIn(), cameraOrbitOver(), cameraZoomIn(), getCameraZoomFraction(), handleScrollWheel(), init(), lookAtLastChat(), setCameraPosAndFocusGlobal(), setCameraZoomFraction(), setFocusGlobal(), and updateCamera().
LLVector3 LLAgent::mCameraOffsetDefault [private] |
Definition at line 775 of file llagent.h.
Referenced by calcCameraPositionTargetGlobal(), cameraOrbitIn(), handleScrollWheel(), and init().
LLVector4 LLAgent::mCameraCollidePlane [private] |
Definition at line 776 of file llagent.h.
Referenced by calcCameraPositionTargetGlobal(), init(), and setCameraCollidePlane().
F32 LLAgent::mCurrentCameraDistance [private] |
Definition at line 777 of file llagent.h.
Referenced by calcCameraPositionTargetGlobal(), changeCameraToThirdPerson(), and init().
F32 LLAgent::mTargetCameraDistance [private] |
Definition at line 778 of file llagent.h.
Referenced by calcCameraPositionTargetGlobal(), cameraOrbitIn(), changeCameraToThirdPerson(), handleScrollWheel(), and init().
F32 LLAgent::mCameraZoomFraction [private] |
Definition at line 779 of file llagent.h.
Referenced by calcCameraPositionTargetGlobal(), cameraOrbitIn(), changeCameraToThirdPerson(), getCameraZoomFraction(), init(), and setCameraZoomFraction().
LLVector3 LLAgent::mCameraLag [private] |
Definition at line 780 of file llagent.h.
Referenced by calcCameraPositionTargetGlobal(), changeCameraToThirdPerson(), and endAnimationUpdateUI().
LLVector3 LLAgent::mThirdPersonHeadOffset [private] |
Definition at line 781 of file llagent.h.
Referenced by calcCameraPositionTargetGlobal(), and setThirdPersonHeadOffset().
LLVector3 LLAgent::mCameraPositionAgent [private] |
BOOL LLAgent::mSitCameraEnabled [private] |
Definition at line 784 of file llagent.h.
Referenced by calcCameraPositionTargetGlobal(), calcFocusPositionTargetGlobal(), setSitCamera(), sitCameraEnabled(), and updateCamera().
LLVector3 LLAgent::mSitCameraPos [private] |
Definition at line 785 of file llagent.h.
Referenced by calcCameraPositionTargetGlobal(), and setSitCamera().
LLVector3 LLAgent::mSitCameraFocus [private] |
Definition at line 786 of file llagent.h.
Referenced by calcFocusPositionTargetGlobal(), and setSitCamera().
LLVector3 LLAgent::mCameraUpVector [private] |
Definition at line 794 of file llagent.h.
Referenced by calcCameraPositionTargetGlobal(), calcFocusPositionTargetGlobal(), setSitCamera(), and updateCamera().
BOOL LLAgent::mFocusOnAvatar [private] |
Definition at line 796 of file llagent.h.
Referenced by calcCameraPositionTargetGlobal(), calcFocusPositionTargetGlobal(), cameraOrbitAround(), cameraOrbitIn(), cameraOrbitOver(), getCameraZoomFraction(), getFocusOnAvatar(), handleScrollWheel(), setCameraZoomFraction(), setFocusOnAvatar(), and updateCamera().
LLVector3d LLAgent::mFocusGlobal [private] |
Definition at line 797 of file llagent.h.
Referenced by cameraPanIn(), cameraPanLeft(), cameraPanUp(), getFocusGlobal(), startCameraAnimation(), and updateCamera().
LLVector3d LLAgent::mFocusTargetGlobal [private] |
Definition at line 798 of file llagent.h.
Referenced by calcCameraMinDistance(), calcFocusOffset(), calcFocusPositionTargetGlobal(), cameraPanIn(), cameraPanLeft(), cameraPanUp(), getFocusTargetGlobal(), setCameraPosAndFocusGlobal(), setFocusGlobal(), and updateFocusOffset().
LLPointer<LLViewerObject> LLAgent::mFocusObject [private] |
Definition at line 799 of file llagent.h.
Referenced by calcCameraFOVZoomFactor(), calcCameraMinDistance(), calcFocusPositionTargetGlobal(), cameraOrbitIn(), cameraZoomIn(), clearFocusObject(), getCameraZoomFraction(), getFocusObject(), setCameraPosAndFocusGlobal(), setCameraZoomFraction(), setFocusGlobal(), setFocusObject(), updateCamera(), updateFocusOffset(), and validateFocusObject().
F32 LLAgent::mFocusObjectDist [private] |
Definition at line 800 of file llagent.h.
Referenced by calcCameraFOVZoomFactor(), and getFocusObjectDist().
LLVector3 LLAgent::mFocusObjectOffset [private] |
Definition at line 801 of file llagent.h.
Referenced by calcCameraFOVZoomFactor(), calcCameraMinDistance(), calcFocusPositionTargetGlobal(), clearFocusObject(), updateFocusOffset(), and validateFocusObject().
F32 LLAgent::mFocusDotRadius [private] |
BOOL LLAgent::mTrackFocusObject [private] |
Definition at line 803 of file llagent.h.
Referenced by calcFocusPositionTargetGlobal(), init(), and setObjectTracking().
F32 LLAgent::mUIOffset [private] |
LLCoordFrame LLAgent::mFrameAgent [private] |
Definition at line 806 of file llagent.h.
Referenced by autoPilot(), calcCameraPositionTargetGlobal(), calcFocusPositionTargetGlobal(), cameraOrbitAround(), changeCameraToCustomizeAvatar(), changeCameraToThirdPerson(), clampPitchToLimits(), getAtAxis(), getFrameAgent(), getHeadRotation(), getLeftAxis(), getPositionAgent(), getPositionGlobal(), getQuat(), getUpAxis(), operator<<(), pitch(), resetAxes(), resetCamera(), roll(), rotate(), setPositionAgent(), setStartPosition(), setupSitCamera(), updateCamera(), updateLookAt(), and yaw().
BOOL LLAgent::mCrouching [private] |
BOOL LLAgent::mIsBusy [private] |
S32 LLAgent::mAtKey [private] |
S32 LLAgent::mWalkKey [private] |
S32 LLAgent::mLeftKey [private] |
Definition at line 813 of file llagent.h.
Referenced by LLAgent(), moveLeft(), moveLeftNudge(), and propagate().
S32 LLAgent::mUpKey [private] |
F32 LLAgent::mYawKey [private] |
S32 LLAgent::mPitchKey [private] |
F32 LLAgent::mOrbitLeftKey [private] |
Definition at line 818 of file llagent.h.
Referenced by LLAgent(), setOrbitLeftKey(), and updateCamera().
F32 LLAgent::mOrbitRightKey [private] |
Definition at line 819 of file llagent.h.
Referenced by LLAgent(), setOrbitRightKey(), and updateCamera().
F32 LLAgent::mOrbitUpKey [private] |
Definition at line 820 of file llagent.h.
Referenced by LLAgent(), setOrbitUpKey(), and updateCamera().
F32 LLAgent::mOrbitDownKey [private] |
Definition at line 821 of file llagent.h.
Referenced by LLAgent(), setOrbitDownKey(), and updateCamera().
F32 LLAgent::mOrbitInKey [private] |
Definition at line 822 of file llagent.h.
Referenced by LLAgent(), setOrbitInKey(), and updateCamera().
F32 LLAgent::mOrbitOutKey [private] |
Definition at line 823 of file llagent.h.
Referenced by LLAgent(), setOrbitOutKey(), and updateCamera().
F32 LLAgent::mPanUpKey [private] |
Definition at line 825 of file llagent.h.
Referenced by LLAgent(), setPanUpKey(), and updateCamera().
F32 LLAgent::mPanDownKey [private] |
Definition at line 826 of file llagent.h.
Referenced by LLAgent(), setPanDownKey(), and updateCamera().
F32 LLAgent::mPanLeftKey [private] |
Definition at line 827 of file llagent.h.
Referenced by LLAgent(), setPanLeftKey(), and updateCamera().
F32 LLAgent::mPanRightKey [private] |
Definition at line 828 of file llagent.h.
Referenced by LLAgent(), setPanRightKey(), and updateCamera().
F32 LLAgent::mPanInKey [private] |
Definition at line 829 of file llagent.h.
Referenced by LLAgent(), setPanInKey(), and updateCamera().
F32 LLAgent::mPanOutKey [private] |
Definition at line 830 of file llagent.h.
Referenced by LLAgent(), setPanOutKey(), and updateCamera().
U32 LLAgent::mControlFlags [private] |
Definition at line 832 of file llagent.h.
Referenced by changeCameraToCustomizeAvatar(), changeCameraToFollow(), changeCameraToMouselook(), changeCameraToThirdPerson(), clearAFK(), clearControlFlags(), getAFK(), getControlFlags(), getFlying(), resetControlFlags(), setAFK(), setControlFlags(), and toggleFlying().
BOOL LLAgent::mbFlagsDirty [private] |
Definition at line 833 of file llagent.h.
Referenced by changeCameraToCustomizeAvatar(), changeCameraToFollow(), changeCameraToMouselook(), changeCameraToThirdPerson(), clearControlFlags(), controlFlagsDirty(), resetControlFlags(), setControlFlags(), and setFlying().
BOOL LLAgent::mbFlagsNeedReset [private] |
Definition at line 834 of file llagent.h.
Referenced by enableControlFlagReset(), and resetControlFlags().
BOOL LLAgent::mbJump [private] |
BOOL LLAgent::mAutoPilot [private] |
Definition at line 838 of file llagent.h.
Referenced by autoPilot(), getAutoPilot(), renderAutoPilotTarget(), resetView(), startAutoPilotGlobal(), startFollowPilot(), and stopAutoPilot().
BOOL LLAgent::mAutoPilotFlyOnStop [private] |
Definition at line 839 of file llagent.h.
Referenced by startAutoPilotGlobal(), and stopAutoPilot().
LLVector3d LLAgent::mAutoPilotTargetGlobal [private] |
Definition at line 840 of file llagent.h.
Referenced by autoPilot(), getAutoPilotTargetGlobal(), renderAutoPilotTarget(), startAutoPilotGlobal(), and stopAutoPilot().
F32 LLAgent::mAutoPilotStopDistance [private] |
Definition at line 841 of file llagent.h.
Referenced by autoPilot(), startAutoPilotGlobal(), and stopAutoPilot().
BOOL LLAgent::mAutoPilotUseRotation [private] |
Definition at line 842 of file llagent.h.
Referenced by autoPilot(), startAutoPilotGlobal(), and stopAutoPilot().
LLVector3 LLAgent::mAutoPilotTargetFacing [private] |
Definition at line 843 of file llagent.h.
Referenced by autoPilot(), startAutoPilotGlobal(), and stopAutoPilot().
F32 LLAgent::mAutoPilotTargetDist [private] |
S32 LLAgent::mAutoPilotNoProgressFrameCount [private] |
F32 LLAgent::mAutoPilotRotationThreshold [private] |
std::string LLAgent::mAutoPilotBehaviorName [private] |
Definition at line 847 of file llagent.h.
Referenced by startAutoPilotGlobal(), and stopAutoPilot().
void(* LLAgent::mAutoPilotFinishedCallback)(BOOL, void *) [private] |
Referenced by startAutoPilotGlobal(), and stopAutoPilot().
void* LLAgent::mAutoPilotCallbackData [private] |
Definition at line 849 of file llagent.h.
Referenced by startAutoPilotGlobal(), and stopAutoPilot().
LLUUID LLAgent::mLeaderID [private] |
Definition at line 850 of file llagent.h.
Referenced by autoPilot(), startFollowPilot(), and stopAutoPilot().
std::set<LLUUID> LLAgent::mProxyForAgents [private] |
LLColor4 LLAgent::mEffectColor [private] |
Definition at line 854 of file llagent.h.
Referenced by getEffectColor(), init(), and setEffectColor().
BOOL LLAgent::mHaveHomePosition [private] |
U64 LLAgent::mHomeRegionHandle [private] |
LLVector3 LLAgent::mHomePosRegion [private] |
LLFrameTimer LLAgent::mChatTimer [private] |
LLUUID LLAgent::mLastChatterID [private] |
Definition at line 860 of file llagent.h.
Referenced by getLastChatter(), heardChat(), lookAtLastChat(), and startTyping().
F32 LLAgent::mNearChatRadius [private] |
BOOL LLAgent::mAdminOverride [private] |
Definition at line 862 of file llagent.h.
Referenced by getAdminOverride(), getGodLevel(), isGodlike(), and setAdminOverride().
U8 LLAgent::mGodLevel [private] |
Definition at line 865 of file llagent.h.
Referenced by getGodLevel(), isGodlike(), and setGodLevel().
LLFrameTimer LLAgent::mFidgetTimer [private] |
LLFrameTimer LLAgent::mFocusObjectFadeTimer [private] |
F32 LLAgent::mNextFidgetTime [private] |
S32 LLAgent::mCurrentFidget [private] |
BOOL LLAgent::mFirstLogin [private] |
BOOL LLAgent::mGenderChosen [private] |
Definition at line 871 of file llagent.h.
Referenced by isGenderChosen(), needsRenderAvatar(), and setGenderChosen().
LLWearableEntry LLAgent::mWearableEntry[WT_COUNT] [private] |
Definition at line 883 of file llagent.h.
Referenced by addWearabletoAgentInventoryDone(), copyWearableToInventory(), createStandardWearables(), createStandardWearablesDone(), getWearable(), getWearableFromWearableItem(), getWearableItem(), makeNewOutfit(), makeNewOutfitDone(), onInitialWearableAssetArrived(), processAgentInitialWearablesUpdate(), recoverMissingWearable(), recoverMissingWearableDone(), removeWearable(), removeWearableFinal(), revertWearable(), saveWearable(), saveWearableAs(), sendAgentWearablesUpdate(), setWearable(), setWearableFinal(), setWearableName(), and setWearableOutfit().
U32 LLAgent::mAgentWearablesUpdateSerialNum [private] |
BOOL LLAgent::mWearablesLoaded [private] |
Definition at line 885 of file llagent.h.
Referenced by areWearablesLoaded(), createStandardWearablesAllDone(), getWearablesLoaded(), onInitialWearableAssetArrived(), queryWearableCache(), recoverMissingWearableDone(), sendAgentSetAppearance(), and setWearableOutfit().
S32 LLAgent::mTextureCacheQueryID [private] |
U32 LLAgent::mAppearanceSerialNum [private] |
LLAnimPauseRequest LLAgent::mPauseRequest [private] |
Definition at line 888 of file llagent.h.
Referenced by changeCameraToFollow(), changeCameraToMouselook(), changeCameraToThirdPerson(), and endAnimationUpdateUI().
LLFriendObserver* LLAgent::mFriendObserver [private] |