LLAgent Class Reference

#include <llagent.h>

Inheritance diagram for LLAgent:

Inheritance graph
[legend]
Collaboration diagram for LLAgent:

Collaboration graph
[legend]
List of all members.

Public Types

 TELEPORT_NONE = 0
 TELEPORT_START = 1
 TELEPORT_REQUESTED = 2
 TELEPORT_MOVING = 3
 TELEPORT_START_ARRIVAL = 4
 TELEPORT_ARRIVING = 5
enum  ETeleportState {
  TELEPORT_NONE = 0, TELEPORT_START = 1, TELEPORT_REQUESTED = 2, TELEPORT_MOVING = 3,
  TELEPORT_START_ARRIVAL = 4, TELEPORT_ARRIVING = 5
}

Public Member Functions

 LLAgent ()
 ~LLAgent ()
void init ()
void cleanup ()
void resetView (BOOL reset_camera=TRUE)
void unlockView ()
void sendMessage ()
void sendReliableMessage ()
LLVector3d calcCameraPositionTargetGlobal (BOOL *hit_limit=NULL)
LLVector3d calcFocusPositionTargetGlobal ()
LLVector3d getCameraPositionGlobal () const
const LLVector3getCameraPositionAgent () const
F32 calcCameraFOVZoomFactor ()
F32 getCameraMinOffGround ()
void endAnimationUpdateUI ()
void setKey (const S32 direction, S32 &key)
void handleScrollWheel (S32 clicks)
void setAvatarObject (LLVOAvatar *avatar)
void startTyping ()
void stopTyping ()
void setRenderState (U8 newstate)
void clearRenderState (U8 clearstate)
U8 getRenderState ()
void setRegion (LLViewerRegion *regionp)
LLViewerRegiongetRegion () const
const LLHostgetRegionHost () const
void updateAgentPosition (const F32 dt, const F32 yaw, const S32 mouse_x, const S32 mouse_y)
void updateLookAt (const S32 mouse_x, const S32 mouse_y)
void updateCamera ()
void resetCamera ()
void setupSitCamera ()
void setCameraCollidePlane (LLVector4 &plane)
void changeCameraToDefault ()
void changeCameraToMouselook (BOOL animate=TRUE)
void changeCameraToThirdPerson (BOOL animate=TRUE)
void changeCameraToCustomizeAvatar (BOOL animate=TRUE)
void changeCameraToFollow (BOOL animate=TRUE)
void setFocusGlobal (const LLVector3d &focus, const LLUUID &object_id=LLUUID::null)
void setFocusOnAvatar (BOOL focus, BOOL animate)
void setCameraPosAndFocusGlobal (const LLVector3d &pos, const LLVector3d &focus, const LLUUID &object_id)
void setSitCamera (const LLUUID &object_id, const LLVector3 &camera_pos=LLVector3::zero, const LLVector3 &camera_focus=LLVector3::zero)
void clearFocusObject ()
void setFocusObject (LLViewerObject *object)
void setObjectTracking (BOOL track)
void heardChat (const LLUUID &id)
void lookAtLastChat ()
void lookAtObject (LLUUID avatar_id, ECameraPosition camera_pos)
LLUUID getLastChatter ()
F32 getTypingTime ()
void setAFK ()
void clearAFK ()
BOOL getAFK () const
void setAlwaysRun ()
void clearAlwaysRun ()
BOOL getAlwaysRun () const
void setBusy ()
void clearBusy ()
BOOL getBusy () const
void setAdminOverride (BOOL b)
void setGodLevel (U8 god_level)
void setFirstLogin (BOOL b)
void setGenderChosen (BOOL b)
BOOL getAdminOverride () const
BOOL setGroupContribution (const LLUUID &group_id, S32 contribution)
BOOL setUserGroupFlags (const LLUUID &group_id, BOOL accept_notices, BOOL list_in_profile)
void setHideGroupTitle (BOOL hide)
const LLUUIDgetID () const
const LLUUIDgetSessionID () const
const LLUUIDgetSecureSessionID () const
BOOL isGodlike () const
U8 getGodLevel () const
bool isTeen () const
void setTeen (bool teen)
BOOL isGroupTitleHidden () const
BOOL isGroupMember () const
const LLUUIDgetGroupID () const
ECameraMode getCameraMode () const
BOOL getFocusOnAvatar () const
LLPointer< LLViewerObject > & getFocusObject ()
F32 getFocusObjectDist () const
BOOL inPrelude ()
BOOL canManageEstate () const
const LLUUIDgetInventoryRootID () const
void buildFullname (std::string &name) const
void buildFullnameAndTitle (std::string &name) const
BOOL isInGroup (const LLUUID &group_id) const
BOOL hasPowerInGroup (const LLUUID &group_id, U64 power) const
BOOL hasPowerInActiveGroup (const U64 power) const
U64 getPowerInGroup (const LLUUID &group_id) const
BOOL getGroupData (const LLUUID &group_id, LLGroupData &data) const
S32 getGroupContribution (const LLUUID &group_id) const
BOOL isFirstLogin () const
BOOL isGenderChosen () const
void buildLocationString (std::string &str)
LLQuaternion getHeadRotation ()
LLVOAvatargetAvatarObject () const
BOOL needsRenderAvatar ()
BOOL needsRenderHead ()
BOOL cameraThirdPerson () const
BOOL cameraMouselook () const
BOOL cameraCustomizeAvatar () const
BOOL cameraFollow () const
LLVector3 getPosAgentFromGlobal (const LLVector3d &pos_global) const
LLVector3d getPosGlobalFromAgent (const LLVector3 &pos_agent) const
const LLVector3getAtAxis () const
const LLVector3getUpAxis () const
const LLVector3getLeftAxis () const
LLCoordFrame getFrameAgent () const
LLVector3 getVelocity () const
F32 getVelocityZ () const
const LLVector3dgetPositionGlobal ()
const LLVector3getPositionAgent ()
S32 getRegionsVisited () const
F64 getDistanceTraveled () const
const LLVector3dgetFocusGlobal () const
const LLVector3dgetFocusTargetGlobal () const
BOOL getJump () const
BOOL getAutoPilot () const
LLVector3d getAutoPilotTargetGlobal () const
LLQuaternion getQuat () const
void getName (LLString &name)
const LLColor4getEffectColor ()
void setEffectColor (const LLColor4 &color)
void slamLookAt (const LLVector3 &look_at)
void setPositionAgent (const LLVector3 &center)
void resetAxes ()
void resetAxes (const LLVector3 &look_at)
void rotate (F32 angle, const LLVector3 &axis)
void rotate (F32 angle, F32 x, F32 y, F32 z)
void rotate (const LLMatrix3 &matrix)
void rotate (const LLQuaternion &quaternion)
void pitch (F32 angle)
void roll (F32 angle)
void yaw (F32 angle)
LLVector3 getReferenceUpVector ()
void setThirdPersonHeadOffset (LLVector3 offset)
BOOL getFlying () const
void setFlying (BOOL fly)
void toggleFlying ()
BOOL canFly ()
void requestStopMotion (LLMotion *motion)
void onAnimStop (const LLUUID &id)
void sendAnimationRequests (LLDynamicArray< LLUUID > &anim_ids, EAnimRequest request)
void sendAnimationRequest (const LLUUID &anim_id, EAnimRequest request)
LLVector3d calcFocusOffset (LLViewerObject *object, S32 x, S32 y)
BOOL calcCameraMinDistance (F32 &obj_min_distance)
void startCameraAnimation ()
void stopCameraAnimation ()
void cameraZoomIn (const F32 factor)
void cameraOrbitAround (const F32 radians)
void cameraOrbitOver (const F32 radians)
void cameraOrbitIn (const F32 meters)
F32 getCameraZoomFraction ()
void setCameraZoomFraction (F32 fraction)
void cameraPanIn (const F32 meters)
void cameraPanLeft (const F32 meters)
void cameraPanUp (const F32 meters)
void updateFocusOffset ()
void validateFocusObject ()
void setUsingFollowCam (bool using_follow_cam)
F32 calcCustomizeAvatarUIOffset (const LLVector3d &camera_pos_global)
void setStartPosition (U32 location_id)
void moveAt (S32 direction)
void moveAtNudge (S32 direction)
void moveLeft (S32 direction)
void moveLeftNudge (S32 direction)
void moveUp (S32 direction)
void moveYaw (F32 mag)
void movePitch (S32 direction)
void setOrbitLeftKey (F32 mag)
void setOrbitRightKey (F32 mag)
void setOrbitUpKey (F32 mag)
void setOrbitDownKey (F32 mag)
void setOrbitInKey (F32 mag)
void setOrbitOutKey (F32 mag)
void setPanLeftKey (F32 mag)
void setPanRightKey (F32 mag)
void setPanUpKey (F32 mag)
void setPanDownKey (F32 mag)
void setPanInKey (F32 mag)
void setPanOutKey (F32 mag)
U32 getControlFlags ()
void setControlFlags (U32 mask)
void clearControlFlags (U32 mask)
BOOL controlFlagsDirty () const
void enableControlFlagReset ()
void resetControlFlags ()
void propagate (const F32 dt)
void startAutoPilotGlobal (const LLVector3d &pos_global, const std::string &behavior_name=std::string(), const LLQuaternion *target_rotation=NULL, void(*finish_callback)(BOOL, void *)=NULL, void *callback_data=NULL, F32 stop_distance=0.f, F32 rotation_threshold=0.03f)
void startFollowPilot (const LLUUID &leader_id)
void stopAutoPilot (BOOL user_cancel=FALSE)
void setAutoPilotGlobal (const LLVector3d &pos_global)
void autoPilot (F32 *delta_yaw)
void renderAutoPilotTarget ()
void teleportRequest (const U64 &region_handle, const LLVector3 &pos_local)
void teleportViaLandmark (const LLUUID &landmark_id)
void teleportHome ()
void teleportViaLure (const LLUUID &lure_id, BOOL godlike)
void teleportViaLocation (const LLVector3d &pos_global)
void teleportCancel ()
void setTargetVelocity (const LLVector3 &vel)
const LLVector3getTargetVelocity () const
void sendChat (const LLString &text, S32 channel=0, EChatType type=CHAT_TYPE_NORMAL, bool animate=false)
void sendChat (const LLWString &text, S32 channel=0, EChatType type=CHAT_TYPE_NORMAL, bool animate=false)
BOOL isGrantedProxy (const LLPermissions &perm)
BOOL allowOperation (PermissionBit op, const LLPermissions &perm, U64 group_proxy_power=0, U8 god_minimum=GOD_MAINTENANCE)
void initOriginGlobal (const LLVector3d &origin_global)
BOOL leftButtonGrabbed () const
BOOL rotateGrabbed () const
BOOL forwardGrabbed () const
BOOL backwardGrabbed () const
BOOL upGrabbed () const
BOOL downGrabbed () const
BOOL anyControlGrabbed () const
BOOL isControlGrabbed (S32 control_index) const
void forceReleaseControls ()
BOOL sitCameraEnabled ()
F32 getCurrentCameraBuildOffset ()
BOOL setLookAt (ELookAtType target_type, LLViewerObject *object=NULL, LLVector3 position=LLVector3::zero)
ELookAtType getLookAtType ()
BOOL setPointAt (EPointAtType target_type, LLViewerObject *object=NULL, LLVector3 position=LLVector3::zero)
EPointAtType getPointAtType ()
void setHomePosRegion (const U64 &region_handle, const LLVector3 &pos_region)
BOOL getHomePosGlobal (LLVector3d *pos_global)
void setCameraAnimating (BOOL b)
void setAnimationDuration (F32 seconds)
F32 getNearChatRadius ()
ETeleportState getTeleportState () const
void setTeleportState (ETeleportState state)
const LLStringgetTeleportMessage () const
void setTeleportMessage (const LLString &message)
void fidget ()
void requestEnterGodMode ()
void requestLeaveGodMode ()
void sendAgentSetAppearance ()
void sendAgentDataUpdateRequest ()
BOOL getWearablesLoaded () const
void setWearable (LLInventoryItem *new_item, LLWearable *wearable)
void setWearableFinal (LLInventoryItem *new_item, LLWearable *new_wearable)
void setWearableOutfit (const LLInventoryItem::item_array_t &items, const LLDynamicArray< LLWearable * > &wearables, BOOL remove)
void queryWearableCache ()
BOOL isWearableModifiable (EWearableType type)
BOOL isWearableCopyable (EWearableType type)
BOOL needsReplacement (EWearableType wearableType, S32 remove)
U32 getWearablePermMask (EWearableType type)
LLInventoryItemgetWearableInventoryItem (EWearableType type)
LLWearablegetWearable (EWearableType type)
BOOL isWearingItem (const LLUUID &item_id)
LLWearablegetWearableFromWearableItem (const LLUUID &item_id)
const LLUUIDgetWearableItem (EWearableType type)
void copyWearableToInventory (EWearableType type)
void makeNewOutfit (const std::string &new_folder_name, const LLDynamicArray< S32 > &wearables_to_include, const LLDynamicArray< S32 > &attachments_to_include, BOOL rename_clothing)
void makeNewOutfitDone (S32 index)
void removeWearable (EWearableType type)
void removeWearableFinal (EWearableType type)
void sendAgentWearablesUpdate ()
void addWearabletoAgentInventoryDone (S32 index, const LLUUID &item_id, LLWearable *wearable)
 Only public because of addWearableToAgentInventoryCallback.
void saveWearableAs (EWearableType type, const std::string &new_name, BOOL save_in_lost_and_found)
void saveWearable (EWearableType type, BOOL send_update=TRUE)
void saveAllWearables ()
void revertWearable (EWearableType type)
void revertAllWearables ()
void setWearableName (const LLUUID &item_id, const std::string &new_name)
void createStandardWearables (BOOL female)
void createStandardWearablesDone (S32 index)
void createStandardWearablesAllDone ()
BOOL areWearablesLoaded ()
void observeFriends ()
void friendsChanged ()

Static Public Member Functions

static void processAgentDataUpdate (LLMessageSystem *msg, void **)
static void processAgentGroupDataUpdate (LLMessageSystem *msg, void **)
static void processAgentDropGroup (LLMessageSystem *msg, void **)
static void processScriptControlChange (LLMessageSystem *msg, void **)
static void processAgentCachedTextureResponse (LLMessageSystem *mesgsys, void **user_data)
static void onSetWearableDialog (S32 option, void *userdata)
static EWearableType getTEWearableType (S32 te)
static LLUUID getDefaultTEImageID (S32 te)
static void onRemoveWearableDialog (S32 option, void *userdata)
static void stopFidget ()
static void processAgentInitialWearablesUpdate (LLMessageSystem *mesgsys, void **user_data)
static void userRemoveWearable (void *userdata)
static void userRemoveAllClothes (void *userdata)
static void userRemoveAllClothesStep2 (BOOL proceed, void *userdata)
static void userRemoveAllAttachments (void *userdata)
static BOOL selfHasWearable (void *userdata)
static void clearVisualParams (void *)
static void parseTeleportMessages (const LLString &xml_filename)

Public Attributes

LLFollowCam mFollowCam
U32 mViewerPort
LLUUID mSecureSessionID
F32 mDrawDistance
U64 mGroupPowers
BOOL mHideGroupTitle
char mGroupTitle [DB_GROUP_TITLE_BUF_SIZE]
char mGroupName [DB_GROUP_NAME_BUF_SIZE]
LLUUID mGroupID
LLUUID mInventoryRootID
LLUUID mMapID
F64 mMapOriginX
F64 mMapOriginY
S32 mMapWidth
S32 mMapHeight
std::string mMOTD
LLPointer< LLHUDEffectLookAtmLookAt
LLPointer< LLHUDEffectPointAtmPointAt
LLDynamicArray< LLGroupDatamGroups
BOOL mInitialized
S32 mNumPendingQueries
S32mActiveCacheQueries
BOOL mForceMouselook

Static Public Attributes

static const F32 TYPING_TIMEOUT_SECS = 5.f
static BOOL sDebugDisplayTarget = FALSE
static std::map< LLString,
LLString
sTeleportErrorMessages
static std::map< LLString,
LLString
sTeleportProgressMessages

Protected Member Functions

bool teleportCore (bool is_local=false)
void ageChat ()
void sendAgentWearablesRequest ()
void recoverMissingWearable (EWearableType type)
void recoverMissingWearableDone ()
void addWearableToAgentInventory (LLPointer< LLInventoryCallback > cb, LLWearable *wearable, const LLUUID &category_id=LLUUID::null, BOOL notify=TRUE)

Static Protected Member Functions

static void onInitialWearableAssetArrived (LLWearable *wearable, void *userdata)

Private Attributes

U8 mAccess
ETeleportState mTeleportState
LLString mTeleportMessage
S32 mControlsTakenCount [TOTAL_CONTROLS]
S32 mControlsTakenPassedOnCount [TOTAL_CONTROLS]
LLViewerRegionmRegionp
LLVector3d mAgentOriginGlobal
LLVector3d mPositionGlobal
std::set< U64mRegionsVisited
F64 mDistanceTraveled
LLVector3d mLastPositionGlobal
LLPointer< LLVOAvatarmAvatarObject
U8 mRenderState
LLFrameTimer mTypingTimer
ECameraMode mCameraMode
ECameraMode mLastCameraMode
BOOL mViewsPushed
BOOL mbAlwaysRun
BOOL mShowAvatar
BOOL mCameraAnimating
LLVector3d mAnimationCameraStartGlobal
LLVector3d mAnimationFocusStartGlobal
LLFrameTimer mAnimationTimer
F32 mAnimationDuration
F32 mCameraFOVZoomFactor
F32 mCameraCurrentFOVZoomFactor
F32 mCameraFOVDefault
LLVector3d mCameraFocusOffset
LLVector3d mCameraFocusOffsetTarget
LLVector3 mCameraOffsetDefault
LLVector4 mCameraCollidePlane
F32 mCurrentCameraDistance
F32 mTargetCameraDistance
F32 mCameraZoomFraction
LLVector3 mCameraLag
LLVector3 mThirdPersonHeadOffset
LLVector3 mCameraPositionAgent
LLVector3 mCameraVirtualPositionAgent
BOOL mSitCameraEnabled
LLVector3 mSitCameraPos
LLVector3 mSitCameraFocus
LLVector3 mCameraUpVector
LLPointer< LLViewerObjectmSitCameraReferenceObject
BOOL mFocusOnAvatar
LLVector3d mFocusGlobal
LLVector3d mFocusTargetGlobal
LLPointer< LLViewerObjectmFocusObject
F32 mFocusObjectDist
LLVector3 mFocusObjectOffset
F32 mFocusDotRadius
BOOL mTrackFocusObject
F32 mUIOffset
LLCoordFrame mFrameAgent
BOOL mCrouching
BOOL mIsBusy
S32 mAtKey
S32 mWalkKey
S32 mLeftKey
S32 mUpKey
F32 mYawKey
S32 mPitchKey
F32 mOrbitLeftKey
F32 mOrbitRightKey
F32 mOrbitUpKey
F32 mOrbitDownKey
F32 mOrbitInKey
F32 mOrbitOutKey
F32 mPanUpKey
F32 mPanDownKey
F32 mPanLeftKey
F32 mPanRightKey
F32 mPanInKey
F32 mPanOutKey
U32 mControlFlags
BOOL mbFlagsDirty
BOOL mbFlagsNeedReset
BOOL mbJump
BOOL mAutoPilot
BOOL mAutoPilotFlyOnStop
LLVector3d mAutoPilotTargetGlobal
F32 mAutoPilotStopDistance
BOOL mAutoPilotUseRotation
LLVector3 mAutoPilotTargetFacing
F32 mAutoPilotTargetDist
S32 mAutoPilotNoProgressFrameCount
F32 mAutoPilotRotationThreshold
std::string mAutoPilotBehaviorName
void(* mAutoPilotFinishedCallback )(BOOL, void *)
voidmAutoPilotCallbackData
LLUUID mLeaderID
std::set< LLUUIDmProxyForAgents
LLColor4 mEffectColor
BOOL mHaveHomePosition
U64 mHomeRegionHandle
LLVector3 mHomePosRegion
LLFrameTimer mChatTimer
LLUUID mLastChatterID
F32 mNearChatRadius
BOOL mAdminOverride
U8 mGodLevel
LLFrameTimer mFidgetTimer
LLFrameTimer mFocusObjectFadeTimer
std::set< LLPointer< LLViewerObject > > mFadeObjects
F32 mNextFidgetTime
S32 mCurrentFidget
BOOL mFirstLogin
BOOL mGenderChosen
LLWearableEntry mWearableEntry [WT_COUNT]
U32 mAgentWearablesUpdateSerialNum
BOOL mWearablesLoaded
S32 mTextureCacheQueryID
U32 mAppearanceSerialNum
LLAnimPauseRequest mPauseRequest
LLHideGroupTitleListener mHideGroupTitleListener
LLEffectColorListener mEffectColorListener
LLFriendObservermFriendObserver

