diff options
author | Andrey Lihatskiy <alihatskiy@productengine.com> | 2024-04-29 07:43:28 +0300 |
---|---|---|
committer | Andrey Lihatskiy <alihatskiy@productengine.com> | 2024-04-29 07:56:09 +0300 |
commit | 1b68f71348ecf3983b76b40d7940da8377f049b7 (patch) | |
tree | 2974eddaef130a067c26033d60a59fc790365b3d /indra/newview/llcontrolavatar.h | |
parent | af4ea94efc1999f3b19fd8d643d0331f0b77e265 (diff) |
#824 Process source files in bulk: replace tabs with spaces, convert CRLF to LF, and trim trailing whitespaces as needed
Diffstat (limited to 'indra/newview/llcontrolavatar.h')
-rw-r--r-- | indra/newview/llcontrolavatar.h | 34 |
1 files changed, 17 insertions, 17 deletions
diff --git a/indra/newview/llcontrolavatar.h b/indra/newview/llcontrolavatar.h index 34db285514..ca98659ecd 100644 --- a/indra/newview/llcontrolavatar.h +++ b/indra/newview/llcontrolavatar.h @@ -41,12 +41,12 @@ public: LLControlAvatar(const LLUUID &id, const LLPCode pcode, LLViewerRegion *regionp); virtual void initInstance(); // Called after construction to initialize the class. virtual void markDead(); - virtual ~LLControlAvatar(); + virtual ~LLControlAvatar(); + + // If this is an attachment, return the avatar it is attached to. Otherwise NULL. + virtual const LLVOAvatar *getAttachedAvatar() const; + virtual LLVOAvatar *getAttachedAvatar(); - // If this is an attachment, return the avatar it is attached to. Otherwise NULL. - virtual const LLVOAvatar *getAttachedAvatar() const; - virtual LLVOAvatar *getAttachedAvatar(); - void getNewConstraintFixups(LLVector3& new_pos_constraint, F32& new_scale_constraint) const; void matchVolumeTransform(); void updateVolumeGeom(); @@ -60,13 +60,13 @@ public: void markForDeath(); virtual void idleUpdate(LLAgent &agent, const F64 &time); - virtual bool computeNeedsUpdate(); - virtual bool updateCharacter(LLAgent &agent); + virtual bool computeNeedsUpdate(); + virtual bool updateCharacter(LLAgent &agent); void getAnimatedVolumes(std::vector<LLVOVolume*>& volumes); - void updateAnimations(); - - virtual LLViewerObject* lineSegmentIntersectRiggedAttachments( + void updateAnimations(); + + virtual LLViewerObject* lineSegmentIntersectRiggedAttachments( const LLVector4a& start, const LLVector4a& end, S32 face = -1, // which face to check, -1 = ALL_SIDES BOOL pick_transparent = FALSE, @@ -78,14 +78,14 @@ public: LLVector4a* normal = NULL, // return the surface normal at the intersection point LLVector4a* tangent = NULL); // return the surface tangent at the intersection point - virtual void updateDebugText(); + virtual void updateDebugText(); virtual std::string getFullname() const; virtual bool shouldRenderRigged() const; - virtual BOOL isImpostor(); - + virtual BOOL isImpostor(); + bool mPlaying; F32 mGlobalScale; @@ -101,9 +101,9 @@ public: static const F32 MAX_LEGAL_OFFSET; static const F32 MAX_LEGAL_SIZE; - static void onRegionChanged(); - bool mRegionChanged; - static boost::signals2::connection sRegionChangedSlot; + static void onRegionChanged(); + bool mRegionChanged; + static boost::signals2::connection sRegionChangedSlot; }; typedef std::map<LLUUID, S32> signaled_animation_map_t; @@ -112,7 +112,7 @@ typedef std::map<LLUUID, signaled_animation_map_t> object_signaled_animation_map // Stores information about previously requested animations, by object id. class LLObjectSignaledAnimationMap: public LLSingleton<LLObjectSignaledAnimationMap> { - LLSINGLETON_EMPTY_CTOR(LLObjectSignaledAnimationMap); + LLSINGLETON_EMPTY_CTOR(LLObjectSignaledAnimationMap); public: object_signaled_animation_map_t mMap; |