diff options
author | Jacek Antonelli | 2008-08-15 23:44:54 -0500 |
---|---|---|
committer | Jacek Antonelli | 2008-08-15 23:44:54 -0500 |
commit | b2afb8800bb033a04bb3ecdf0363068d56648ef1 (patch) | |
tree | 3568129b5bbddb47cd39d622b4137a8fbff4abaf /linden/indra/llcharacter/llkeyframemotion.h | |
parent | Second Life viewer sources 1.14.0.1 (diff) | |
download | meta-impy-b2afb8800bb033a04bb3ecdf0363068d56648ef1.zip meta-impy-b2afb8800bb033a04bb3ecdf0363068d56648ef1.tar.gz meta-impy-b2afb8800bb033a04bb3ecdf0363068d56648ef1.tar.bz2 meta-impy-b2afb8800bb033a04bb3ecdf0363068d56648ef1.tar.xz |
Second Life viewer sources 1.15.0.2
Diffstat (limited to '')
-rw-r--r-- | linden/indra/llcharacter/llkeyframemotion.h | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/linden/indra/llcharacter/llkeyframemotion.h b/linden/indra/llcharacter/llkeyframemotion.h index c33df80..1e5cd62 100644 --- a/linden/indra/llcharacter/llkeyframemotion.h +++ b/linden/indra/llcharacter/llkeyframemotion.h | |||
@@ -4,6 +4,7 @@ | |||
4 | * | 4 | * |
5 | * Copyright (c) 2001-2007, Linden Research, Inc. | 5 | * Copyright (c) 2001-2007, Linden Research, Inc. |
6 | * | 6 | * |
7 | * Second Life Viewer Source Code | ||
7 | * The source code in this file ("Source Code") is provided by Linden Lab | 8 | * The source code in this file ("Source Code") is provided by Linden Lab |
8 | * to you under the terms of the GNU General Public License, version 2.0 | 9 | * to you under the terms of the GNU General Public License, version 2.0 |
9 | * ("GPL"), unless you have obtained a separate licensing agreement | 10 | * ("GPL"), unless you have obtained a separate licensing agreement |
@@ -35,7 +36,6 @@ | |||
35 | #include <string> | 36 | #include <string> |
36 | 37 | ||
37 | #include "llassetstorage.h" | 38 | #include "llassetstorage.h" |
38 | #include "llassoclist.h" | ||
39 | #include "llbboxlocal.h" | 39 | #include "llbboxlocal.h" |
40 | #include "llhandmotion.h" | 40 | #include "llhandmotion.h" |
41 | #include "lljointstate.h" | 41 | #include "lljointstate.h" |
@@ -405,11 +405,12 @@ public: | |||
405 | LLJoint::JointPriority mBasePriority; | 405 | LLJoint::JointPriority mBasePriority; |
406 | LLHandMotion::eHandPose mHandPose; | 406 | LLHandMotion::eHandPose mHandPose; |
407 | LLJoint::JointPriority mMaxPriority; | 407 | LLJoint::JointPriority mMaxPriority; |
408 | LLLinkedList<JointConstraintSharedData> mConstraints; | 408 | typedef std::list<JointConstraintSharedData*> constraint_list_t; |
409 | constraint_list_t mConstraints; | ||
409 | LLBBoxLocal mPelvisBBox; | 410 | LLBBoxLocal mPelvisBBox; |
410 | public: | 411 | public: |
411 | JointMotionList() : mNumJointMotions(0), mJointMotionArray(NULL) {}; | 412 | JointMotionList(); |
412 | ~JointMotionList() { mConstraints.deleteAllData(); delete [] mJointMotionArray; } | 413 | ~JointMotionList(); |
413 | U32 dumpDiagInfo(); | 414 | U32 dumpDiagInfo(); |
414 | }; | 415 | }; |
415 | 416 | ||
@@ -425,7 +426,8 @@ protected: | |||
425 | LLJoint* mPelvisp; | 426 | LLJoint* mPelvisp; |
426 | LLCharacter* mCharacter; | 427 | LLCharacter* mCharacter; |
427 | std::string mEmoteName; | 428 | std::string mEmoteName; |
428 | LLLinkedList<JointConstraint> mConstraints; | 429 | typedef std::list<JointConstraint*> constraint_list_t; |
430 | constraint_list_t mConstraints; | ||
429 | U32 mLastSkeletonSerialNum; | 431 | U32 mLastSkeletonSerialNum; |
430 | F32 mLastUpdateTime; | 432 | F32 mLastUpdateTime; |
431 | F32 mLastLoopedTime; | 433 | F32 mLastLoopedTime; |
@@ -439,8 +441,8 @@ public: | |||
439 | LLKeyframeDataCache(){}; | 441 | LLKeyframeDataCache(){}; |
440 | ~LLKeyframeDataCache(); | 442 | ~LLKeyframeDataCache(); |
441 | 443 | ||
442 | typedef std::map<LLUUID, class LLKeyframeMotion::JointMotionList*> LLKeyframeDataMap; | 444 | typedef std::map<LLUUID, class LLKeyframeMotion::JointMotionList*> keyframe_data_map_t; |
443 | static LLKeyframeDataMap sKeyframeDataMap; | 445 | static keyframe_data_map_t sKeyframeDataMap; |
444 | 446 | ||
445 | static void addKeyframeData(const LLUUID& id, LLKeyframeMotion::JointMotionList*); | 447 | static void addKeyframeData(const LLUUID& id, LLKeyframeMotion::JointMotionList*); |
446 | static LLKeyframeMotion::JointMotionList* getKeyframeData(const LLUUID& id); | 448 | static LLKeyframeMotion::JointMotionList* getKeyframeData(const LLUUID& id); |