Friends

std::ostream & operator<< (std::ostream &s, const LLAgent &sphere)

Classes

class  addWearableToAgentInventoryCallback
class  createStandardWearablesAllDoneCallback
class  LLEffectColorListener
class  LLHideGroupTitleListener
struct  LLWearableEntry
class  sendAgentWearablesUpdateCallback

Detailed Description

Definition at line 128 of file llagent.h.


Member Enumeration Documentation

enum LLAgent::ETeleportState

Enumerator:
TELEPORT_NONE 
TELEPORT_START 
TELEPORT_REQUESTED 
TELEPORT_MOVING 
TELEPORT_START_ARRIVAL 
TELEPORT_ARRIVING 

Definition at line 545 of file llagent.h.


Constructor & Destructor Documentation

LLAgent::LLAgent (  ) 

Definition at line 268 of file llagent.cpp.

References BAKED_TEXTURE_COUNT, i, mActiveCacheQueries, mAtKey, MAX_CAMERA_DISTANCE_FROM_AGENT, mCameraUpVector, mControlsTakenCount, mControlsTakenPassedOnCount, 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 466 of file llagent.cpp.

References cleanup(), gCamera, mActiveCacheQueries, and NULL.


Member Function Documentation

void LLAgent::addWearableToAgentInventory ( LLPointer< LLInventoryCallback cb,
LLWearable wearable,
const LLUUID category_id = LLUUID::null,
BOOL  notify = TRUE 
) [protected]

Definition at line 6832 of file llagent.cpp.

References create_inventory_item(), gAgent, 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::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.

Parameters:
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 6011 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::ageChat (  )  [protected]

Definition at line 527 of file llagent.cpp.

References CHAT_AGE_FAST_RATE, gFrameDTClamped, and mAvatarObject.

Referenced by moveAt(), moveAtNudge(), moveLeft(), moveLeftNudge(), and moveUp().

BOOL LLAgent::allowOperation ( PermissionBit  op,
const LLPermissions perm,
U64  group_proxy_power = 0,
U8  god_minimum = GOD_MAINTENANCE 
)

Definition at line 5087 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(), 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().

BOOL LLAgent::anyControlGrabbed (  )  const

Definition at line 5584 of file llagent.cpp.

References FALSE, gAgent, i, mControlsTakenCount, mControlsTakenPassedOnCount, TOTAL_CONTROLS, and TRUE.

Referenced by LLOverlayBar::refresh().

BOOL LLAgent::areWearablesLoaded (  )  [inline]

Definition at line 645 of file llagent.h.

References mWearablesLoaded.

Referenced by LLToolDragAndDrop::dad3dWearCategory(), LLToolDragAndDrop::dad3dWearItem(), LLVOAvatar::updateVisibility(), and LLWearableBridge::wearOnAvatar().

void LLAgent::autoPilot ( F32 delta_yaw  ) 

Definition at line 2277 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, 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 idle().

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().

void LLAgent::buildFullname ( std::string &  name  )  const

Definition at line 4792 of file llagent.cpp.

References mAvatarObject.

Referenced by 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 4800 of file llagent.cpp.

References isGroupMember(), mAvatarObject, and mGroupTitle.

void LLAgent::buildLocationString ( std::string &  str  ) 

Definition at line 4945 of file llagent.cpp.

References LLViewerParcelMgr::getAgentParcelName(), LLViewerRegion::getName(), getName(), getPositionAgent(), getRegion(), getVelocity(), gParcelMgr, llformat(), LLVector3::magVecSquared(), LLVector3::mV, S32, VX, VY, and VZ.

Referenced by create_new_landmark(), LLWorldCreateLandmark::handleEvent(), LLFloaterLandmark::onBtnNew(), and LLSnapshotLivePreview::saveTexture().

F32 LLAgent::calcCameraFOVZoomFactor (  ) 

Definition at line 3556 of file llagent.cpp.

References calcCameraMinDistance(), CAMERA_MODE_MOUSELOOK, f, llclamp(), llmax(), LLVector3::magVec(), mCameraFocusOffset, mCameraFOVZoomFactor, mCameraMode, mFocusObject, mFocusObjectDist, mFocusObjectOffset, LLPointer< Type >::notNull(), and LLVector3::setVec().

Referenced by updateCamera().

BOOL LLAgent::calcCameraMinDistance ( F32 obj_min_distance  ) 

Definition at line 1420 of file llagent.cpp.

References LLVector3::abs(), AVATAR_ZOOM_MIN_X_FACTOR, AVATAR_ZOOM_MIN_Y_FACTOR, AVATAR_ZOOM_MIN_Z_FACTOR, f, FALSE, getCameraPositionAgent(), getPosAgentFromGlobal(), i, LLPointer< Type >::isNull(), llendl, llerrs, llwarns, mFocusObject, mFocusObjectOffset, mFocusTargetGlobal, LLVector3::mV, OBJECT_EXTENTS_PADDING, LLVector3::rotVec(), TRUE, VX, VY, and VZ.

Referenced by calcCameraFOVZoomFactor(), and cameraZoomIn().

LLVector3d LLAgent::calcCameraPositionTargetGlobal ( BOOL hit_limit = NULL  ) 

Definition at line 3589 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, LLVector3::clearVec(), LLVector3d::clearVec(), dot(), f, FALSE, gAgent, LLCoordFrame::getAtAxis(), LLControlGroup::getBOOL(), getCameraMinOffGround(), LLControlGroup::getF32(), LLCriticalDamp::getInterpolant(), LLViewerWindow::getLeftMouseDown(), getPosAgentFromGlobal(), getPosGlobalFromAgent(), getPositionGlobal(), LLCoordFrame::getQuaternion(), getReferenceUpVector(), LLFollowCam::getSimulatedPosition(), getUpAxis(), getVelocity(), gLastHitObjectID, GROUND_TO_AIR_CAMERA_TRANSITION_START_TIME, GROUND_TO_AIR_CAMERA_TRANSITION_TIME, gSavedSettings, gViewerWindow, gWorldPointer, 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(), LLCoordFrame::rotateToAbsolute(), LLVector3::setVec(), LLVector3d::setVec(), TRUE, u, VW, VX, VY, VZ, LLVector3::zero, and LLVector3d::zero.

Referenced by calcFocusPositionTargetGlobal(), idle_startup(), save_final_snapshot(), and updateCamera().

F32 LLAgent::calcCustomizeAvatarUIOffset ( const LLVector3d camera_pos_global  ) 

Definition at line 3385 of file llagent.cpp.

References dist_vec(), f, gAgent, gCamera, LLCamera::getAspect(), getFocusGlobal(), LLCriticalDamp::getInterpolant(), LLView::getRect(), LLCamera::getView(), LLRectBase< Type >::getWidth(), LLViewerWindow::getWindowWidth(), gFloaterCustomize, gViewerWindow, lerp(), llmin(), LLRectBase< Type >::mLeft, LLRectBase< Type >::mRight, mUIOffset, and range.

Referenced by LLToolCamera::pickCallback(), setCameraPosAndFocusGlobal(), and updateCamera().

LLVector3d LLAgent::calcFocusOffset ( LLViewerObject object,
S32  x,
S32  y 
)

Definition at line 1251 of file llagent.cpp.

References LLVector3::abs(), LLVector3::clamp(), f, F32_MAX, gAgent, gCamera, LLMatrix4::getFwdRow4(), LLMatrix4::getLeftRow4(), LLCoordFrame::getOrigin(), getPosAgentFromGlobal(), getPosGlobalFromAgent(), LLViewerObject::getRenderMatrix(), LLViewerObject::getRenderPosition(), LLViewerObject::getRenderRotation(), LLXform::getScale(), LLMatrix4::getUpRow4(), gViewerWindow, LLPrimitive::isAvatar(), llabs(), llmax(), llmin(), LLViewerWindow::mousePointOnPlaneGlobal(), LLVector3::mV, LLVector3::normVec(), LLVector3::rotVec(), LLVector3::setVec(), VX, VY, and VZ.

Referenced by LLViewerWindow::performPick().

LLVector3d LLAgent::calcFocusPositionTargetGlobal (  ) 

Definition at line 3417 of file llagent.cpp.

References calcCameraPositionTargetGlobal(), CAMERA_MODE_CUSTOMIZE_AVATAR, CAMERA_MODE_FOLLOW, CAMERA_MODE_MOUSELOOK, clearFocusObject(), gAgent, getPosGlobalFromAgent(), getPositionGlobal(), LLCoordFrame::getQuaternion(), LLFollowCam::getSimulatedFocus(), LLControlGroup::getVector3(), gPipeline, gSavedSettings, LLPointer< Type >::isNull(), 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(), save_final_snapshot(), and updateCamera().

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.

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(), 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().

void LLAgent::cameraOrbitAround ( const F32  radians  ) 

Definition at line 1698 of file llagent.cpp.

References CAMERA_MODE_FOLLOW, CAMERA_MODE_THIRD_PERSON, cameraZoomIn(), f, getReferenceUpVector(), LLSelectMgr::getSelection(), gSelectMgr, mCameraFocusOffsetTarget, mCameraMode, mFocusOnAvatar, mFrameAgent, LLCoordFrame::rotate(), LLVector3d::rotVec(), and SELECT_TYPE_HUD.

Referenced by LLToolCamera::handleHover(), LLManipTranslate::handleHover(), LLToolGrab::handleHoverActive(), and updateCamera().

void LLAgent::cameraOrbitIn ( const F32  meters  ) 

Definition at line 1819 of file llagent.cpp.

References APPEARANCE_MAX_ZOOM, APPEARANCE_MIN_ZOOM, AVATAR_MIN_ZOOM, CAMERA_MODE_CUSTOMIZE_AVATAR, CAMERA_MODE_THIRD_PERSON, cameraZoomIn(), changeCameraToMouselook(), f, FALSE, LLControlGroup::getBOOL(), getCameraMode(), gSavedSettings, gWorldPointer, 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().

void LLAgent::cameraOrbitOver ( const F32  radians  ) 

Definition at line 1721 of file llagent.cpp.

References CAMERA_MODE_THIRD_PERSON, cameraZoomIn(), DEG_TO_RAD, f, gCamera, LLCoordFrame::getLeftAxis(), getReferenceUpVector(), LLSelectMgr::getSelection(), gSelectMgr, 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::cameraPanIn ( const F32  meters  ) 

Definition at line 1887 of file llagent.cpp.

References gCamera, LLCoordFrame::getAtAxis(), mFocusGlobal, mFocusTargetGlobal, LLVector3d::setVec(), and updateFocusOffset().

Referenced by updateCamera().

void LLAgent::cameraPanLeft ( const F32  meters  ) 

Definition at line 1901 of file llagent.cpp.

References cameraZoomIn(), f, gCamera, LLCoordFrame::getLeftAxis(), mFocusGlobal, mFocusTargetGlobal, LLVector3d::setVec(), and updateFocusOffset().

Referenced by LLToolCamera::handleHover(), and updateCamera().

void LLAgent::cameraPanUp ( const F32  meters  ) 

Definition at line 1915 of file llagent.cpp.

References cameraZoomIn(), f, gCamera, LLCoordFrame::getUpAxis(), mFocusGlobal, mFocusTargetGlobal, LLVector3d::setVec(), and updateFocusOffset().

Referenced by LLToolCamera::handleHover(), and updateCamera().

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(), lookAtObject(), LLToolCamera::pickCallback(), resetView(), setCameraZoomFraction(), LLIMMgr::toggle(), updateCamera(), and updateLookAt().

void LLAgent::cameraZoomIn ( const F32  factor  ) 

Definition at line 1751 of file llagent.cpp.

References APPEARANCE_MAX_ZOOM, APPEARANCE_MIN_ZOOM, calcCameraMinDistance(), cameraCustomizeAvatar(), gDisconnected, LLSelectMgr::getSelection(), gSelectMgr, gWorldPointer, 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().

BOOL LLAgent::canFly (  ) 

Definition at line 703 of file llagent.cpp.

References FALSE, LLViewerParcelMgr::getAgentParcel(), LLViewerRegion::getBlockFly(), getRegion(), GP_LAND_ALLOW_FLY, gParcelMgr, isGodlike(), LLViewerParcelMgr::isParcelOwnedByAgent(), and TRUE.

Referenced by process_agent_movement_complete(), process_sim_stats(), LLToolBar::refresh(), and setFlying().

BOOL LLAgent::canManageEstate (  )  const

Definition at line 903 of file llagent.cpp.

References LLViewerRegion::canManageEstate(), and mRegionp.

Referenced by LLPanelEstateCovenant::handleDragAndDrop(), LLPanelEstateCovenant::postBuild(), LLPanelLandInfo::refresh(), LLPanelLandGeneral::refresh(), and LLViewerParcelMgr::startReleaseLand().

void LLAgent::changeCameraToCustomizeAvatar ( BOOL  animate = TRUE  ) 

Definition at line 4165 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, gAgent, LLCoordFrame::getAtAxis(), LLMotion::getDuration(), LLControlGroup::getF32(), LLViewerWindow::getWindow(), gFaceEditToolset, gSavedSettings, gToolMgr, gViewerWindow, LLPointer< Type >::isNull(), mAnimationDuration, mAvatarObject, mbFlagsDirty, mCameraAnimating, mCameraMode, mControlFlags, 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::changeCameraToDefault (  ) 

Definition at line 4008 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(), reset_view_final(), LLIMMgr::toggle(), and upload_pick().

void LLAgent::changeCameraToFollow ( BOOL  animate = TRUE  ) 

Definition at line 4025 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, gCamera, LLViewerCamera::getPointOfInterest(), gSavedSettings, gToolMgr, 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::changeCameraToMouselook ( BOOL  animate = TRUE  ) 

Definition at line 3953 of file llagent.cpp.

References AGENT_CONTROL_MOUSELOOK, ANIM_AGENT_BODY_NOISE, ANIM_AGENT_BREATHE_ROT, CAMERA_MODE_MOUSELOOK, LLSelectMgr::deselectAll(), endAnimationUpdateUI(), FALSE, LLViewerWindow::getWindow(), gMouselookToolset, gSavedSettings, gSelectMgr, gToolMgr, 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 4083 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, gCamera, LLCoordFrame::getAtAxis(), LLViewerWindow::getWindow(), gSavedSettings, gToolMgr, 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(), lookAtObject(), save_final_snapshot(), and updateCamera().

void LLAgent::cleanup (  ) 

Definition at line 452 of file llagent.cpp.

References mAvatarObject, mFadeObjects, mLookAt, mPointAt, mRegionp, NULL, LLUUID::null, setFocusObject(), and setSitCamera().

Referenced by disconnect_viewer(), and ~LLAgent().

void LLAgent::clearAFK (  ) 

Definition at line 2052 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().

void LLAgent::clearAlwaysRun (  )  [inline]

Definition at line 218 of file llagent.h.

References FALSE, and mbAlwaysRun.

Referenced by LLWorldAlwaysRun::handleEvent().

void LLAgent::clearBusy (  ) 

Definition at line 2102 of file llagent.cpp.

References ANIM_AGENT_BUSY, ANIM_REQUEST_STOP, FALSE, gBusyMenu, gFloaterMute, mIsBusy, sendAnimationRequest(), LLMenuItemGL::setLabel(), and LLFloaterMute::updateButtons().

Referenced by complete_give_money(), LLWorldSetBusy::handleEvent(), LLOverlayBar::onClickSetNotBusy(), and process_agent_movement_complete().

void LLAgent::clearControlFlags ( U32  mask  ) 

Definition at line 1978 of file llagent.cpp.

References mbFlagsDirty, mControlFlags, and TRUE.

Referenced by changeCameraToCustomizeAvatar(), changeCameraToFollow(), changeCameraToThirdPerson(), clearAFK(), and setFlying().

void LLAgent::clearFocusObject (  ) 

Definition at line 4262 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::clearRenderState ( U8  clearstate  ) 

Definition at line 2708 of file llagent.cpp.

References mRenderState.

Referenced by getRenderState(), and stopTyping().

void LLAgent::clearVisualParams ( void  )  [static]

Definition at line 5631 of file llagent.cpp.

References LLCharacter::clearVisualParamWeights(), gAgent, getAvatarObject(), and LLVOAvatar::updateVisualParams().

Referenced by init_debug_avatar_menu().

BOOL LLAgent::controlFlagsDirty (  )  const

Definition at line 1991 of file llagent.cpp.

References mbFlagsDirty.

Referenced by idle().

void LLAgent::copyWearableToInventory ( EWearableType  type  ) 

Definition at line 7052 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::createStandardWearables ( BOOL  female  ) 

Definition at line 6609 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::createStandardWearablesAllDone (  ) 

Definition at line 6674 of file llagent.cpp.

References mAvatarObject, mWearablesLoaded, sendAgentSetAppearance(), sendAgentWearablesUpdate(), and TRUE.

Referenced by LLAgent::createStandardWearablesAllDoneCallback::~createStandardWearablesAllDoneCallback().

void LLAgent::createStandardWearablesDone ( S32  index  ) 

Definition at line 6664 of file llagent.cpp.

References LLAgent::LLWearableEntry::mWearable, mWearableEntry, TRUE, and LLWearable::writeToAvatar().

Referenced by LLAgent::addWearableToAgentInventoryCallback::fire().

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().

void LLAgent::enableControlFlagReset (  ) 

Definition at line 1999 of file llagent.cpp.

References mbFlagsNeedReset, and TRUE.

Referenced by send_agent_update().

void LLAgent::endAnimationUpdateUI (  ) 

Definition at line 2757 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(), gAgent, gBasicToolset, gCamera, gConsole, get_skip_list(), LLCoordFrame::getAtAxis(), getAvatarObject(), gFaceEditToolset, gFloaterMap, gFloaterTools, gFloaterView, gFocusMgr, gIMMgr, gMenuBarView, gMorphView, gMouselookToolset, gQuitRequested, gStatusBar, gToolMgr, gViewerWindow, LOOKAT_TARGET_CLEAR, mAvatarObject, mCameraLag, mCameraMode, 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().

void LLAgent::fidget (  ) 

Definition at line 5874 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().

void LLAgent::forceReleaseControls (  ) 

Definition at line 5602 of file llagent.cpp.

References LLMessageSystem::addUUID(), getID(), getSessionID(), gMessageSystem, LLMessageSystem::newMessage(), LLMessageSystem::nextBlock(), and sendReliableMessage().

Referenced by LLOverlayBar::onClickReleaseKeys().

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().

void LLAgent::friendsChanged (  ) 

Definition at line 5075 of file llagent.cpp.

References LLAvatarTracker::applyFunctor(), LLAvatarTracker::instance(), LLCollectProxyBuddies::mProxy, and mProxyForAgents.

Referenced by LLAgentFriendObserver::changed(), and observeFriends().

BOOL LLAgent::getAdminOverride (  )  const [inline]

Definition at line 230 of file llagent.h.

References mAdminOverride.

