From 2a4dea528f670b9bb1f77ef27a8a1dd16603d114 Mon Sep 17 00:00:00 2001 From: Jacek Antonelli Date: Fri, 15 Aug 2008 23:45:50 -0500 Subject: Second Life viewer sources 1.20.7 --- linden/indra/newview/llvoavatar.h | 29 +++++++++++++++++++++++++++-- 1 file changed, 27 insertions(+), 2 deletions(-) (limited to 'linden/indra/newview/llvoavatar.h') diff --git a/linden/indra/newview/llvoavatar.h b/linden/indra/newview/llvoavatar.h index bc68cf4..1df8275 100644 --- a/linden/indra/newview/llvoavatar.h +++ b/linden/indra/newview/llvoavatar.h @@ -413,8 +413,8 @@ public: //-------------------------------------------------------------------- BOOL allocateCollisionVolumes( U32 num ); void resetHUDAttachments(); - static void getAnimLabels( LLDynamicArray* labels ); - static void getAnimNames( LLDynamicArray* names ); + static void getAnimLabels( LLDynamicArray* labels ); + static void getAnimNames( LLDynamicArray* names ); static void onCustomizeStart(); static void onCustomizeEnd(); @@ -832,6 +832,17 @@ public: BOOL mAppearanceAnimating; //-------------------------------------------------------------------- + // we're morphing for lip sync + //-------------------------------------------------------------------- + bool mLipSyncActive; + + //-------------------------------------------------------------------- + // cached pointers morphs for lip sync + //-------------------------------------------------------------------- + LLVisualParam *mOohMorph; + LLVisualParam *mAahMorph; + + //-------------------------------------------------------------------- // static members //-------------------------------------------------------------------- static S32 sMaxVisible; @@ -957,7 +968,21 @@ protected: static LLVOAvatarSkeletonInfo* sSkeletonInfo; static LLVOAvatarInfo* sAvatarInfo; + + //-------------------------------------------------------------------- + // Handling partially loaded avatars (Ruth) + //-------------------------------------------------------------------- +public: + BOOL isFullyLoaded(); + BOOL updateIsFullyLoaded(); +private: + BOOL mFullyLoaded; + BOOL mPreviousFullyLoaded; + BOOL mFullyLoadedInitialized; + S32 mFullyLoadedFrameCounter; + LLFrameTimer mFullyLoadedTimer; + protected: BOOL loadSkeletonNode(); -- cgit v1.1