Referenced by check_admin_override(), and handle_admin_override_toggle().

BOOL LLAgent::getAFK (  )  const

Definition at line 2076 of file llagent.cpp.

References AGENT_CONTROL_AWAY, and mControlFlags.

Referenced by fidget(), and LLWorldSetAway::handleEvent().

BOOL LLAgent::getAlwaysRun (  )  const [inline]

Definition at line 219 of file llagent.h.

References mbAlwaysRun.

Referenced by LLWorldCheckAlwaysRun::handleEvent(), LLWorldAlwaysRun::handleEvent(), and process_agent_movement_complete().

const LLVector3& LLAgent::getAtAxis (  )  const [inline]

Definition at line 310 of file llagent.h.

References LLCoordFrame::getAtAxis(), and mFrameAgent.

Referenced by LLToolSelect::handleObjectSelection(), resetView(), toggle_build_mode(), and LLVOAvatar::updateCharacter().

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().

LLVOAvatar* LLAgent::getAvatarObject (  )  const [inline]

Definition at line 296 of file llagent.h.

References mAvatarObject.

Referenced by add_object(), LLUndoWearable::applyUndoRedo(), LLPreviewAnim::auditionAnim(), LLObjectBridge::buildContextMenu(), clearVisualParams(), LLToolDragAndDrop::commitGiveInventoryCategory(), LLToolDragAndDrop::commitGiveInventoryItem(), LLWearable::copyDataFrom(), LLWearableList::createLegacyWearableFromAvatar(), 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(), 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(), 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(), LLFloaterSaveAvatar::onSave(), 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(), 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(), LLPreviewAnim::saveAnim(), LLSelectMgr::selectionSetImage(), LLSelectMgr::sendAttach(), LLSelectMgr::setAgentHUDZoom(), LLUndoWearable::setColor(), LLStatusBar::setHealth(), LLWearable::setParamsToDefaults(), LLPanelEditWearable::setSubpart(), setup_hud_matrices(), LLUndoWearable::setWearable(), LLFloaterCustomize::setWearable(), LLMorphView::shutdown(), sitting_on_selection(), slow_mo_animations(), LLGenePool::spawn(), LLFloaterCustomize::spawnWearableAppearance(), startAutoPilotGlobal(), LLGestureManager::stepGesture(), LLDebugText::update(), LLVOCloth::update(), LLMorphView::updateCamera(), updateCamera(), LLSelectMgr::updateSelectionCenter(), LLManipScale::updateSnapGuides(), LLManipRotate::updateVisiblity(), userRemoveAllAttachments(), wear_inventory_category_on_avatar_step2(), LLToolDragAndDrop::willObjectAcceptInventory(), and LLWearable::writeToAvatar().

BOOL LLAgent::getBusy (  )  const

Definition at line 2120 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().

F32 LLAgent::getCameraMinOffGround (  ) 

Definition at line 3914 of file llagent.cpp.

References CAMERA_MODE_MOUSELOOK, f, LLControlGroup::getBOOL(), gSavedSettings, and mCameraMode.

Referenced by calcCameraPositionTargetGlobal().

ECameraMode LLAgent::getCameraMode (  )  const [inline]

Definition at line 258 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(), LLVOAvatar::lazyAttach(), LLToolCamera::pickCallback(), LLVOAvatar::restoreMeshData(), update_statistics(), updateLookAt(), and LLVOAvatar::updateShadowFaces().

const LLVector3 & LLAgent::getCameraPositionAgent (  )  const

Definition at line 3533 of file llagent.cpp.

References gCamera, and LLCoordFrame::getOrigin().

Referenced by audio_update_wind(), calcCameraMinDistance(), LLManipRotate::dragConstrained(), LLManipRotate::dragUnconstrained(), LLNetMap::draw(), 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().

LLVector3d LLAgent::getCameraPositionGlobal (  )  const

Definition at line 3541 of file llagent.cpp.

References gCamera, LLCoordFrame::getOrigin(), getPosGlobalFromAgent(), and LLVector3d::zero.

Referenced by audio_update_listener(), 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(), raycast_for_new_obj_pos(), 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().

F32 LLAgent::getCameraZoomFraction (  ) 

Definition at line 1596 of file llagent.cpp.

References APPEARANCE_MAX_ZOOM, APPEARANCE_MIN_ZOOM, AVATAR_MIN_ZOOM, cameraCustomizeAvatar(), cameraThirdPerson(), clamp_rescale(), f, LLSelectMgr::getSelection(), gSelectMgr, gWorldPointer, 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().

U32 LLAgent::getControlFlags (  ) 

Definition at line 1949 of file llagent.cpp.

References mControlFlags.

Referenced by idle(), LLToolBar::onClickSit(), and send_agent_update().

F32 LLAgent::getCurrentCameraBuildOffset (  )  [inline]

Definition at line 528 of file llagent.h.

References LLVector3d::magVec(), and mCameraFocusOffset.

Referenced by LLSelectMgr::updateSilhouettes().

static LLUUID LLAgent::getDefaultTEImageID ( S32  te  )  [static]

F64 LLAgent::getDistanceTraveled (  )  const

Definition at line 1044 of file llagent.cpp.

References mDistanceTraveled.

Referenced by send_stats().

const LLColor4 & LLAgent::getEffectColor (  ) 

Definition at line 5164 of file llagent.cpp.

References mEffectColor.

Referenced by add_object(), app_request_quit(), 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(), and LLSelectMgr::selectionSetImage().

BOOL LLAgent::getFlying (  )  const [inline]

Definition at line 362 of file llagent.h.

References AGENT_CONTROL_FLY, and mControlFlags.

Referenced by autoPilot(), disconnect_viewer(), process_sim_stats(), LLToolBar::refresh(), setFlying(), startAutoPilotGlobal(), and LLVOAvatar::updateCharacter().

const LLVector3d& LLAgent::getFocusGlobal (  )  const [inline]

Definition at line 323 of file llagent.h.

References mFocusGlobal.

Referenced by calcCustomizeAvatarUIOffset(), LLToolCamera::handleHover(), and LLToolCamera::handleMouseUp().

LLPointer<LLViewerObject>& LLAgent::getFocusObject (  )  [inline]

Definition at line 260 of file llagent.h.

References mFocusObject.

Referenced by LLViewerObjectList::updateApparentAngles().

F32 LLAgent::getFocusObjectDist (  )  const [inline]

Definition at line 261 of file llagent.h.

References mFocusObjectDist.

BOOL LLAgent::getFocusOnAvatar (  )  const [inline]

Definition at line 259 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().

const LLVector3d& LLAgent::getFocusTargetGlobal (  )  const [inline]

Definition at line 324 of file llagent.h.

References mFocusTargetGlobal.

Referenced by handle_go_to().

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().

U8 LLAgent::getGodLevel (  )  const

Definition at line 4765 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(), and set_god_level().

S32 LLAgent::getGroupContribution ( const LLUUID group_id  )  const

Definition at line 4881 of file llagent.cpp.

References LLDynamicArray< Type, BlockSize >::count(), count, LLDynamicArray< Type, BlockSize >::get(), i, LLGroupData::mContribution, mGroups, LLGroupData::mID, and S32.

Referenced by LLFloaterBuyLandUI::updateParcelInfo().

BOOL LLAgent::getGroupData ( const LLUUID group_id,
LLGroupData data 
) const

Definition at line 4867 of file llagent.cpp.

References LLDynamicArray< Type, BlockSize >::count(), 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().

const LLUUID& LLAgent::getGroupID (  )  const [inline]

Definition at line 257 of file llagent.h.

References mGroupID.

Referenced by add_object(), LLPreviewGesture::addAnimations(), LLPreviewGesture::addSounds(), LLViewerParcelMgr::agentCanBuild(), LLViewerParcelMgr::canAgentBuyParcel(), LLVOAvatar::canGrabLocalTexture(), LLFloaterDirectory::createGroupDetail(), LLToolDragAndDrop::dad3dRezFromObjectOnLand(), 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(), LLPanelGroups::postBuild(), LLFloaterGroupPicker::postBuild(), processAgentDropGroup(), LLSelectMgr::redo(), LLPanelGroups::reset(), LLFloaterBuyLandUI::runWebSitePrep(), LLViewerObject::saveScript(), LLFloaterGroupInfo::showMyGroupInfo(), LLSelectMgr::undo(), and LLFloaterBuyLandUI::updateParcelInfo().

LLQuaternion LLAgent::getHeadRotation (  ) 

Definition at line 4992 of file llagent.cpp.

References cameraMouselook(), LLQuaternion::DEFAULT, gAgent, gCamera, LLCoordFrame::getAtAxis(), LLCoordFrame::getLeftAxis(), LLPointer< Type >::isNull(), left, mAvatarObject, and mFrameAgent.

Referenced by send_agent_update().

BOOL LLAgent::getHomePosGlobal ( LLVector3d pos_global  ) 

Definition at line 5618 of file llagent.cpp.

References FALSE, from_region_handle(), mHaveHomePosition, mHomePosRegion, mHomeRegionHandle, LLVector3::mV, LLVector3d::setVec(), TRUE, VX, VY, VZ, x, and y.

Referenced by LLTracker::cacheLandmarkPosition(), and LLWorldMapView::draw().

const LLUUID& LLAgent::getID (  )  const [inline]

Definition at line 243 of file llagent.h.

References gAgentID.

Referenced by LLPanelEstateInfo::accessCoreConfirm(), LLPanelGroups::activate(), LLGestureManager::activateGestures(), LLMuteList::add(), LLEventNotifier::add(), add_object(), LLPanelEstateInfo::addAllowedGroup(), LLPreviewGesture::addAnimations(), LLIMMgr::addMessage(), LLPanelGroupInvite::impl::addRoleNames(), LLPreviewGesture::addSounds(), addWearableToAgentInventory(), agent_get_id(), agentCanAddToRole(), LLViewerParcelMgr::agentCanBuild(), all_estates_text(), LLTextureCtrl::allowDrop(), allowOperation(), LLSelectNode::allowOperationOnNode(), LLPrefsIMImpl::apply(), LLPanelFriends::applyRightsToFriends(), LLPreviewSound::auditionSound(), LLTaskSoundBridge::buildContextMenu(), LLCallingCardBridge::buildContextMenu(), LLInventoryModel::buildParentChildMap(), LLFloaterNetwork2080::buildURL(), 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(), cleanup_app(), LLTaskInvFVBridge::commitBuyItem(), LLPanelEstateInfo::commitEstateInfo(), 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::dad3dRezFromObjectOnLand(), LLToolDragAndDrop::dad3dRezFromObjectOnObject(), LLToolDragAndDrop::dad3dRezObjectOnLand(), LLToolDragAndDrop::dad3dRezObjectOnObject(), LLToolDragAndDrop::dad3dTextureObject(), LLToolDragAndDrop::dad3dWearItem(), LLGestureManager::deactivateGesture(), LLGestureManager::deactivateSimilarGestures(), LLInventoryModel::deleteFromServer(), deliver_message(), derez_objects(), LLSelectMgr::deselectObjectAndFamily(), LLSelectMgr::deselectObjectOnly(), disconnect_viewer(), LLWorld::disconnectRegions(), LLOutfitObserver::done(), LLFloaterTopObjects::doToObjects(), LLViewerObject::doUpdateInventory(), LLFolderBridge::dragItemIntoFolder(), LLCallingCardBridge::dragOrDrop(), LLVoiceRemoteCtrl::draw(), LLPanelEditWearable::draw(), LLToolDragAndDrop::dropInventory(), LLToolDragAndDrop::dropObject(), LLToolDragAndDrop::dropScript(), enable_deed_object_to_group(), enable_detach(), enable_region_owner(), enable_save_into_inventory(), enable_take(), LLInventoryFetchComboObserver::fetch(), LLViewerInventoryCategory::fetchDescendents(), LLViewerInventoryItem::fetchFromServer(), LLInventoryFetchObserver::fetchItems(), 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(), 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(), LLWorldAlwaysRun::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(), makeNewOutfit(), LLInventoryModel::messageUpdateCore(), LLToolBrushLand::modifyLandAtPointGlobal(), LLToolBrushLand::modifyLandInSelectionGlobal(), move_inv_category_world_to_agent(), LLViewerObject::moveInventory(), near_sit_object(), 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(), LLPanelDirFindAllOld::onClickSearch(), LLPanelLandGeneral::onClickSetGroup(), LLFloaterIMPanel::onClose(), LLPreview::onCommit(), LLFloaterProperties::onCommitPermissions(), LLChatBar::onInputEditorKeystroke(), 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_teleport_finish(), process_teleport_local(), process_teleport_progress(), process_user_info_reply(), 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(), LLPanelDirPlaces::queryCore(), queryWearableCache(), LLViewerParcelMgr::reclaimParcel(), LLPreviewGesture::refresh(), LLPanelPick::refresh(), LLPanelPermissions::refresh(), LLPanelLandInfo::refresh(), LLPanelClassified::refresh(), LLPanelAvatarPicks::refresh(), LLPanelAvatarClassified::refresh(), LLPanelLandCovenant::refresh(), LLPanelLandGeneral::refresh(), 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(), LLViewerObject::requestInventory(), requestLeaveGodMode(), LLObjectEmitter::requestObjectInfo(), LLFloaterChat::requestObjectOwner(), LLSelectMgr::requestObjectPropertiesFamily(), LLPanelDirPopular::requestPopular(), LLPanelAvatar::resetGroupList(), 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_complete_agent_movement(), send_eject(), send_estate_ban(), send_estate_message(), send_freeze(), send_generic_message(), send_improved_im(), send_logout_request(), 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(), LLFloaterAvatarList::sendAvatarPropertiesRequest(), LLPanelAvatar::sendAvatarPropertiesUpdate(), LLPanelEstateCovenant::sendChangeCovenantID(), sendChat(), 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(), 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(), LLViewerObject::sendPositionUpdate(), LLFloaterGodTools::sendRegionInfoRequest(), LLViewerCircuit::sendReply(), LLFloaterReporter::sendReportViaLegacy(), LLPanelRequestTools::sendRequest(), LLTextureFetch::sendRequestListToSimulators(), LLViewerObject::sendRotationUpdate(), LLViewerObject::sendScaleUpdate(), LLViewerWindow::sendShapeToSim(), LLViewerObject::sendShapeUpdate(), LLPanelGroupVoting::impl::sendStartGroupProposal(), LLViewerObject::sendTEUpdate(), LLViewerThrottleGroup::sendToSim(), LLFloaterIMPanel::sendTypingState(), LLGroupMgr::sendUpdateGroupInfo(), session_starter_helper(), LLPanelAvatar::setAvatarID(), LLFloaterTexturePicker::setImageID(), LLTracker::setLandmarkVisited(), LLPanelAvatar::setOnlineStatus(), LLVoiceChannelP2P::setSessionHandle(), setStartPosition(), LLFloaterIMPanel::setTyping(), LLFloaterRegionInfo::show(), LLFloaterPreference::show(), LLFloaterAvatarList::speakText(), LLCurrencyUIManager::Impl::startCurrencyBuy(), LLTaskCategoryBridge::startDrag(), LLTaskInvFVBridge::startDrag(), LLToolGrab::startGrab(), LLToolGrab::startSpin(), startTyping(), 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::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(), disconnect_viewer(), 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().

BOOL LLAgent::getJump (  )  const [inline]

Definition at line 326 of file llagent.h.

References mbJump.

LLUUID LLAgent::getLastChatter (  )  [inline]

Definition at line 210 of file llagent.h.

References mLastChatterID.

Referenced by LLViewEnableLastChatter::handleEvent().

const LLVector3& LLAgent::getLeftAxis (  )  const [inline]

Definition at line 312 of file llagent.h.

References LLCoordFrame::getLeftAxis(), and mFrameAgent.

ELookAtType LLAgent::getLookAtType (  ) 

Definition at line 112 of file llglsandbox.cpp.

References LOOKAT_TARGET_NONE, and mLookAt.

void LLAgent::getName ( LLString name  ) 

Definition at line 5140 of file llagent.cpp.

References LLControlGroup::getString(), gSavedSettings, llendl, llwarns, mAvatarObject, and LLNameValue::printData().

Referenced by buildLocationString(), and LLViewerWindow::handlePaint().

F32 LLAgent::getNearChatRadius (  )  [inline]

Definition at line 543 of file llagent.h.

References mNearChatRadius.

Referenced by get_text_color().

EPointAtType LLAgent::getPointAtType (  ) 

Definition at line 122 of file llglsandbox.cpp.

References mPointAt, and POINTAT_TARGET_NONE.

LLVector3 LLAgent::getPosAgentFromGlobal ( const LLVector3d pos_global  )  const

Definition at line 1053 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 1064 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(), lookAtObject(), 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(), LLFloaterAvatarList::updateAvatarList(), LLMorphView::updateCamera(), updateCamera(), LLVOAvatar::updateCharacter(), updateFocusOffset(), LLSelectMgr::updateSelectionCenter(), LLVOAvatar::updateShadowFaces(), and LLManipRotate::updateVisiblity().

const LLVector3 & LLAgent::getPositionAgent (  ) 

Definition at line 1023 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(), LLPanelDirFindAll::getSearchURLSuffix(), LLToolSelectRect::handleRectangleSelection(), inventory_offer_callback(), lookAtObject(), 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().

const LLVector3d & LLAgent::getPositionGlobal (  ) 

Definition at line 1006 of file llagent.cpp.

References LLCoordFrame::getOrigin(), getPosGlobalFromAgent(), LLPointer< Type >::isNull(), mAvatarObject, mFrameAgent, and mPositionGlobal.

Referenced by LLAgentPilot::addAction(), app_request_quit(), LLPreviewSound::auditionSound(), LLFloaterLandHoldings::buttonCore(), calcCameraPositionTargetGlobal(), calcFocusPositionTargetGlobal(), LLSelectMgr::deselectAllIfTooFar(), LLWorldMapView::draw(), LLNetMap::draw(), LLPreviewLandmark::getDegreesAndDist(), LLAvatarTracker::getDegreesAndDist(), LLFloaterWorldMap::getDistanceToDestination(), LLToolGrab::getGrabPointGlobal(), LLShowFloater::handleEvent(), LLToolSelect::handleObjectSelection(), LLViewerWindow::handlePaint(), 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(), LLFloaterAvatarList::refreshAvatarList(), LLWorld::removeRegion(), setFocusGlobal(), startAutoPilotGlobal(), stopAutoPilot(), toggle_build_mode(), LLDebugText::update(), updateCamera(), LLFloaterEventLog::updateList(), and LLFloaterWorldMap::updateLocation().

U64 LLAgent::getPowerInGroup ( const LLUUID group_id  )  const

Definition at line 4853 of file llagent.cpp.

References LLDynamicArray< Type, BlockSize >::count(), count, LLDynamicArray< Type, BlockSize >::get(), GP_NO_POWERS, i, mGroups, LLGroupData::mID, LLGroupData::mPowers, and S32.

LLQuaternion LLAgent::getQuat (  )  const

Definition at line 1242 of file llagent.cpp.

References LLCoordFrame::getQuaternion(), and mFrameAgent.

LLVector3 LLAgent::getReferenceUpVector (  ) 

Definition at line 1149 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 calcCameraPositionTargetGlobal(), cameraOrbitAround(), cameraOrbitOver(), LLToolGun::handleHover(), pitch(), resetAxes(), resetView(), LLVOAvatar::updateCharacter(), and yaw().

LLViewerRegion * LLAgent::getRegion (  )  const

Definition at line 871 of file llagent.cpp.

References mRegionp.

Referenced by LLPanelEstateInfo::accessAddCore3(), LLPanelEstateInfo::accessCoreConfirm(), all_estates_text(), app_request_quit(), audio_update_wind(), buildLocationString(), LLSpatialPartition::calcDistance(), LLPanelRegionDebugInfo::callbackAvatarID(), LLViewerCamera::cameraUnderWater(), canFly(), LLFloaterGodTools::computeRegionFlags(), confirm_replace_attachment_rez(), container_inventory_arrived(), copy_inventory_from_notecard(), create_new_landmark(), LLWorld::disconnectRegions(), LLStartUp::dispatchURL(), LLPanelPlace::displayParcelInfo(), LLVolumeImplFlexible::doFlexibleUpdate(), LLFloaterTopObjects::doToObjects(), LLTextureFetchWorker::doWork(), LLNetMap::draw(), LLFloaterIMPanel::draw(), LLFloaterWorldMap::draw(), enable_region_owner(), LLFloaterReporter::gatherReport(), LLVoiceChannelGroup::getChannelInfo(), LLPanelDirFindAll::getSearchURLSuffix(), 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(), 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(), onClickScripts(), LLFloaterReporter::onClickSend(), LLPanelPick::onClickSet(), LLPanelRegionTools::onRefresh(), LLDispatchEstateUpdateInfo::operator()(), LLVoiceClient::parcelChanged(), LLObjectBridge::performAction(), LLViewerChatterBoxInvitation::post(), LLPipeline::postSort(), process_agent_movement_complete(), process_improved_im(), process_sim_stats(), LLViewerParcelMgr::processParcelProperties(), LLFloaterRegionInfo::processRegionInfo(), LLFloaterGodTools::processRegionInfo(), queryWearableCache(), LLStatusBar::refresh(), LLPanelObjectTools::refresh(), LLFloaterProperties::refreshFromItem(), remove_inventory_category_from_avatar_step2(), LLWorld::removeRegion(), LLToolBrushLand::render(), LLDrawPoolSky::render(), LLDrawPoolGround::render(), LLPipeline::renderDebug(), LLDrawPoolTerrain::renderFull2TU(), LLDrawPoolTerrain::renderFull4TU(), LLDrawPoolTerrain::renderFull4TUShader(), LLViewerParcelMgr::renderParcelCollision(), LLVoiceClient::requestVoiceAccountProvision(), LLLiveLSLEditor::saveIfNeeded(), LLPreviewLSL::saveIfNeeded(), LLPreviewNotecard::saveIfNeeded(), LLPreviewGesture::saveIfNeeded(), LLViewerParcelMgr::selectCollisionParcel(), send_estate_message(), send_sound_trigger(), send_stats(), LLPanelClassified::sendClassifiedClickMessage(), LLPanelClassified::sendClassifiedInfoRequest(), LLFloaterGodTools::sendGodUpdateRegionInfo(), LLWorldMap::sendMapLayerRequest(), LLFloaterPostcard::sendPostcard(), LLFloaterReporter::sendReportViaLegacy(), LLTextureFetch::sendRequestListToSimulators(), LLPanelRegionGeneralInfo::sendUpdate(), setAFK(), LLViewerThrottle::setMaxBandwidth(), LLRegionPosition::setPositionGlobal(), setup_clip_plane(), LLFloaterReleaseMsg::show(), LLFloaterRegionInfo::show(), LLVoiceClient::stateMachine(), teleportCancel(), teleportRequest(), teleportViaLandmark(), teleportViaLocation(), teleportViaLure(), trigger_hippo_bug(), update_statistics(), updateCamera(), 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 877 of file llagent.cpp.

References LLViewerRegion::getHost(), LLHost::invalid, and mRegionp.

Referenced by LLFloaterGodTools::draw(), handle_detach_from_avatar(), 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().

S32 LLAgent::getRegionsVisited (  )  const

Definition at line 1036 of file llagent.cpp.

References mRegionsVisited.

Referenced by LLWorld::removeRegion(), and send_stats().

U8 LLAgent::getRenderState (  ) 

Definition at line 2717 of file llagent.cpp.

References AGENT_STATE_EDITING, AGENT_STATE_TYPING, clearRenderState(), LLToolMgr::getCurrentTool(), LLFrameTimer::getElapsedTimeF32(), LLSelectMgr::getSelection(), gKeyboard, gNoRender, gSelectMgr, gToolMgr, LLTool::isEditing(), mRenderState, mTypingTimer, NULL, setRenderState(), LLSelectMgr::shouldShowSelection(), stopTyping(), and TYPING_TIMEOUT_SECS.

Referenced by LLChatBar::refresh(), send_agent_update(), and startTyping().

const LLUUID& LLAgent::getSecureSessionID (  )  const [inline]

Definition at line 246 of file llagent.h.

References mSecureSessionID.

Referenced by LLFloaterCompileQueue::compile(), LLWearableList::createCopy(), LLWearableList::createCopyFromAvatar(), LLWearableList::createLegacyWearableFromAvatar(), 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().

const LLUUID& LLAgent::getSessionID (  )  const [inline]

Definition at line 244 of file llagent.h.

References gAgentSessionID.

Referenced by LLPanelGroups::activate(), LLGestureManager::activateGestures(), LLEventNotifier::add(), add_object(), addWearableToAgentInventory(), agent_get_session_id(), LLPrefsIMImpl::apply(), LLPanelFriends::applyRightsToFriends(), 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::commitEstateInfo(), 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(), LLInventoryFetchObserver::fetchItems(), LLPanelAvatar::finishFreeze(), LLPanelAvatar::finishKick(), LLPanelGridTools::finishKick(), LLPanelAvatar::finishUnfreeze(), LLPanelGridTools::flushMapVisibilityCachesConfirm(), forceReleaseControls(), friendship_offer_callback(), LLFloaterReporter::getObjectInfo(), handle_claim_public_land(), handle_detach_from_avatar(), handle_lure_callback(), handle_sit_or_stand(), LLWorldCreateLandmark::handleEvent(), LLWorldAlwaysRun::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(), LLPanelDirFindAllOld::onClickSearch(), LLFloaterIMPanel::onClose(), LLChatBar::onInputEditorKeystroke(), 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_teleport_finish(), LLInventoryModel::purgeDescendentsOf(), LLPanelDirPlaces::queryCore(), 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(), LLViewerObject::requestInventory(), requestLeaveGodMode(), LLObjectEmitter::requestObjectInfo(), LLFloaterChat::requestObjectOwner(), LLSelectMgr::requestObjectPropertiesFamily(), LLPanelDirPopular::requestPopular(), LLPermissionsView::revokePermissions(), LLFloaterBuyLandUI::runWebSitePrep(), LLViewerObject::saveScript(), script_question_cb(), script_question_decline_cb(), LLViewerParcelMgr::selectCollisionParcel(), LLViewerParcelMgr::selectLand(), LLSelectMgr::selectObjectOnly(), send_agent_update(), send_complete_agent_movement(), send_eject(), send_estate_ban(), send_estate_message(), send_freeze(), send_generic_message(), send_improved_im(), send_logout_request(), 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(), LLFloaterAvatarList::sendAvatarPropertiesRequest(), LLPanelAvatar::sendAvatarPropertiesUpdate(), LLPanelEstateCovenant::sendChangeCovenantID(), sendChat(), 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(), 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(), LLViewerObject::sendPositionUpdate(), LLFloaterGodTools::sendRegionInfoRequest(), LLViewerCircuit::sendReply(), LLFloaterReporter::sendReportViaLegacy(), LLPanelRequestTools::sendRequest(), LLTextureFetch::sendRequestListToSimulators(), LLViewerObject::sendRotationUpdate(), LLViewerObject::sendScaleUpdate(), LLViewerWindow::sendShapeToSim(), LLViewerObject::sendShapeUpdate(), LLPanelGroupVoting::impl::sendStartGroupProposal(), LLViewerObject::sendTEUpdate(), LLViewerThrottleGroup::sendToSim(), LLFloaterIMPanel::sendTypingState(), LLGroupMgr::sendUpdateGroupInfo(), session_starter_helper(), LLTracker::setLandmarkVisited(), setStartPosition(), LLFloaterRegionInfo::show(), LLFloaterPreference::show(), LLFloaterAvatarList::speakText(), 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 LLVector3& LLAgent::getTargetVelocity (  )  const

const LLString& LLAgent::getTeleportMessage (  )  const [inline]

Definition at line 557 of file llagent.h.

References mTeleportMessage.

Referenced by display().

ETeleportState LLAgent::getTeleportState (  )  const [inline]

Definition at line 555 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().

static EWearableType LLAgent::getTEWearableType ( S32  te  )  [static]

F32 LLAgent::getTypingTime (  )  [inline]

Definition at line 211 of file llagent.h.

References LLFrameTimer::getElapsedTimeF32(), and mTypingTimer.

Referenced by LLChatBar::refresh().

const LLVector3& LLAgent::getUpAxis (  )  const [inline]

Definition at line 311 of file llagent.h.

References LLCoordFrame::getUpAxis(), and mFrameAgent.

Referenced by calcCameraPositionTargetGlobal(), and LLManipRotate::render().

LLVector3 LLAgent::getVelocity (  )  const

Definition at line 947 of file llagent.cpp.

References mAvatarObject, and LLVector3::zero.

Referenced by audio_update_listener(), audio_update_wind(), buildLocationString(), calcCameraPositionTargetGlobal(), LLVelocityBar::draw(), getVelocityZ(), propagate(), and LLStatusBar::refresh().

F32 LLAgent::getVelocityZ (  )  const [inline]

Definition at line 316 of file llagent.h.

References getVelocity(), LLVector3::mV, and VZ.

LLWearable* LLAgent::getWearable ( EWearableType  type  )  [inline]

Definition at line 595 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().

LLWearable * LLAgent::getWearableFromWearableItem ( const LLUUID item_id  ) 

Definition at line 6363 of file llagent.cpp.

References i, mWearableEntry, NULL, S32, and WT_COUNT.

Referenced by LLWearableBridge::editOnAvatar(), and isWearingItem().

LLInventoryItem * LLAgent::getWearableInventoryItem ( EWearableType  type  ) 

Definition at line 6352 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().

const LLUUID& LLAgent::getWearableItem ( EWearableType  type  )  [inline]

Definition at line 598 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().

U32 LLAgent::getWearablePermMask ( EWearableType  type  ) 

Definition at line 6338 of file llagent.cpp.

References LLInventoryModel::getItem(), LLPermissions::getMaskOwner(), LLInventoryItem::getPermissions(), getWearableItem(), gInventory, LLUUID::isNull(), and PERM_NONE.

BOOL LLAgent::getWearablesLoaded (  )  const [inline]

Definition at line 580 of file llagent.h.

References mWearablesLoaded.

Referenced by LLShowFloater::handleEvent(), LLEditEnableCustomizeAvatar::handleEvent(), idle_startup(), and LLToolBar::onClickAppearance().

void LLAgent::handleScrollWheel ( S32  clicks  ) 

Definition at line 3866 of file llagent.cpp.

References CAMERA_MODE_FOLLOW, CAMERA_MODE_THIRD_PERSON, cameraOrbitIn(), cameraZoomIn(), changeCameraToMouselook(), f, F_SQRT2, FALSE, gAgent, getFocusOnAvatar(), LLFollowCamParams::getPositionLocked(), LLSelectMgr::getSelection(), gSelectMgr, LLFollowCam::isZoomedToMinimumDistance(), LLVector3d::magVec(), LLVector3::magVec(), mCameraAnimating, mCameraFocusOffsetTarget, mCameraMode, mCameraOffsetDefault, mFocusOnAvatar, mFollowCam, mTargetCameraDistance, SELECT_TYPE_HUD, and LLFollowCam::zoom().

Referenced by LLViewerWindow::handleScrollWheel().

BOOL LLAgent::hasPowerInActiveGroup ( const U64  power  )  const

Definition at line 4848 of file llagent.cpp.

References hasPowerInGroup(), mGroupID, and LLUUID::notNull().

Referenced by LLFloaterBuyLand::buyLand(), LLViewerParcelMgr::canAgentBuyParcel(), and LLFloaterBuyLandUI::updateParcelInfo().

BOOL LLAgent::hasPowerInGroup ( const LLUUID group_id,
U64  power 
) const

Definition at line 4832 of file llagent.cpp.

References LLDynamicArray< Type, BlockSize >::count(), 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(), enable_deed_object_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().

void LLAgent::heardChat ( const LLUUID id  ) 

Definition at line 4512 of file llagent.cpp.

References LLViewerObjectList::findObject(), getID(), gLocalSpeakerMgr, 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::init (  ) 

Definition at line 415 of file llagent.cpp.

References LLObservable::addListener(), LLVector4::clearVec(), DEFAULT_FIELD_OF_VIEW, f, gCamera, LLControlGroup::getBOOL(), LLControlGroup::getColor4(), LLControlGroup::getControl(), LLViewerWindow::getDisplayAspectRatio(), LLControlGroup::getF32(), LLControlGroup::getVector3(), gSavedSettings, gViewerWindow, LLVector3::magVec(), mCameraCollidePlane, mCameraFocusOffsetTarget, mCameraOffsetDefault, mCameraZoomFraction, mCurrentCameraDistance, mDrawDistance, mEffectColor, mEffectColorListener, mHideGroupTitleListener, mInitialized, mTargetCameraDistance, mTrackFocusObject, LLCamera::setAspect(), LLCamera::setFar(), setFlying(), LLCamera::setNear(), LLCamera::setView(), LLCamera::setViewHeightInPixels(), and TRUE.

Referenced by idle_startup().

void LLAgent::initOriginGlobal ( const LLVector3d origin_global  ) 

Definition at line 5174 of file llagent.cpp.

References mAgentOriginGlobal.

Referenced by idle_startup().

BOOL LLAgent::inPrelude (  ) 

Definition at line 893 of file llagent.cpp.

References LLViewerRegion::isPrelude(), and mRegionp.

Referenced by LLVOSky::calculateColors(), enable_land_build(), enable_object_build(), LLEnableEdit::handleEvent(), process_mean_collision_alert_message(), and LLPanelAvatar::setOnlineStatus().

BOOL LLAgent::isControlGrabbed ( S32  control_index  )  const

Definition at line 5597 of file llagent.cpp.

References mControlsTakenCount.

Referenced by LLOverlayBar::refresh().

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().

BOOL LLAgent::isGodlike (  )  const

Definition at line 4755 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(), handle_selected_texture_info(), 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::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(), LLFloaterTexturePicker::updateImageStats(), LLFloaterWorldMap::updateLocation(), LLLiveLSLEditor::uploadAssetLegacy(), LLPreviewLSL::uploadAssetLegacy(), and LLWorldMapView::viewPosToGlobal().

BOOL LLAgent::isGrantedProxy ( const LLPermissions perm  ) 

Definition at line 5082 of file llagent.cpp.

References LLPermissions::getOwner(), and mProxyForAgents.

Referenced by allowOperation(), and LLSelectNode::allowOperationOnNode().

BOOL LLAgent::isGroupMember (  )  const [inline]

Definition at line 256 of file llagent.h.

References LLUUID::isNull(), and mGroupID.

Referenced by buildFullnameAndTitle().

BOOL LLAgent::isGroupTitleHidden (  )  const [inline]

Definition at line 255 of file llagent.h.

References mHideGroupTitle.

Referenced by send_agent_update().

BOOL LLAgent::isInGroup ( const LLUUID group_id  )  const

Definition at line 4818 of file llagent.cpp.

References LLDynamicArray< Type, BlockSize >::count(), 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().

bool LLAgent::isTeen (  )  const

Definition at line 4775 of file llagent.cpp.

References mAccess, and SIM_ACCESS_MATURE.

Referenced by LLPanelGroupGeneral::apply(), LLFloaterCustomize::createWearablePanel(), LLWorldMapView::draw(), LLPanelDirPopular::draw(), LLPanelDirPlaces::draw(), LLPanelDirGroups::draw(), LLPanelDirFindAllOld::draw(), LLPanelDirFindAll::getSearchURLSuffix(), handle_toggle_pg(), init_menus(), LLMakeOutfitDialog::LLMakeOutfitDialog(), LLFloaterCustomize::onBtnMakeOutfit(), LLPanelDirFindAllOld::onClickSearch(), LLPanelDirPlaces::performQuery(), LLPanelDirLand::performQuery(), LLPanelDirGroups::performQuery(), LLPanelDirEvents::performQueryOrDelete(), LLPanelGroupGeneral::postBuild(), LLPanelDirLand::postBuild(), LLPanelDirFindAll::postBuild(), LLPanelDirClassified::postBuild(), LLPanelClassified::postBuild(), LLFloaterWorldMap::postBuild(), LLFloaterPostcard::postBuild(), LLPanelLandOptions::postBuild(), LLFloaterCustomize::postBuild(), LLPanelEditWearable::postBuild(), LLPanelDirEvents::refresh(), LLPanelLandOptions::refresh(), removeWearable(), LLPanelDirPopular::requestPopular(), setWearableOutfit(), LLPanelGroupGeneral::update(), and wearable_can_take_off().

BOOL LLAgent::isWearableCopyable ( EWearableType  type  ) 

Definition at line 6323 of file llagent.cpp.

References FALSE, gAgent, getGroupID(), getID(), LLInventoryModel::getItem(), getWearableItem(), gInventory, LLUUID::isNull(), and TRUE.

Referenced by makeNewOutfit(), and saveWearableAs().

BOOL LLAgent::isWearableModifiable ( EWearableType  type  ) 

Definition at line 6308 of file llagent.cpp.

References FALSE, gAgent, getGroupID(), getID(), LLInventoryModel::getItem(), getWearableItem(), gInventory, LLUUID::isNull(), and TRUE.

Referenced by LLPanelEditWearable::onCommitSexChange().

BOOL LLAgent::isWearingItem ( const LLUUID item_id  ) 

Definition at line 6393 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().

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().

void LLAgent::lookAtLastChat (  ) 

Definition at line 4532 of file llagent.cpp.

References CAMERA_POSITION_SELF, lookAtObject(), and mLastChatterID.

Referenced by LLViewLookAtLastChatter::handleEvent().

void LLAgent::lookAtObject ( LLUUID  avatar_id,
ECameraPosition  camera_pos 
)

Definition at line 4540 of file llagent.cpp.

References AGENT_CONTROL_STOP, CAMERA_POSITION_OBJECT, CAMERA_POSITION_SELF, cameraThirdPerson(), changeCameraToThirdPerson(), f, FALSE, LLViewerObjectList::findObject(), gAgent, getPosGlobalFromAgent(), getPositionAgent(), LLViewerObject::getPositionAgent(), LLViewerObject::getPositionGlobal(), LLViewerObject::getRenderPosition(), LLViewerObject::getVObjRadius(), gObjectList, LLPrimitive::isAvatar(), LLPointer< Type >::isNull(), left, mAvatarObject, mCameraAnimating, mCameraFocusOffsetTarget, LLVector3::normVec(), setControlFlags(), setFocusGlobal(), setFocusOnAvatar(), TRUE, and LLVector3::z_axis.

Referenced by LLFloaterAvatarList::focusOnNext(), LLFloaterAvatarList::focusOnPrev(), lookAtLastChat(), LLFloaterEventLog::onDoubleClick(), LLFloaterAvatarList::onDoubleClick(), and LLFloaterAvatarList::processARQueue().

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 6686 of file llagent.cpp.

References LLMessageSystem::addUUID(), LLAssetType::AT_CLOTHING, LLAssetType::AT_NONE, LLAgent::addWearableToAgentInventoryCallback::CALL_MAKENEWOUTFITDONE, LLAgent::addWearableToAgentInventoryCallback::CALL_NONE, copy_inventory_item(), count, LLDynamicArray< Type, BlockSize >::count(), LLWearableList::createCopy(), LLInventoryModel::createNewCategory(), DB_INV_ITEM_NAME_STR_LEN, FALSE, LLInventoryModel::findCategoryUUIDForType(), gAgent, 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 6817 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::moveAt ( S32  direction  ) 

Definition at line 558 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_backward(), agent_push_forward(), LLJoystickAgentSlide::onHeldDown(), and LLJoystickAgentTurn::onHeldDown().

void LLAgent::moveAtNudge ( S32  direction  ) 

Definition at line 580 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_backward(), agent_push_forward(), LLJoystickAgentSlide::onHeldDown(), and LLJoystickAgentTurn::onHeldDown().

void LLAgent::moveLeft ( S32  direction  ) 

Definition at line 602 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_left(), agent_slide_right(), and LLJoystickAgentSlide::onHeldDown().

void LLAgent::moveLeftNudge ( S32  direction  ) 

Definition at line 624 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_left(), agent_slide_right(), and LLJoystickAgentSlide::onMouseUp().

void LLAgent::movePitch ( S32  direction  ) 

Definition at line 687 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::moveUp ( S32  direction  ) 

Definition at line 646 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(), LLFloaterMove::moveDown(), and LLFloaterMove::moveUp().

void LLAgent::moveYaw ( F32  mag  ) 

Definition at line 668 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(), idle(), LLJoystickAgentTurn::onHeldDown(), LLFloaterMove::turnLeft(), and LLFloaterMove::turnRight().

BOOL LLAgent::needsRenderAvatar (  ) 

Definition at line 2627 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 2638 of file llagent.cpp.

References cameraMouselook(), and mShowAvatar.

Referenced by LLVOAvatar::renderFootShadows(), LLVOAvatar::renderRigid(), LLVOAvatar::renderSkinned(), LLVOAvatar::renderTransparent(), and LLVOAvatar::updateLOD().

BOOL LLAgent::needsReplacement ( EWearableType  wearableType,
S32  remove 
)

Definition at line 7091 of file llagent.cpp.

References TRUE.

void LLAgent::observeFriends (  ) 

Definition at line 7434 of file llagent.cpp.

References LLAvatarTracker::addObserver(), friendsChanged(), LLAvatarTracker::instance(), and mFriendObserver.

Referenced by idle_startup().

void LLAgent::onAnimStop ( const LLUUID id  ) 

Definition at line 4729 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::onInitialWearableAssetArrived ( LLWearable wearable,
void userdata 
) [static, protected]

Definition at line 6497 of file llagent.cpp.

References LLInventoryModel::addChangedMask(), cameraCustomizeAvatar(), FALSE, gAgent, getAvatarObject(), LLWearable::getType(), gInventory, i, LLInventoryObserver::LABEL, llassert, LLAgent::LLWearableEntry::mItemID, LLAgent::LLWearableEntry::mWearable, mWearableEntry, mWearablesLoaded, LLInventoryModel::notifyObservers(), queryWearableCache(), recoverMissingWearable(), LLVOAvatar::requestLayerSetUploads(), S32, sendAgentSetAppearance(), LLVOAvatar::setCompositeUpdatesEnabled(), LLVOAvatar::setupComposites(), TRUE, type, LLWearable::writeToAvatar(), and WT_COUNT.

Referenced by processAgentInitialWearablesUpdate().

void LLAgent::onRemoveWearableDialog ( S32  option,
void userdata 
) [static]

Definition at line 7006 of file llagent.cpp.

References gAgent, llassert, removeWearableFinal(), saveWearable(), and type.

Referenced by removeWearable().

void LLAgent::onSetWearableDialog ( S32  option,
void userdata 
) [static]

Definition at line 7235 of file llagent.cpp.

References gAgent, LLInventoryModel::getItem(), LLWearable::getType(), gInventory, llassert, LLSetWearableData::mNewItemID, LLSetWearableData::mNewWearable, saveWearable(), and setWearableFinal().

Referenced by setWearable().

void LLAgent::parseTeleportMessages ( const LLString xml_filename  )  [static]

Definition at line 7444 of file llagent.cpp.

References LLUICtrlFactory::getLayeredXMLNode(), llendl, llerrs, NULL, sTeleportErrorMessages, and sTeleportProgressMessages.

Referenced by main().

void LLAgent::pitch ( F32  angle  ) 

Definition at line 1179 of file llagent.cpp.

References DEG_TO_RAD, f, LLCoordFrame::getAtAxis(), getReferenceUpVector(), mAvatarObject, mFrameAgent, LLPointer< Type >::notNull(), and LLCoordFrame::pitch().

Referenced by cameraOrbitOver(), LLToolGun::handleHover(), and propagate().

void LLAgent::processAgentCachedTextureResponse ( LLMessageSystem mesgsys,
void **  user_data 
) [static]

Definition at line 5528 of file llagent.cpp.

References _PREHASH_AgentData, _PREHASH_SerialNum, _PREHASH_TextureID, _PREHASH_TextureIndex, _PREHASH_WearableData, BAKED_TEXTURE_COUNT, cameraCustomizeAvatar(), gAgent, getAvatarObject(), LLMessageSystem::getNumberOfBlocksFast(), LLMessageSystem::getS32Fast(), LLMessageSystem::getU8Fast(), LLMessageSystem::getUUIDFast(), LLViewerObject::isDead(), llendl, llinfos, llwarns, mActiveCacheQueries, mNumPendingQueries, S32, LLVOAvatar::sBakedTextureIndices, sendAgentSetAppearance(), LLVOAvatar::setCachedBakedTexture(), LLVOAvatar::setCompositeUpdatesEnabled(), TRUE, and LLVOAvatar::updateMeshTextures().

Referenced by register_viewer_callbacks().

void LLAgent::processAgentDataUpdate ( LLMessageSystem msg,
void **   
) [static]

Definition at line 5356 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, gAgent, 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::processAgentDropGroup ( LLMessageSystem msg,
void **   
) [static]

Definition at line 5200 of file llagent.cpp.

References _PREHASH_AgentData, _PREHASH_AgentID, _PREHASH_GroupID, LLGroupMgr::clearGroupData(), LLFloaterGroupInfo::closeGroup(), LLDynamicArray< Type, BlockSize >::find(), gAgent, gAgentID, getGroupID(), LLMessageSystem::getUUIDFast(), gGroupMgr, 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::processAgentGroupDataUpdate ( LLMessageSystem msg,
void **   
) [static]

Definition at line 5245 of file llagent.cpp.

References _PREHASH_AgentData, _PREHASH_AgentID, _PREHASH_GroupData, _PREHASH_GroupID, _PREHASH_GroupInsigniaID, _PREHASH_GroupName, count, DB_GROUP_NAME_BUF_SIZE, LLDynamicArray< Type, BlockSize >::find(), gAgent, 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::processAgentInitialWearablesUpdate ( LLMessageSystem mesgsys,
void **  user_data 
) [static]

Definition at line 6400 of file llagent.cpp.

References _PREHASH_AgentData, _PREHASH_AgentID, _PREHASH_AssetID, _PREHASH_ItemID, _PREHASH_SerialNum, _PREHASH_WearableData, _PREHASH_WearableType, LLAssetType::AT_NONE, FALSE, first, gAgent, 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, type, LLWearable::typeToAssetType(), LLWearable::typeToTypeLabel(), and WT_COUNT.

Referenced by register_viewer_callbacks().

void LLAgent::processScriptControlChange ( LLMessageSystem msg,
void **   
) [static]

Definition at line 5390 of file llagent.cpp.

References gAgent, LLMessageSystem::getBOOL(), LLMessageSystem::getNumberOfBlocks(), LLMessageSystem::getU32(), i, mControlsTakenCount, mControlsTakenPassedOnCount, S32, TOTAL_CONTROLS, and LLFirstUse::useOverrideKeys().

Referenced by register_viewer_callbacks().

void LLAgent::propagate ( const F32  dt  ) 

Definition at line 2434 of file llagent.cpp.

References DEG_TO_RAD, f, FALSE, LLControlGroup::getBOOL(), LLFloaterMove::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::queryWearableCache (  ) 

Definition at line 7293 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, BAKED_TEXTURE_HASH, LLWearable::getID(), getID(), getRegion(), getSessionID(), getWearable(), gMessageSystem, llendl, llinfos, mActiveCacheQueries, MAX_WEARABLES_PER_LAYERSET, mNumPendingQueries, mTextureCacheQueryID, mWearablesLoaded, LLMessageSystem::newMessageFast(), LLMessageSystem::nextBlockFast(), S32, LLMessageSystem::sendReliable(), and WEARABLE_BAKE_TEXTURE_MAP.

Referenced by onInitialWearableAssetArrived(), removeWearableFinal(), setWearableFinal(), and setWearableOutfit().

void LLAgent::recoverMissingWearable ( EWearableType  type  )  [protected]

Definition at line 6559 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 6584 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::removeWearable ( EWearableType  type  ) 

Definition at line 6979 of file llagent.cpp.

References LLViewerWindow::alertXml(), gAgent, gViewerWindow, 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::removeWearableFinal ( EWearableType  type  ) 

Definition at line 7030 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::renderAutoPilotTarget (  ) 

Definition at line 133 of file llglsandbox.cpp.

References f, glColor4f, glPopMatrix, glTranslatef, gSphere, mAutoPilot, mAutoPilotTargetGlobal, LLVector3d::mdV, LLSphere::render(), VX, VY, and VZ.

void LLAgent::requestEnterGodMode (  ) 

Definition at line 5933 of file llagent.cpp.

References _PREHASH_AgentData, _PREHASH_AgentID, _PREHASH_Godlike, _PREHASH_RequestBlock, _PREHASH_RequestGodlikePowers, _PREHASH_SessionID, _PREHASH_Token, LLMessageSystem::addBOOLFast(), LLMessageSystem::addUUIDFast(), gAgent, 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 5948 of file llagent.cpp.

References _PREHASH_AgentData, _PREHASH_AgentID, _PREHASH_Godlike, _PREHASH_RequestBlock, _PREHASH_RequestGodlikePowers, _PREHASH_SessionID, _PREHASH_Token, LLMessageSystem::addBOOLFast(), LLMessageSystem::addUUIDFast(), FALSE, gAgent, getID(), getSessionID(), gMessageSystem, LLMessageSystem::newMessageFast(), LLMessageSystem::nextBlockFast(), LLUUID::null, and sendReliableMessage().

Referenced by handle_leave_god_mode().

void LLAgent::requestStopMotion ( LLMotion motion  ) 

Definition at line 4716 of file llagent.cpp.

References ANIM_REQUEST_STOP, LLMotion::getID(), onAnimStop(), and sendAnimationRequest().

Referenced by LLVOAvatar::requestStopMotion().

void LLAgent::resetAxes ( const LLVector3 look_at  ) 

Definition at line 1086 of file llagent.cpp.

References getReferenceUpVector(), LLVector3::isNull(), left, llendl, llinfos, mFrameAgent, and LLCoordFrame::setAxes().

void LLAgent::resetAxes (  ) 

Definition at line 1075 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::resetCamera (  ) 

Definition at line 3937 of file llagent.cpp.

References gAgent, LLCoordFrame::getAtAxis(), mCameraFOVZoomFactor, mFrameAgent, LLVector3::mV, LLVector3::normVec(), resetAxes(), updateCamera(), and VZ.

Referenced by idle_startup(), and LLVOAvatar::setParent().

void LLAgent::resetControlFlags (  ) 

Definition at line 2007 of file llagent.cpp.

References AGENT_CONTROL_AWAY, AGENT_CONTROL_FLY, AGENT_CONTROL_MOUSELOOK, FALSE, mbFlagsDirty, mbFlagsNeedReset, and mControlFlags.

Referenced by idle_network().

void LLAgent::resetView ( BOOL  reset_camera = TRUE  ) 

Definition at line 482 of file llagent.cpp.

References ANIMATE, cameraThirdPerson(), LLSelectMgr::deselectAll(), f, gAgent, getAtAxis(), LLControlGroup::getBOOL(), LLCriticalDamp::getInterpolant(), LLViewerWindow::getLeftMouseDown(), getReferenceUpVector(), LLSelectMgr::getSelection(), gMenuHolder, gNoRender, gSavedSettings, gSelectMgr, gViewerWindow, LLViewerMenuHolderGL::hideMenus(), lerp(), mAutoPilot, mAvatarObject, 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::revertAllWearables (  ) 

Definition at line 6258 of file llagent.cpp.

References i, revertWearable(), S32, and WT_COUNT.

Referenced by LLFloaterCustomize::onSaveAllDialog().

void LLAgent::revertWearable ( EWearableType  type  ) 

Definition at line 6248 of file llagent.cpp.

References mWearableEntry, S32, sendAgentSetAppearance(), and TRUE.

Referenced by LLPanelEditWearable::onBtnRevert(), and revertAllWearables().

void LLAgent::roll ( F32  angle  ) 

Definition at line 1220 of file llagent.cpp.

References mFrameAgent, and LLCoordFrame::roll().

void LLAgent::rotate ( const LLQuaternion quaternion  ) 

Definition at line 1140 of file llagent.cpp.

References mFrameAgent, and LLCoordFrame::rotate().

void LLAgent::rotate ( const LLMatrix3 matrix  ) 

Definition at line 1131 of file llagent.cpp.

References mFrameAgent, and LLCoordFrame::rotate().

void LLAgent::rotate ( F32  angle,
F32  x,
F32  y,
F32  z 
)

Definition at line 1122 of file llagent.cpp.

References mFrameAgent, and LLCoordFrame::rotate().

void LLAgent::rotate ( F32  angle,
const LLVector3 axis 
)

Definition at line 1113 of file llagent.cpp.

References mFrameAgent, and LLCoordFrame::rotate().

Referenced by LLToolGun::handleHover(), and updateAgentPosition().

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().

void LLAgent::saveAllWearables (  ) 

Definition at line 6266 of file llagent.cpp.

References FALSE, i, S32, saveWearable(), sendAgentWearablesUpdate(), and WT_COUNT.

Referenced by LLFloaterCustomize::onBtnSaveAll(), and LLFloaterCustomize::onSaveAllDialog().

void LLAgent::saveWearable ( EWearableType  type,
BOOL  send_update = TRUE 
)

Definition at line 6101 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::saveWearableAs ( EWearableType  type,
const std::string &  new_name,
BOOL  save_in_lost_and_found 
)

Definition at line 6154 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(), gAgent, 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().

BOOL LLAgent::selfHasWearable ( void userdata  )  [static]

Definition at line 6387 of file llagent.cpp.

References gAgent, getWearable(), NULL, and type.

Referenced by LLEditEnableTakeOff::handleEvent().

void LLAgent::sendAgentDataUpdateRequest (  ) 

Definition at line 6970 of file llagent.cpp.

References _PREHASH_AgentData, _PREHASH_AgentDataUpdateRequest, _PREHASH_AgentID, _PREHASH_SessionID, LLMessageSystem::addUUIDFast(), gAgent, getID(), getSessionID(), gMessageSystem, LLMessageSystem::newMessageFast(), LLMessageSystem::nextBlockFast(), and sendReliableMessage().

Referenced by idle_startup(), processAgentDropGroup(), LLGroupMgr::processCreateGroupReply(), LLGroupMgr::processJoinGroupReply(), and LLGroupMgr::processLeaveGroupReply().

void LLAgent::sendAgentSetAppearance (  ) 

Definition at line 6855 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, BAKED_TEXTURE_HASH, cameraCustomizeAvatar(), F32_to_U8(), FALSE, gAgent, 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(), param, 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::sendAgentWearablesRequest (  )  [protected]

Definition at line 6376 of file llagent.cpp.

References _PREHASH_AgentData, _PREHASH_AgentID, _PREHASH_AgentWearablesRequest, _PREHASH_SessionID, LLMessageSystem::addUUIDFast(), gAgent, getID(), getSessionID(), gMessageSystem, LLMessageSystem::newMessageFast(), LLMessageSystem::nextBlockFast(), and sendReliableMessage().

Referenced by setAvatarObject().

void LLAgent::sendAgentWearablesUpdate (  ) 

Definition at line 6039 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, gAgent, 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::sendAnimationRequest ( const LLUUID anim_id,
EAnimRequest  request 
)

Definition at line 5053 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(), sendChat(), setAFK(), setBusy(), startTyping(), LLGestureManager::stopGesture(), LLVOAvatar::stopMotionFromSource(), and stopTyping().

void LLAgent::sendAnimationRequests ( LLDynamicArray< LLUUID > &  anim_ids,
EAnimRequest  request 
)

Definition at line 5018 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::sendChat ( const LLWString text,
S32  channel = 0,
EChatType  type = CHAT_TYPE_NORMAL,
bool  animate = false 
) [inline]

Definition at line 476 of file llagent.h.

References sendChat(), type, and wstring_to_utf8str().

void LLAgent::sendChat ( const LLString text,
S32  channel = 0,
EChatType  type = CHAT_TYPE_NORMAL,
bool  animate = false 
)

Definition at line 5823 of file llagent.cpp.

References _PREHASH_AgentData, _PREHASH_AgentID, _PREHASH_ChatData, _PREHASH_ChatFromViewer, _PREHASH_Message, _PREHASH_SessionID, _PREHASH_Type, LLMessageSystem::addS32(), LLMessageSystem::addStringFast(), LLMessageSystem::addU8Fast(), LLMessageSystem::addUUIDFast(), ANIM_AGENT_SHOUT, ANIM_AGENT_TALK, ANIM_AGENT_WHISPER, ANIM_REQUEST_START, CHAT_TYPE_NORMAL, CHAT_TYPE_SHOUT, CHAT_TYPE_START, CHAT_TYPE_STOP, CHAT_TYPE_WHISPER, gAgent, getID(), getSessionID(), gMessageSystem, gViewerStats, LLViewerStats::incStat(), lldebugs, llendl, llinfos, LLMessageSystem::newMessageFast(), LLMessageSystem::nextBlockFast(), sendAnimationRequest(), sendReliableMessage(), and LLViewerStats::ST_CHAT_COUNT.

Referenced by cmd_gohome(), sendChat(), LLChatBar::sendChatFromViewer(), startTyping(), and stopTyping().

void LLAgent::sendMessage (  ) 

Definition at line 911 of file llagent.cpp.

References gDisconnected, LLViewerRegion::getHost(), gMessageSystem, llendl, llerrs, llwarns, mRegionp, and LLMessageSystem::sendMessage().

Referenced by LLPanelEstateInfo::commitEstateInfo(), send_agent_update(), send_sound_trigger(), and LLHUDManager::sendEffects().

void LLAgent::sendReliableMessage (  ) 

Definition at line 929 of file llagent.cpp.

References gDisconnected, LLViewerRegion::getHost(), gMessageSystem, llendl, llwarns, mRegionp, and LLMessageSystem::sendReliable().

Referenced by LLPanelGroups::activate(), LLGestureManager::activateGestures(), LLEventNotifier::add(), agent_send_reliable_message(), LLPrefsIMImpl::apply(), LLPanelFriends::applyRightsToFriends(), 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(), LLAvatarTracker::findAgent(), LLPanelAvatar::finishFreeze(), LLPanelAvatar::finishKick(), LLPanelGridTools::finishKick(), LLPanelAvatar::finishUnfreeze(), LLPanelGridTools::flushMapVisibilityCachesConfirm(), forceReleaseControls(), handle_claim_public_land(), handle_lure_callback(), LLWorldAlwaysRun::handleEvent(), LLViewZoomDefault::handleEvent(), idle_startup(), LLFloaterPostcard::init(), LLFloaterReporter::LLFloaterReporter(), makeNewOutfit(), move_inventory_item(), near_sit_object(), LLPanelDirClassified::onClickDelete(), LLPanelGroupNotices::onClickRefreshNotices(), LLFloaterTelehub::onClickRemoveSpawnPoint(), LLPanelDirFindAllOld::onClickSearch(), LLFloaterIMPanel::onClose(), LLChatBar::onInputEditorKeystroke(), LLGestureManager::onLoadComplete(), LLPanelRegionTools::onSaveState(), LLPanelGroupNotices::onSelectNotice(), packRoleUpdateMessageBlock(), LLPanelDirLand::performQuery(), LLPanelDirClassified::performQuery(), LLPanelDirEvents::performQueryOrDelete(), process_agent_movement_complete(), process_improved_im(), LLInventoryModel::purgeDescendentsOf(), LLPanelDirPlaces::queryCore(), LLEventNotifier::remove(), LLInvFVBridge::removeBatchNoCheck(), LLViewerInventoryCategory::removeFromServer(), LLViewerInventoryItem::removeFromServer(), request_initial_instant_messages(), LLGroupMoneyPlanningTabEventHandler::requestData(), LLGroupMoneySalesTabEventHandler::requestData(), LLGroupMoneyDetailsTabEventHandler::requestData(), requestEnterGodMode(), LLMuteList::requestFromServer(), requestLeaveGodMode(), LLPanelDirPopular::requestPopular(), LLViewerParcelMgr::selectCollisionParcel(), send_agent_update(), send_estate_ban(), send_generic_message(), send_improved_im(), send_logout_request(), send_places_query(), send_sim_wide_deletes(), send_start_session_messages(), sendAgentDataUpdateRequest(), sendAgentSetAppearance(), sendAgentWearablesRequest(), sendAgentWearablesUpdate(), sendAnimationRequest(), sendAnimationRequests(), LLPanelAvatar::sendAvatarNotesUpdate(), LLPanelAvatar::sendAvatarPropertiesRequest(), LLFloaterAvatarList::sendAvatarPropertiesRequest(), LLPanelAvatar::sendAvatarPropertiesUpdate(), LLPanelEstateCovenant::sendChangeCovenantID(), sendChat(), 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(), LLWorldMap::sendMapBlockRequest(), LLWorldMap::sendMapLayerRequest(), LLWorldMap::sendNamedRegionRequest(), LLPanelPlace::sendParcelInfoRequest(), LLPanelPick::sendPickInfoUpdate(), LLFloaterGodTools::sendRegionInfoRequest(), LLViewerCircuit::sendReply(), LLGroupMgrGroupData::sendRoleChanges(), LLViewerWindow::sendShapeToSim(), LLPanelGroupVoting::impl::sendStartGroupProposal(), LLViewerThrottleGroup::sendToSim(), LLFloaterIMPanel::sendTypingState(), LLGroupMgr::sendUpdateGroupInfo(), setGroupContribution(), LLTracker::setLandmarkVisited(), setUserGroupFlags(), LLFloaterRegionInfo::show(), LLFloaterPreference::show(), LLFloaterAvatarList::speakText(), 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().

void LLAgent::setAdminOverride ( BOOL  b  )  [inline]

Definition at line 225 of file llagent.h.

References mAdminOverride.

Referenced by handle_admin_override_toggle().

void LLAgent::setAFK (  ) 

Definition at line 2022 of file llagent.cpp.

References AGENT_CONTROL_AWAY, AGENT_CONTROL_STOP, ANIM_AGENT_AWAY, ANIM_REQUEST_START, gAFKMenu, gAgent, 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::setAlwaysRun (  )  [inline]

Definition at line 217 of file llagent.h.

References mbAlwaysRun, and TRUE.

Referenced by LLWorldAlwaysRun::handleEvent().

void LLAgent::setAnimationDuration ( F32  seconds  )  [inline]

Definition at line 541 of file llagent.h.

References mAnimationDuration.

Referenced by setCameraPosAndFocusGlobal().

void LLAgent::setAutoPilotGlobal ( const LLVector3d pos_global  ) 

void LLAgent::setAvatarObject ( LLVOAvatar avatar  ) 

Definition at line 2591 of file llagent.cpp.

References LLHUDManager::createViewerEffect(), gHUDManager, 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::setBusy (  ) 

Definition at line 2084 of file llagent.cpp.

References ANIM_AGENT_BUSY, ANIM_REQUEST_START, gBusyMenu, gFloaterMute, mIsBusy, sendAnimationRequest(), LLMenuItemGL::setLabel(), TRUE, and LLFloaterMute::updateButtons().

Referenced by LLWorldSetBusy::handleEvent(), and process_agent_movement_complete().

void LLAgent::setCameraAnimating ( BOOL  b  )  [inline]

Definition at line 540 of file llagent.h.

References mCameraAnimating.

void LLAgent::setCameraCollidePlane ( LLVector4 plane  )  [inline]

Definition at line 188 of file llagent.h.

References mCameraCollidePlane.

Referenced by process_camera_constraint().

void LLAgent::setCameraPosAndFocusGlobal ( const LLVector3d pos,
const LLVector3d focus,
const LLUUID object_id 
)

Definition at line 4383 of file llagent.cpp.

References calcCustomizeAvatarUIOffset(), CAMERA_MODE_CUSTOMIZE_AVATAR, LLViewerObjectList::findObject(), gCamera, LLCoordFrame::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::setCameraZoomFraction ( F32  fraction  ) 

Definition at line 1644 of file llagent.cpp.

References APPEARANCE_MAX_ZOOM, APPEARANCE_MIN_ZOOM, AVATAR_MIN_ZOOM, cameraCustomizeAvatar(), cameraThirdPerson(), f, LLSelectMgr::getSelection(), gSelectMgr, gWorldPointer, 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::setControlFlags ( U32  mask  ) 

Definition at line 1968 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(), lookAtObject(), 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::setEffectColor ( const LLColor4 color  ) 

Definition at line 5169 of file llagent.cpp.

References mEffectColor.

Referenced by LLAgent::LLEffectColorListener::handleEvent().

void LLAgent::setFirstLogin ( BOOL  b  )  [inline]

Definition at line 227 of file llagent.h.

References mFirstLogin.

Referenced by idle_startup().

void LLAgent::setFlying ( BOOL  fly  ) 

Definition at line 728 of file llagent.cpp.

References AGENT_CONTROL_FLY, ANIM_AGENT_STANDUP, canFly(), clearControlFlags(), FALSE, getFlying(), gParcelMgr, gSavedSettings, gViewerStats, LLViewerStats::incStat(), make_ui_sound(), mAvatarObject, mbFlagsDirty, LLPointer< Type >::notNull(), LLControlGroup::setBOOL(), setControlFlags(), LLViewerStats::ST_FLY_COUNT, and TRUE.

Referenced by agent_jump(), 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::setFocusGlobal ( const LLVector3d focus,
const LLUUID object_id = LLUUID::null 
)

Definition at line 4295 of file llagent.cpp.

References f, LLViewerObjectList::findObject(), gAgent, 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(), lookAtObject(), LLToolCamera::pickCallback(), setFocusOnAvatar(), toggle_build_mode(), and unlockView().

void LLAgent::setFocusObject ( LLViewerObject object  ) 

Definition at line 4273 of file llagent.cpp.

References LL_PCODE_VOLUME, mFadeObjects, mFocusObject, and LLPointer< Type >::notNull().

Referenced by cleanup(), clearFocusObject(), setCameraPosAndFocusGlobal(), and setFocusGlobal().

void LLAgent::setFocusOnAvatar ( BOOL  focus,
BOOL  animate 
)

Definition at line 4464 of file llagent.cpp.

References CAMERA_MODE_THIRD_PERSON, gCamera, LLCoordFrame::getAtAxis(), 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(), lookAtObject(), LLToolPie::pickAndShowMenu(), LLToolCamera::pickCallback(), process_agent_movement_complete(), resetView(), toggle_build_mode(), and unlockView().

void LLAgent::setGenderChosen ( BOOL  b  )  [inline]

Definition at line 228 of file llagent.h.

References mGenderChosen.

Referenced by callback_choose_gender(), idle_startup(), and processAgentInitialWearablesUpdate().

void LLAgent::setGodLevel ( U8  god_level  )  [inline]

Definition at line 226 of file llagent.h.

References mGodLevel.

Referenced by set_god_level().

BOOL LLAgent::setGroupContribution ( const LLUUID group_id,
S32  contribution 
)

Definition at line 4895 of file llagent.cpp.

References LLMessageSystem::addS32(), LLMessageSystem::addUUID(), LLDynamicArray< Type, BlockSize >::count(), 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().

void LLAgent::setHideGroupTitle ( BOOL  hide  )  [inline]

Definition at line 236 of file llagent.h.

References mHideGroupTitle.

Referenced by LLAgent::LLHideGroupTitleListener::handleEvent().

void LLAgent::setHomePosRegion ( const U64 region_handle,
const LLVector3 pos_region 
)

Definition at line 5611 of file llagent.cpp.

References mHaveHomePosition, mHomePosRegion, mHomeRegionHandle, and TRUE.

Referenced by idle_startup(), process_teleport_finish(), and setStartPosition().

void LLAgent::setKey ( const S32  direction,
S32 key 
)

Definition at line 1929 of file llagent.cpp.

Referenced by moveAt(), moveAtNudge(), moveLeft(), moveLeftNudge(), movePitch(), and moveUp().

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 70 of file llglsandbox.cpp.

References LLVector3::clearVec(), LLHUDManager::createViewerEffect(), gHUDManager, 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().

void LLAgent::setObjectTracking ( BOOL  track  )  [inline]

Definition at line 204 of file llagent.h.

References mTrackFocusObject.

void LLAgent::setOrbitDownKey ( F32  mag  )  [inline]

Definition at line 418 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 419 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::setOrbitLeftKey ( F32  mag  )  [inline]

Definition at line 415 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::setOrbitOutKey ( F32  mag  )  [inline]

Definition at line 420 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::setOrbitRightKey ( F32  mag  )  [inline]

Definition at line 416 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 417 of file llagent.h.

References mOrbitUpKey.

Referenced by camera_spin_over(), camera_spin_over_sitting(), edit_avatar_spin_over(), and LLJoystickCameraRotate::onHeldDown().

void LLAgent::setPanDownKey ( F32  mag  )  [inline]

Definition at line 425 of file llagent.h.

References mPanDownKey.

Referenced by camera_pan_down(), and LLJoystickCameraTrack::onHeldDown().

void LLAgent::setPanInKey ( F32  mag  )  [inline]

Definition at line 426 of file llagent.h.

References mPanInKey.

Referenced by camera_pan_in().

void LLAgent::setPanLeftKey ( F32  mag  )  [inline]

Definition at line 422 of file llagent.h.

References mPanLeftKey.

Referenced by camera_pan_left(), and LLJoystickCameraTrack::onHeldDown().

void LLAgent::setPanOutKey ( F32  mag  )  [inline]

Definition at line 427 of file llagent.h.

References mPanOutKey.

Referenced by camera_pan_out().

void LLAgent::setPanRightKey ( F32  mag  )  [inline]

Definition at line 423 of file llagent.h.

References mPanRightKey.

Referenced by camera_pan_right(), and LLJoystickCameraTrack::onHeldDown().

void LLAgent::setPanUpKey ( F32  mag  )  [inline]

Definition at line 424 of file llagent.h.

References mPanUpKey.

Referenced by camera_pan_up(), and LLJoystickCameraTrack::onHeldDown().

BOOL LLAgent::setPointAt ( EPointAtType  target_type,
LLViewerObject object = NULL,
LLVector3  position = LLVector3::zero 
)

Definition at line 95 of file llglsandbox.cpp.

References LLHUDManager::createViewerEffect(), FALSE, gHUDManager, LLViewerObject::isAttachment(), LLPrimitive::isAvatar(), LLHUDObject::LL_HUD_EFFECT_POINTAT, mAvatarObject, and mPointAt.

Referenced by LLToolGrab::handleObjectHit(), LLToolGrab::onMouseCaptureLost(), and LLSelectMgr::updatePointAt().

void LLAgent::setPositionAgent ( const LLVector3 center  ) 

Definition at line 963 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::setRegion ( LLViewerRegion regionp  ) 

Definition at line 790 of file llagent.cpp.

References gCamera, LLViewerRegion::getHandle(), LLViewerRegion::getHost(), LLViewerRegion::getName(), LLCoordFrame::getOrigin(), LLViewerRegion::getOriginGlobal(), getPositionAgent(), LLHost::getString(), gSelectMgr, gSky, gWorldPointer, llassert, llendl, llinfos, mAgentOriginGlobal, MAX_STRING, mRegionp, mRegionsVisited, LLSky::mVOGroundp, LLSky::mVOSkyp, LLSky::mVOStarsp, LLCoordFrame::setOrigin(), setPositionAgent(), LLVector3::setVec(), and LLSelectMgr::updateSelectionCenter().

Referenced by idle_startup(), and process_agent_movement_complete().

void LLAgent::setRenderState ( U8  newstate  ) 

Definition at line 2700 of file llagent.cpp.

References mRenderState.

Referenced by getRenderState(), and startTyping().

void LLAgent::setSitCamera ( const LLUUID object_id,
const LLVector3 camera_pos = LLVector3::zero,
const LLVector3 camera_focus = LLVector3::zero 
)

Definition at line 4436 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::setStartPosition ( U32  location_id  ) 

Definition at line 4653 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(), LLViewerRegion::getLandHeightRegion(), getPositionAgent(), getSessionID(), gMessageSystem, gObjectList, gWorldPointer, llclamp(), llendl, llinfos, mAvatarObject, mFrameAgent, mRegionp, LLVector3::mV, LLMessageSystem::newMessageFast(), LLUUID::null, setHomePosRegion(), VX, VY, and VZ.

Referenced by LLWorldSetHomeLocation::handleEvent().

void LLAgent::setTargetVelocity ( const LLVector3 vel  ) 

void LLAgent::setTeen ( bool  teen  ) 

Definition at line 4780 of file llagent.cpp.

References mAccess, SIM_ACCESS_MATURE, and SIM_ACCESS_PG.

Referenced by handle_toggle_pg(), and idle_startup().

void LLAgent::setTeleportMessage ( const LLString message  )  [inline]

Definition at line 558 of file llagent.h.

References mTeleportMessage.

Referenced by display(), process_teleport_finish(), and process_teleport_progress().

void LLAgent::setTeleportState ( ETeleportState  state  ) 

Definition at line 5814 of file llagent.cpp.

References LLControlGroup::getBOOL(), gSavedSettings, LLFloaterSnapshot::hide(), mTeleportState, 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().

void LLAgent::setThirdPersonHeadOffset ( LLVector3  offset  )  [inline]

Definition at line 360 of file llagent.h.

References mThirdPersonHeadOffset.

Referenced by LLVOAvatar::getOffObject(), and LLVOAvatar::sitOnObject().

void LLAgent::setupSitCamera (  ) 

Definition at line 3516 of file llagent.cpp.

References LLCoordFrame::getAtAxis(), mAvatarObject, mFrameAgent, LLVector3::mV, LLVector3::normVec(), LLPointer< Type >::notNull(), resetAxes(), and VZ.

Referenced by LLVOAvatar::sitOnObject().

BOOL LLAgent::setUserGroupFlags ( const LLUUID group_id,
BOOL  accept_notices,
BOOL  list_in_profile 
)

Definition at line 4918 of file llagent.cpp.

References LLMessageSystem::addBOOL(), LLMessageSystem::addUUID(), LLDynamicArray< Type, BlockSize >::count(), 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::setUsingFollowCam ( bool  using_follow_cam  ) 

void LLAgent::setWearable ( LLInventoryItem new_item,
LLWearable wearable 
)

Definition at line 7207 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(), type, and LLWearable::typeToTypeName().

Referenced by LLWearableBridge::onWearOnAvatarArrived().

void LLAgent::setWearableFinal ( LLInventoryItem new_item,
LLWearable new_wearable 
)

Definition at line 7268 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, type, and LLWearable::writeToAvatar().

Referenced by onSetWearableDialog(), and setWearable().

void LLAgent::setWearableName ( const LLUUID item_id,
const std::string &  new_name 
)

Definition at line 6281 of file llagent.cpp.

References LLWearableList::createCopy(), LLInventoryModel::getItem(), LLInventoryItem::getPermissions(), gInventory, gWearableList, i, llassert, LLAgent::LLWearableEntry::mWearable, mWearableEntry, S32, sendAgentWearablesUpdate(), LLWearable::setPermissions(), and WT_COUNT.

Referenced by LLWearableBridge::renameItem().

void LLAgent::setWearableOutfit ( const LLInventoryItem::item_array_t items,
const LLDynamicArray< LLWearable * > &  wearables,
BOOL  remove 
)

Definition at line 7100 of file llagent.cpp.

References LLInventoryModel::addChangedMask(), LLDynamicArray< Type, BlockSize >::count(), count, FALSE, gAgent, LLWearable::getID(), gInventory, i, LLWearable::isDirty(), isTeen(), LLInventoryObserver::LABEL, llassert, lldebugs, llendl, LLAgent::LLWearableEntry::mItemID, LLAgent::LLWearableEntry::mWearable, mWearableEntry, mWearablesLoaded, LLInventoryModel::notifyObservers(), NULL, queryWearableCache(), S32, sendAgentSetAppearance(), sendAgentWearablesUpdate(), LLFloaterCustomize::setCurrentWearableType(), LLUUID::setNull(), TRUE, type, 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().

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().

void LLAgent::slamLookAt ( const LLVector3 look_at  ) 

Definition at line 995 of file llagent.cpp.

References LLVector3::mV, LLVector3::normVec(), resetAxes(), and VZ.

Referenced by process_agent_movement_complete(), and process_teleport_local().

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 2129 of file llagent.cpp.

References dist_vec(), f, FALSE, fsqrtf, gAgent, getAvatarObject(), getFlying(), LLVOAvatar::getPelvisToFoot(), getPositionGlobal(), gWorldPointer, llmax(), LLVector3d::magVec(), mAutoPilot, mAutoPilotBehaviorName, mAutoPilotCallbackData, mAutoPilotFinishedCallback, mAutoPilotFlyOnStop, mAutoPilotNoProgressFrameCount, mAutoPilotRotationThreshold, mAutoPilotStopDistance, mAutoPilotTargetDist, mAutoPilotTargetFacing, mAutoPilotTargetGlobal, mAutoPilotUseRotation, LLVector3d::mdV, LLVector3::mV, LLVector3::normVec(), NULL, 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::startCameraAnimation (  ) 

Definition at line 4245 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::startFollowPilot ( const LLUUID leader_id  ) 

Definition at line 2216 of file llagent.cpp.

References LLViewerObjectList::findObject(), LLViewerObject::getPositionGlobal(), gObjectList, LLUUID::isNull(), mAutoPilot, mLeaderID, LLUUID::null, and startAutoPilotGlobal().

Referenced by handle_follow().

void LLAgent::startTyping (  ) 

Definition at line 2646 of file llagent.cpp.

References ACTIVITY_TYPING, AGENT_STATE_TYPING, ANIM_AGENT_TYPE, ANIM_REQUEST_START, CHAT_TYPE_START, LLViewerObjectList::findObject(), gAgent, LLFloaterAvatarList::getAvatarEntry(), LLControlGroup::getBOOL(), LLFrameTimer::getElapsedTimeF32(), getID(), getRenderState(), gFloaterAvatarList, gObjectList, gSavedSettings, LOOKAT_TARGET_RESPOND, mChatTimer, mLastChatterID, mTypingTimer, NULL, LLFrameTimer::reset(), sendAnimationRequest(), sendChat(), LLAvatarListEntry::setActivity(), setLookAt(), setRenderState(), and LLVector3::zero.

Referenced by LLChatBar::onInputEditorKeystroke().

void LLAgent::stopAutoPilot ( BOOL  user_cancel = FALSE  ) 

Definition at line 2237 of file llagent.cpp.

References AGENT_CONTROL_STOP, dist_vec(), FALSE, gAgent, 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::stopCameraAnimation (  ) 

Definition at line 4257 of file llagent.cpp.

References FALSE, and mCameraAnimating.

Referenced by idle_startup(), and setFocusOnAvatar().

void LLAgent::stopFidget (  )  [static]

Definition at line 5921 of file llagent.cpp.

References ANIM_AGENT_STAND_1, ANIM_AGENT_STAND_2, ANIM_AGENT_STAND_3, ANIM_AGENT_STAND_4, ANIM_REQUEST_STOP, gAgent, LLDynamicArray< Type, BlockSize >::put(), and sendAnimationRequests().

Referenced by fidget(), and onAnimStop().

void LLAgent::stopTyping (  ) 

Definition at line 2687 of file llagent.cpp.

References AGENT_STATE_TYPING, ANIM_AGENT_TYPE, ANIM_REQUEST_STOP, CHAT_TYPE_STOP, clearRenderState(), mRenderState, sendAnimationRequest(), and sendChat().

Referenced by getRenderState(), LLChatBar::onInputEditorFocusLost(), LLChatBar::onInputEditorKeystroke(), LLChatBar::refresh(), LLChatBar::sendChat(), and LLChatBar::stopChat().

void LLAgent::teleportCancel (  ) 

Definition at line 5754 of file llagent.cpp.

References _PREHASH_AgentID, _PREHASH_Info, _PREHASH_SessionID, LLMessageSystem::addUUIDFast(), FALSE, gAgent, getID(), getRegion(), getSessionID(), gMessageSystem, gTeleportDisplay, LLMessageSystem::newMessage(), LLMessageSystem::nextBlockFast(), sendReliableMessage(), setTeleportState(), and TELEPORT_NONE.

Referenced by LLProgressView::onCancelButtonClicked().

bool LLAgent::teleportCore ( bool  is_local = false  )  [protected]

Definition at line 5647 of file llagent.cpp.

References LLViewerParcelMgr::deselectLand(), FALSE, gAgent, gParcelMgr, gTeleportDisplay, gViewerStats, LLFloaterDirectory::hide(), LLFloaterWorldMap::hide(), LLViewerStats::incStat(), llendl, llwarns, make_ui_sound(), mTeleportState, NULL, resetView(), setTeleportState(), LLViewerStats::ST_TELEPORT_COUNT, TELEPORT_NONE, TELEPORT_START, and TRUE.

Referenced by teleportRequest(), teleportViaLandmark(), teleportViaLocation(), and teleportViaLure().

void LLAgent::teleportHome (  )  [inline]

Definition at line 460 of file llagent.h.

References LLUUID::null, and teleportViaLandmark().

Referenced by LLWorldTeleportHome::handleEvent(), LLFloaterWorldMap::onGoHome(), and LLFloaterWorldMap::teleport().

void LLAgent::teleportRequest ( const U64 region_handle,
const LLVector3 pos_local 
)

Definition at line 5685 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 5709 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::teleportViaLocation ( const LLVector3d pos_global  ) 

Definition at line 5772 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(), getRegion(), getSessionID(), LLViewerRegion::getWidth(), gMessageSystem, gWorldMap, llendl, llwarns, LLVector3d::mdV, LLSimInfo::mHandle, LLVector3::mV, LLMessageSystem::newMessageFast(), LLMessageSystem::nextBlockFast(), sendReliableMessage(), LLWorldMap::simInfoFromPosGlobal(), teleportCore(), teleportRequest(), to_region_handle_global(), VX, VY, VZ, and width.

Referenced by LLFloaterLandHoldings::buttonCore(), LLWorldMapView::handleDoubleClick(), LLEventNotifier::notifyCallback(), LLPanelPlace::onClickTeleport(), LLPanelPick::onClickTeleport(), LLPanelEvent::onClickTeleport(), LLPanelClassified::onClickTeleport(), LLFloaterAvatarList::onClickTeleport(), LLWorldMap::processMapBlockReply(), LLURLDispatcherImpl::regionHandleCallback(), LLMapLayerResponder::result(), LLFloaterWorldMap::teleport(), and LLFloaterWorldMap::teleportToAvatar().

void LLAgent::teleportViaLure ( const LLUUID lure_id,
BOOL  godlike 
)

Definition at line 5724 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::toggleFlying (  ) 

Definition at line 778 of file llagent.cpp.

References AGENT_CONTROL_FLY, mControlFlags, resetView(), and setFlying().

Referenced by agent_toggle_fly(), LLWorldFly::handleEvent(), LLToolBar::onClickFly(), and LLFloaterMove::onFlyButtonClicked().

void LLAgent::unlockView (  ) 

Definition at line 542 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::updateAgentPosition ( const F32  dt,
const F32  yaw,
const S32  mouse_x,
const S32  mouse_y 
)

Definition at line 2486 of file llagent.cpp.

References propagate(), rotate(), and updateLookAt().

Referenced by idle().

void LLAgent::updateCamera (  ) 

Definition at line 2957 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(), f, FALSE, FOV_ZOOM_HALF_LIFE, gAgent, gCamera, LLFollowCamMgr::getActiveFollowCamParams(), LLCoordFrame::getAtAxis(), getAvatarObject(), LLViewerCamera::getDefaultFOV(), LLFrameTimer::getElapsedTimeAndResetF32(), LLFrameTimer::getElapsedTimeF32(), LLDrawable::getFace(), LLCriticalDamp::getInterpolant(), LLCoordFrame::getLeftAxis(), LLDrawable::getNumFaces(), LLCoordFrame::getOrigin(), getPosAgentFromGlobal(), getPosGlobalFromAgent(), LLJoint::getPosition(), getPositionGlobal(), LLCoordFrame::getQuaternion(), getRegion(), LLJoint::getScale(), LLCoordFrame::getUpAxis(), LLFollowCam::getUpVector(), LLJoint::getWorldRotation(), gFloaterCamera, gFPSClamped, gPipeline, gVoiceClient, HEAD_BUFFER_SIZE, i, LLVector3d::isExactlyZero(), LLPointer< Type >::isNull(), lerp(), llclamp(), LOOKAT_TARGET_FOCUS, LLVector3d::magVec(), mAnimationCameraStartGlobal, mAnimationDuration, mAnimationFocusStartGlobal, mAnimationTimer, mAvatarObject, mCameraAnimating, mCameraCurrentFOVZoomFactor, mCameraFocusOffset, mCameraFocusOffsetTarget, mCameraFOVZoomFactor, mCameraMode, mCameraPositionAgent, mCameraUpVector, mCameraVirtualPositionAgent, mDistanceTraveled, mFadeObjects, mFocusGlobal, mFocusObject, mFocusObjectDist, mFocusObjectFadeTimer, mFocusOnAvatar, mFollowCam, mFrameAgent, MIN_RADIUS_ALPHA_SIZZLE, mLastCameraMode, mLastPositionGlobal, mOrbitDownKey, mOrbitInKey, mOrbitLeftKey, mOrbitOutKey, mOrbitRightKey, mOrbitUpKey, mPanDownKey, mPanInKey, mPanLeftKey, mPanOutKey, mPanRightKey, mPanUpKey, LLFloaterCamera::mRotate, mShowAvatar, mSitCameraEnabled, mSitCameraReferenceObject, LLFloaterCamera::mTrack, LLVector3::mV, LLFloaterCamera::mZoom, LLPointer< Type >::notNull(), NULL, LLUUID::null, S32, LLVoiceClient::setCameraPosition(), setLookAt(), LLMatrix3::setRows(), LLJoint::setScale(), setSitCamera(), LLFollowCam::setSubjectPositionAndRotation(), LLJoystickCameraZoom::setToggleState(), LLJoystickCameraRotate::setToggleState(), LLCamera::setView(), LLVOAvatar::sVisibleInFirstPerson, LLCoordFrame::translate(), TRUE, LLFollowCam::update(), LLVOAvatar::updateAttachmentVisibility(), LLViewerCamera::updateCameraLocation(), LLPipeline::updateMoveNormalAsync(), validateFocusObject(), VZ, LLVector3::z_axis, and LLVector3::zero.

Referenced by idle(), process_agent_movement_complete(), process_teleport_local(), and resetCamera().

void LLAgent::updateFocusOffset (  ) 

Definition at line 3361 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::updateLookAt ( const S32  mouse_x,
const S32  mouse_y 
)

Definition at line 2504 of file llagent.cpp.

References CAMERA_MODE_CUSTOMIZE_AVATAR, cameraMouselook(), cameraThirdPerson(), DEG_TO_RAD, f, gCamera, LLCoordFrame::getAtAxis(), getCameraMode(), LLStat::getCurrent(), LLControlGroup::getF32(), LLViewerWindow::getMouseVelocityStat(), LLCoordFrame::getQuaternion(), gSavedSettings, gViewerWindow, LLPointer< Type >::isNull(), LOOKAT_TARGET_FREELOOK, LOOKAT_TARGET_IDLE, LOOKAT_TARGET_MOUSELOOK, LOOKAT_TARGET_NONE, mAvatarObject, mFrameAgent, mouse_x_from_center(), mouse_y_from_center(), LLCoordFrame::pitch(), setLookAt(), LLVector3::x_axis, and LLCoordFrame::yaw().

Referenced by updateAgentPosition().

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().

void LLAgent::userRemoveAllAttachments ( void userdata  )  [static]

Definition at line 7392 of file llagent.cpp.

References _PREHASH_AgentData, _PREHASH_AgentID, _PREHASH_ObjectData, _PREHASH_ObjectLocalID, _PREHASH_SessionID, LLMessageSystem::addU32Fast(), LLMessageSystem::addUUIDFast(), gAgent, getAvatarObject(), getID(), 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().

void LLAgent::userRemoveAllClothes ( void userdata  )  [static]

Definition at line 7363 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 7376 of file llagent.cpp.

References gAgent, 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::userRemoveWearable ( void userdata  )  [static]

Definition at line 7352 of file llagent.cpp.

References gAgent, removeWearable(), type, WT_HAIR, WT_SHAPE, and WT_SKIN.

Referenced by LLEditTakeOff::handleEvent().

void LLAgent::validateFocusObject (  ) 

Definition at line 3371 of file llagent.cpp.

References clearFocusObject(), LLVector3::clearVec(), mCameraFOVZoomFactor, mFocusObject, mFocusObjectOffset, and LLPointer< Type >::notNull().

Referenced by updateCamera(), and updateFocusOffset().

void LLAgent::yaw ( F32  angle  ) 

Definition at line 1229 of file llagent.cpp.

References getReferenceUpVector(), mFrameAgent, LLCoordFrame::rotate(), and rotateGrabbed().

Referenced by autoPilot(), LLToolGrab::handleHoverActive(), LLToolGrab::handleHoverInactive(), and propagate().


Friends And Related Function Documentation

std::ostream& operator<< ( std::ostream &  s,
const LLAgent sphere 
) [friend]

Definition at line 2572 of file llagent.cpp.


Member Data Documentation

U8 LLAgent::mAccess [private]

Definition at line 721 of file llagent.h.

Referenced by isTeen(), and setTeen().

S32* LLAgent::mActiveCacheQueries

Definition at line 708 of file llagent.h.

Referenced by LLAgent(), processAgentCachedTextureResponse(), queryWearableCache(), and ~LLAgent().

BOOL LLAgent::mAdminOverride [private]

Definition at line 842 of file llagent.h.

Referenced by getAdminOverride(), getGodLevel(), isGodlike(), and setAdminOverride().

LLVector3d LLAgent::mAgentOriginGlobal [private]

Definition at line 729 of file llagent.h.

Referenced by getPosAgentFromGlobal(), getPosGlobalFromAgent(), initOriginGlobal(), setPositionAgent(), and setRegion().

U32 LLAgent::mAgentWearablesUpdateSerialNum [private]

Definition at line 865 of file llagent.h.

Referenced by processAgentInitialWearablesUpdate().

LLVector3d LLAgent::mAnimationCameraStartGlobal [private]

Definition at line 748 of file llagent.h.

Referenced by setCameraPosAndFocusGlobal(), startCameraAnimation(), and updateCamera().

F32 LLAgent::mAnimationDuration [private]

Definition at line 751 of file llagent.h.

Referenced by changeCameraToCustomizeAvatar(), setAnimationDuration(), startCameraAnimation(), and updateCamera().

LLVector3d LLAgent::mAnimationFocusStartGlobal [private]

Definition at line 749 of file llagent.h.

Referenced by startCameraAnimation(), and updateCamera().

LLFrameTimer LLAgent::mAnimationTimer [private]

Definition at line 750 of file llagent.h.

Referenced by startCameraAnimation(), and updateCamera().

U32 LLAgent::mAppearanceSerialNum [private]

Definition at line 868 of file llagent.h.

Referenced by sendAgentSetAppearance().

S32 LLAgent::mAtKey [private]

Definition at line 791 of file llagent.h.

Referenced by LLAgent(), moveAt(), and propagate().

BOOL LLAgent::mAutoPilot [private]

Definition at line 818 of file llagent.h.

Referenced by autoPilot(), getAutoPilot(), renderAutoPilotTarget(), resetView(), startAutoPilotGlobal(), startFollowPilot(), and stopAutoPilot().

std::string LLAgent::mAutoPilotBehaviorName [private]

Definition at line 827 of file llagent.h.

Referenced by startAutoPilotGlobal(), and stopAutoPilot().

void* LLAgent::mAutoPilotCallbackData [private]

Definition at line 829 of file llagent.h.

Referenced by startAutoPilotGlobal(), and stopAutoPilot().

void(* LLAgent::mAutoPilotFinishedCallback)(BOOL, void *) [private]

Referenced by startAutoPilotGlobal(), and stopAutoPilot().

BOOL LLAgent::mAutoPilotFlyOnStop [private]

Definition at line 819 of file llagent.h.

Referenced by startAutoPilotGlobal(), and stopAutoPilot().

S32 LLAgent::mAutoPilotNoProgressFrameCount [private]

Definition at line 825 of file llagent.h.

Referenced by autoPilot(), and startAutoPilotGlobal().

F32 LLAgent::mAutoPilotRotationThreshold [private]

Definition at line 826 of file llagent.h.

Referenced by autoPilot(), and startAutoPilotGlobal().

F32 LLAgent::mAutoPilotStopDistance [private]

Definition at line 821 of file llagent.h.

Referenced by autoPilot(), startAutoPilotGlobal(), and stopAutoPilot().

F32 LLAgent::mAutoPilotTargetDist [private]

Definition at line 824 of file llagent.h.

Referenced by autoPilot(), and startAutoPilotGlobal().

LLVector3 LLAgent::mAutoPilotTargetFacing [private]

Definition at line 823 of file llagent.h.

Referenced by autoPilot(), startAutoPilotGlobal(), and stopAutoPilot().

LLVector3d LLAgent::mAutoPilotTargetGlobal [private]

Definition at line 820 of file llagent.h.

Referenced by autoPilot(), getAutoPilotTargetGlobal(), renderAutoPilotTarget(), startAutoPilotGlobal(), and stopAutoPilot().

BOOL LLAgent::mAutoPilotUseRotation [private]

Definition at line 822 of file llagent.h.

Referenced by autoPilot(), startAutoPilotGlobal(), and stopAutoPilot().

LLPointer<LLVOAvatar> LLAgent::mAvatarObject [private]

Definition at line 736 of file llagent.h.

Referenced by ageChat(), autoPilot(), buildFullname(), buildFullnameAndTitle(), calcCameraPositionTargetGlobal(), calcFocusPositionTargetGlobal(), cameraZoomIn(), changeCameraToCustomizeAvatar(), changeCameraToFollow(), changeCameraToMouselook(), changeCameraToThirdPerson(), cleanup(), clearAFK(), createStandardWearables(), createStandardWearablesAllDone(), endAnimationUpdateUI(), getAvatarObject(), getCameraZoomFraction(), getHeadRotation(), getName(), getPositionAgent(), getPositionGlobal(), getReferenceUpVector(), getVelocity(), lookAtObject(), makeNewOutfit(), onAnimStop(), pitch(), propagate(), resetView(), sendAgentSetAppearance(), setAvatarObject(), setCameraZoomFraction(), setFlying(), setFocusGlobal(), setFocusOnAvatar(), setLookAt(), setPointAt(), setPositionAgent(), setStartPosition(), setupSitCamera(), unlockView(), updateCamera(), and updateLookAt().

BOOL LLAgent::mbAlwaysRun [private]

Definition at line 745 of file llagent.h.

Referenced by clearAlwaysRun(), getAlwaysRun(), and setAlwaysRun().

BOOL LLAgent::mbFlagsDirty [private]

Definition at line 813 of file llagent.h.

Referenced by changeCameraToCustomizeAvatar(), changeCameraToFollow(), changeCameraToMouselook(), changeCameraToThirdPerson(), clearControlFlags(), controlFlagsDirty(), resetControlFlags(), setControlFlags(), and setFlying().

BOOL LLAgent::mbFlagsNeedReset [private]

Definition at line 814 of file llagent.h.

Referenced by enableControlFlagReset(), and resetControlFlags().

BOOL LLAgent::mbJump [private]

Definition at line 816 of file llagent.h.

Referenced by getJump().

BOOL LLAgent::mCameraAnimating [private]

Definition at line 747 of file llagent.h.

Referenced by calcCameraPositionTargetGlobal(), changeCameraToCustomizeAvatar(), changeCameraToFollow(), changeCameraToMouselook(), changeCameraToThirdPerson(), getReferenceUpVector(), handleScrollWheel(), lookAtObject(), setCameraAnimating(), setCameraPosAndFocusGlobal(), startCameraAnimation(), stopCameraAnimation(), and updateCamera().

LLVector4 LLAgent::mCameraCollidePlane [private]

Definition at line 758 of file llagent.h.

Referenced by calcCameraPositionTargetGlobal(), init(), and setCameraCollidePlane().

F32 LLAgent::mCameraCurrentFOVZoomFactor [private]

Definition at line 753 of file llagent.h.

Referenced by updateCamera().

LLVector3d LLAgent::mCameraFocusOffset [private]

Definition at line 755 of file llagent.h.

Referenced by calcCameraFOVZoomFactor(), calcCameraPositionTargetGlobal(), getCurrentCameraBuildOffset(), setCameraPosAndFocusGlobal(), setFocusGlobal(), and updateCamera().

LLVector3d LLAgent::mCameraFocusOffsetTarget [private]

Definition at line 756 of file llagent.h.

Referenced by cameraOrbitAround(), cameraOrbitIn(), cameraOrbitOver(), cameraZoomIn(), getCameraZoomFraction(), handleScrollWheel(), init(), lookAtObject(), setCameraPosAndFocusGlobal(), setCameraZoomFraction(), setFocusGlobal(), and updateCamera().

F32 LLAgent::mCameraFOVDefault [private]

Definition at line 754 of file llagent.h.

F32 LLAgent::mCameraFOVZoomFactor [private]

Definition at line 752 of file llagent.h.

Referenced by calcCameraFOVZoomFactor(), resetCamera(), setFocusGlobal(), setFocusOnAvatar(), updateCamera(), and validateFocusObject().

LLVector3 LLAgent::mCameraLag [private]

Definition at line 762 of file llagent.h.

Referenced by calcCameraPositionTargetGlobal(), changeCameraToThirdPerson(), and endAnimationUpdateUI().

ECameraMode LLAgent::mCameraMode [private]

Definition at line 741 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(), setCameraPosAndFocusGlobal(), setFocusOnAvatar(), and updateCamera().

LLVector3 LLAgent::mCameraOffsetDefault [private]

Definition at line 757 of file llagent.h.

Referenced by calcCameraPositionTargetGlobal(), cameraOrbitIn(), handleScrollWheel(), and init().

LLVector3 LLAgent::mCameraPositionAgent [private]

Definition at line 764 of file llagent.h.

Referenced by changeCameraToFollow(), and updateCamera().

LLVector3 LLAgent::mCameraUpVector [private]

Definition at line 771 of file llagent.h.

Referenced by LLAgent(), and updateCamera().

LLVector3 LLAgent::mCameraVirtualPositionAgent [private]

Definition at line 765 of file llagent.h.

Referenced by setFocusGlobal(), and updateCamera().

F32 LLAgent::mCameraZoomFraction [private]

Definition at line 761 of file llagent.h.

Referenced by calcCameraPositionTargetGlobal(), cameraOrbitIn(), changeCameraToThirdPerson(), getCameraZoomFraction(), init(), and setCameraZoomFraction().

LLFrameTimer LLAgent::mChatTimer [private]

Definition at line 839 of file llagent.h.

Referenced by heardChat(), and startTyping().

U32 LLAgent::mControlFlags [private]

Definition at line 812 of file llagent.h.

Referenced by changeCameraToCustomizeAvatar(), changeCameraToFollow(), changeCameraToMouselook(), changeCameraToThirdPerson(), clearAFK(), clearControlFlags(), getAFK(), getControlFlags(), getFlying(), resetControlFlags(), setAFK(), setControlFlags(), and toggleFlying().

S32 LLAgent::mControlsTakenCount[TOTAL_CONTROLS] [private]

Definition at line 725 of file llagent.h.

Referenced by anyControlGrabbed(), backwardGrabbed(), downGrabbed(), forwardGrabbed(), isControlGrabbed(), leftButtonGrabbed(), LLAgent(), processScriptControlChange(), rotateGrabbed(), and upGrabbed().

S32 LLAgent::mControlsTakenPassedOnCount[TOTAL_CONTROLS] [private]

Definition at line 726 of file llagent.h.

Referenced by anyControlGrabbed(), leftButtonGrabbed(), LLAgent(), and processScriptControlChange().

BOOL LLAgent::mCrouching [private]

Definition at line 788 of file llagent.h.

F32 LLAgent::mCurrentCameraDistance [private]

Definition at line 759 of file llagent.h.

Referenced by calcCameraPositionTargetGlobal(), changeCameraToThirdPerson(), and init().

S32 LLAgent::mCurrentFidget [private]

Definition at line 850 of file llagent.h.

Referenced by fidget().

F64 LLAgent::mDistanceTraveled [private]

Definition at line 733 of file llagent.h.

Referenced by getDistanceTraveled(), and updateCamera().

F32 LLAgent::mDrawDistance

Definition at line 683 of file llagent.h.

Referenced by cameraOrbitIn(), cameraZoomIn(), cleanup_saved_settings(), display_update_camera(), getCameraZoomFraction(), LLRenderFarClipListener::handleEvent(), idle_startup(), init(), LLViewerWindow::mousePointOnLandGlobal(), send_agent_update(), setCameraZoomFraction(), and LLViewerCamera::setPerspective().

LLColor4 LLAgent::mEffectColor [private]

Definition at line 834 of file llagent.h.

Referenced by getEffectColor(), init(), and setEffectColor().

LLEffectColorListener LLAgent::mEffectColorListener [private]

Definition at line 931 of file llagent.h.

Referenced by init().

std::set<LLPointer <LLViewerObject> > LLAgent::mFadeObjects [private]

Definition at line 848 of file llagent.h.

Referenced by cleanup(), setFocusObject(), and updateCamera().

LLFrameTimer LLAgent::mFidgetTimer [private]

Definition at line 846 of file llagent.h.

Referenced by fidget().

BOOL LLAgent::mFirstLogin [private]

Definition at line 851 of file llagent.h.

Referenced by isFirstLogin(), and setFirstLogin().

F32 LLAgent::mFocusDotRadius [private]

Definition at line 782 of file llagent.h.

LLVector3d LLAgent::mFocusGlobal [private]

Definition at line 777 of file llagent.h.

Referenced by cameraPanIn(), cameraPanLeft(), cameraPanUp(), getFocusGlobal(), startCameraAnimation(), and updateCamera().

LLPointer<LLViewerObject> LLAgent::mFocusObject [private]

Definition at line 779 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 780 of file llagent.h.

Referenced by calcCameraFOVZoomFactor(), getFocusObjectDist(), and updateCamera().

LLFrameTimer LLAgent::mFocusObjectFadeTimer [private]

Definition at line 847 of file llagent.h.

Referenced by updateCamera().

LLVector3 LLAgent::mFocusObjectOffset [private]

Definition at line 781 of file llagent.h.

Referenced by calcCameraFOVZoomFactor(), calcCameraMinDistance(), calcFocusPositionTargetGlobal(), clearFocusObject(), updateFocusOffset(), and validateFocusObject().

BOOL LLAgent::mFocusOnAvatar [private]

Definition at line 776 of file llagent.h.

Referenced by calcCameraPositionTargetGlobal(), calcFocusPositionTargetGlobal(), cameraOrbitAround(), cameraOrbitIn(), cameraOrbitOver(), getCameraZoomFraction(), getFocusOnAvatar(), handleScrollWheel(), setCameraZoomFraction(), setFocusOnAvatar(), and updateCamera().

LLVector3d LLAgent::mFocusTargetGlobal [private]

Definition at line 778 of file llagent.h.

Referenced by calcCameraMinDistance(), calcFocusPositionTargetGlobal(), cameraPanIn(), cameraPanLeft(), cameraPanUp(), getFocusTargetGlobal(), setCameraPosAndFocusGlobal(), setFocusGlobal(), and updateFocusOffset().

LLFollowCam LLAgent::mFollowCam

Definition at line 574 of file llagent.h.

Referenced by calcCameraPositionTargetGlobal(), calcFocusPositionTargetGlobal(), changeCameraToFollow(), handleScrollWheel(), LLAgent(), and updateCamera().

BOOL LLAgent::mForceMouselook

Definition at line 710 of file llagent.h.

Referenced by process_avatar_sit_response(), and LLVOAvatar::sitOnObject().

LLCoordFrame LLAgent::mFrameAgent [private]

Definition at line 786 of file llagent.h.

Referenced by autoPilot(), calcCameraPositionTargetGlobal(), calcFocusPositionTargetGlobal(), cameraOrbitAround(), changeCameraToCustomizeAvatar(), changeCameraToThirdPerson(), getAtAxis(), getFrameAgent(), getHeadRotation(), getLeftAxis(), getPositionAgent(), getPositionGlobal(), getQuat(), getUpAxis(), operator<<(), pitch(), resetAxes(), resetCamera(), roll(), rotate(), setPositionAgent(), setStartPosition(), setupSitCamera(), updateCamera(), updateLookAt(), and yaw().

LLFriendObserver* LLAgent::mFriendObserver [private]

Definition at line 932 of file llagent.h.

Referenced by observeFriends().

BOOL LLAgent::mGenderChosen [private]

Definition at line 852 of file llagent.h.

Referenced by isGenderChosen(), needsRenderAvatar(), and setGenderChosen().

U8 LLAgent::mGodLevel [private]

Definition at line 845 of file llagent.h.

Referenced by getGodLevel(), isGodlike(), and setGodLevel().

LLUUID LLAgent::mGroupID

Definition at line 689 of file llagent.h.

Referenced by callback_leave_group(), getGroupID(), handle_dump_group_info(), hasPowerInActiveGroup(), isGroupMember(), processAgentDataUpdate(), and processAgentDropGroup().

char LLAgent::mGroupName[DB_GROUP_NAME_BUF_SIZE]

Definition at line 688 of file llagent.h.

Referenced by handle_dump_group_info(), handle_leave_group(), processAgentDataUpdate(), processAgentDropGroup(), and LLFloaterBuyLandUI::refreshUI().

U64 LLAgent::mGroupPowers

Definition at line 685 of file llagent.h.

Referenced by handle_dump_group_info(), processAgentDataUpdate(), and processAgentDropGroup().

LLDynamicArray<LLGroupData> LLAgent::mGroups

Definition at line 702 of file llagent.h.

Referenced by LLPanelGroups::enableButtons(), getGroupContribution(), getGroupData(), getPowerInGroup(), hasPowerInGroup(), init_group_list(), isInGroup(), join_group_callback(), LLPanelGroups::leave(), LLAgentGroupDataUpdateViewerNode::post(), LLFloaterLandHoldings::postBuild(), LLPanelGroups::postBuild(), processAgentDropGroup(), processAgentGroupDataUpdate(), LLGroupMgr::processCreateGroupReply(), LLPanelGroups::reset(), LLPanelAvatar::resetGroupList(), setGroupContribution(), and setUserGroupFlags().

char LLAgent::mGroupTitle[DB_GROUP_TITLE_BUF_SIZE]

Definition at line 687 of file llagent.h.

Referenced by buildFullnameAndTitle(), handle_dump_group_info(), processAgentDataUpdate(), and processAgentDropGroup().

BOOL LLAgent::mHaveHomePosition [private]

Definition at line 836 of file llagent.h.

Referenced by getHomePosGlobal(), and setHomePosRegion().

BOOL LLAgent::mHideGroupTitle

Definition at line 686 of file llagent.h.

Referenced by isGroupTitleHidden(), saved_settings_to_globals(), and setHideGroupTitle().

LLHideGroupTitleListener LLAgent::mHideGroupTitleListener [private]

Definition at line 930 of file llagent.h.

Referenced by init().

LLVector3 LLAgent::mHomePosRegion [private]

Definition at line 838 of file llagent.h.

Referenced by getHomePosGlobal(), and setHomePosRegion().

U64 LLAgent::mHomeRegionHandle [private]

Definition at line 837 of file llagent.h.

Referenced by getHomePosGlobal(), and setHomePosRegion().

BOOL LLAgent::mInitialized

Definition at line 704 of file llagent.h.

Referenced by cleanup_saved_settings(), and init().

LLUUID LLAgent::mInventoryRootID

Definition at line 691 of file llagent.h.

Referenced by getInventoryRootID(), and idle_startup().

BOOL LLAgent::mIsBusy [private]

Definition at line 789 of file llagent.h.

Referenced by clearBusy(), getBusy(), and setBusy().

ECameraMode LLAgent::mLastCameraMode [private]

Definition at line 742 of file llagent.h.

Referenced by cameraFollow(), cameraMouselook(), cameraThirdPerson(), changeCameraToCustomizeAvatar(), changeCameraToFollow(), changeCameraToMouselook(), changeCameraToThirdPerson(), endAnimationUpdateUI(), getReferenceUpVector(), and updateCamera().

LLUUID LLAgent::mLastChatterID [private]

Definition at line 840 of file llagent.h.

Referenced by getLastChatter(), heardChat(), lookAtLastChat(), and startTyping().

LLVector3d LLAgent::mLastPositionGlobal [private]

Definition at line 734 of file llagent.h.

Referenced by updateCamera().

LLUUID LLAgent::mLeaderID [private]

Definition at line 830 of file llagent.h.

Referenced by autoPilot(), startFollowPilot(), and stopAutoPilot().

S32 LLAgent::mLeftKey [private]

Definition at line 793 of file llagent.h.

Referenced by LLAgent(), moveLeft(), moveLeftNudge(), and propagate().

LLPointer<LLHUDEffectLookAt> LLAgent::mLookAt

Definition at line 699 of file llagent.h.

Referenced by cleanup(), getLookAtType(), setAvatarObject(), setLookAt(), and LLHUDEffectLookAt::unpackData().

S32 LLAgent::mMapHeight

Definition at line 696 of file llagent.h.

LLUUID LLAgent::mMapID

Definition at line 692 of file llagent.h.

F64 LLAgent::mMapOriginX

Definition at line 693 of file llagent.h.

F64 LLAgent::mMapOriginY

Definition at line 694 of file llagent.h.

S32 LLAgent::mMapWidth

Definition at line 695 of file llagent.h.

std::string LLAgent::mMOTD

Definition at line 697 of file llagent.h.

Referenced by LLHelpMOTD::handleEvent(), and idle_startup().

F32 LLAgent::mNearChatRadius [private]

Definition at line 841 of file llagent.h.

Referenced by getNearChatRadius().

F32 LLAgent::mNextFidgetTime [private]

Definition at line 849 of file llagent.h.

Referenced by fidget().

S32 LLAgent::mNumPendingQueries

Definition at line 707 of file llagent.h.

Referenced by LLTexLayerSetBuffer::needsRender(), processAgentCachedTextureResponse(), queryWearableCache(), LLTexLayerSetBuffer::render(), and sendAgentSetAppearance().

F32 LLAgent::mOrbitDownKey [private]

Definition at line 801 of file llagent.h.

Referenced by LLAgent(), setOrbitDownKey(), and updateCamera().

F32 LLAgent::mOrbitInKey [private]

Definition at line 802 of file llagent.h.

Referenced by LLAgent(), setOrbitInKey(), and updateCamera().

F32 LLAgent::mOrbitLeftKey [private]

Definition at line 798 of file llagent.h.

Referenced by LLAgent(), setOrbitLeftKey(), and updateCamera().

F32 LLAgent::mOrbitOutKey [private]

Definition at line 803 of file llagent.h.

Referenced by LLAgent(), setOrbitOutKey(), and updateCamera().

F32 LLAgent::mOrbitRightKey [private]

Definition at line 799 of file llagent.h.

Referenced by LLAgent(), setOrbitRightKey(), and updateCamera().

F32 LLAgent::mOrbitUpKey [private]

Definition at line 800 of file llagent.h.

Referenced by LLAgent(), setOrbitUpKey(), and updateCamera().

F32 LLAgent::mPanDownKey [private]

Definition at line 806 of file llagent.h.

Referenced by LLAgent(), setPanDownKey(), and updateCamera().

F32 LLAgent::mPanInKey [private]

Definition at line 809 of file llagent.h.

Referenced by LLAgent(), setPanInKey(), and updateCamera().

F32 LLAgent::mPanLeftKey [private]

Definition at line 807 of file llagent.h.

Referenced by LLAgent(), setPanLeftKey(), and updateCamera().

F32 LLAgent::mPanOutKey [private]

Definition at line 810 of file llagent.h.

Referenced by LLAgent(), setPanOutKey(), and updateCamera().

F32 LLAgent::mPanRightKey [private]

Definition at line 808 of file llagent.h.

Referenced by LLAgent(), setPanRightKey(), and updateCamera().

F32 LLAgent::mPanUpKey [private]

Definition at line 805 of file llagent.h.

Referenced by LLAgent(), setPanUpKey(), and updateCamera().

LLAnimPauseRequest LLAgent::mPauseRequest [private]

Definition at line 869 of file llagent.h.

Referenced by changeCameraToFollow(), changeCameraToMouselook(), changeCameraToThirdPerson(), and endAnimationUpdateUI().

S32 LLAgent::mPitchKey [private]

Definition at line 796 of file llagent.h.

Referenced by LLAgent(), movePitch(), and propagate().

LLPointer<LLHUDEffectPointAt> LLAgent::mPointAt

Definition at line 700 of file llagent.h.

Referenced by cleanup(), getPointAtType(), LLVOAvatar::idleUpdate(), setAvatarObject(), setPointAt(), and LLHUDEffectPointAt::unpackData().

LLVector3d LLAgent::mPositionGlobal [mutable, private]

Definition at line 730 of file llagent.h.

Referenced by getPositionGlobal(), and setPositionAgent().

std::set<LLUUID> LLAgent::mProxyForAgents [private]

Definition at line 832 of file llagent.h.

Referenced by friendsChanged(), and isGrantedProxy().

LLViewerRegion* LLAgent::mRegionp [private]

Definition at line 728 of file llagent.h.

Referenced by canManageEstate(), cleanup(), getRegion(), getRegionHost(), inPrelude(), sendAnimationRequest(), sendMessage(), sendReliableMessage(), setRegion(), and setStartPosition().

std::set<U64> LLAgent::mRegionsVisited [private]

Definition at line 732 of file llagent.h.

Referenced by getRegionsVisited(), and setRegion().

U8 LLAgent::mRenderState [private]

Definition at line 738 of file llagent.h.

Referenced by clearRenderState(), getRenderState(), setRenderState(), and stopTyping().

LLUUID LLAgent::mSecureSessionID

Definition at line 681 of file llagent.h.

Referenced by getSecureSessionID(), and idle_startup().

BOOL LLAgent::mShowAvatar [private]

Definition at line 746 of file llagent.h.

Referenced by needsRenderAvatar(), needsRenderHead(), and updateCamera().

BOOL LLAgent::mSitCameraEnabled [private]

Definition at line 766 of file llagent.h.

Referenced by calcCameraPositionTargetGlobal(), calcFocusPositionTargetGlobal(), setSitCamera(), sitCameraEnabled(), and updateCamera().

LLVector3 LLAgent::mSitCameraFocus [private]

Definition at line 768 of file llagent.h.

Referenced by calcFocusPositionTargetGlobal(), and setSitCamera().

LLVector3 LLAgent::mSitCameraPos [private]

Definition at line 767 of file llagent.h.

Referenced by calcCameraPositionTargetGlobal(), and setSitCamera().

LLPointer<LLViewerObject> LLAgent::mSitCameraReferenceObject [private]

Definition at line 774 of file llagent.h.

Referenced by calcCameraPositionTargetGlobal(), calcFocusPositionTargetGlobal(), setSitCamera(), and updateCamera().

F32 LLAgent::mTargetCameraDistance [private]

Definition at line 760 of file llagent.h.

Referenced by calcCameraPositionTargetGlobal(), cameraOrbitIn(), changeCameraToThirdPerson(), handleScrollWheel(), and init().

LLString LLAgent::mTeleportMessage [private]

Definition at line 723 of file llagent.h.

Referenced by getTeleportMessage(), and setTeleportMessage().

ETeleportState LLAgent::mTeleportState [private]

Definition at line 722 of file llagent.h.

Referenced by getTeleportState(), setTeleportState(), and teleportCore().

S32 LLAgent::mTextureCacheQueryID [private]

Definition at line 867 of file llagent.h.

Referenced by queryWearableCache().

LLVector3 LLAgent::mThirdPersonHeadOffset [private]

Definition at line 763 of file llagent.h.

Referenced by calcCameraPositionTargetGlobal(), and setThirdPersonHeadOffset().

BOOL LLAgent::mTrackFocusObject [private]

Definition at line 783 of file llagent.h.

Referenced by calcFocusPositionTargetGlobal(), init(), and setObjectTracking().

LLFrameTimer LLAgent::mTypingTimer [private]

Definition at line 739 of file llagent.h.

Referenced by getRenderState(), getTypingTime(), and startTyping().

F32 LLAgent::mUIOffset [private]

Definition at line 784 of file llagent.h.

Referenced by calcCustomizeAvatarUIOffset().

S32 LLAgent::mUpKey [private]

Definition at line 794 of file llagent.h.

Referenced by LLAgent(), moveUp(), and propagate().

U32 LLAgent::mViewerPort

Definition at line 680 of file llagent.h.

Referenced by idle_startup().

BOOL LLAgent::mViewsPushed [private]

Definition at line 743 of file llagent.h.

Referenced by endAnimationUpdateUI().

S32 LLAgent::mWalkKey [private]

Definition at line 792 of file llagent.h.

Referenced by LLAgent(), moveAtNudge(), and propagate().

LLWearableEntry LLAgent::mWearableEntry[WT_COUNT] [private]

Definition at line 864 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().

BOOL LLAgent::mWearablesLoaded [private]

Definition at line 866 of file llagent.h.

Referenced by areWearablesLoaded(), createStandardWearablesAllDone(), getWearablesLoaded(), onInitialWearableAssetArrived(), queryWearableCache(), recoverMissingWearableDone(), sendAgentSetAppearance(), and setWearableOutfit().

F32 LLAgent::mYawKey [private]

Definition at line 795 of file llagent.h.

Referenced by LLAgent(), moveYaw(), and propagate().

BOOL LLAgent::sDebugDisplayTarget = FALSE [static]

Definition at line 706 of file llagent.h.

Referenced by init_debug_avatar_menu(), and LLDrawPoolAvatar::renderAvatars().

std::map< LLString, LLString > LLAgent::sTeleportErrorMessages [static]

Definition at line 716 of file llagent.h.

Referenced by do_disconnect(), idle_startup(), parseTeleportMessages(), and process_teleport_failed().

std::map< LLString, LLString > LLAgent::sTeleportProgressMessages [static]

Definition at line 717 of file llagent.h.

Referenced by display(), parseTeleportMessages(), process_teleport_finish(), and process_teleport_progress().

const F32 LLAgent::TYPING_TIMEOUT_SECS = 5.f [static]

Definition at line 133 of file llagent.h.

Referenced by LLFloaterIMPanel::draw(), and getRenderState().


The documentation for this class was generated from the following files:
Generated on Thu Jul 1 06:11:09 2010 for Second Life Viewer by  doxygen 1.4.7