diff options
author | aap <aap@papnet.eu> | 2020-05-10 23:47:53 +0200 |
---|---|---|
committer | aap <aap@papnet.eu> | 2020-05-10 23:47:53 +0200 |
commit | 198b80f56032352cce5e9b887c942fdcff793d13 (patch) | |
tree | cbdc4c72c2d58268cf933189f24d4a80664ebab5 /src/animation/AnimBlendAssociation.h | |
parent | vehicle model descriptions; a bit of heli code (diff) | |
download | re3-198b80f56032352cce5e9b887c942fdcff793d13.tar re3-198b80f56032352cce5e9b887c942fdcff793d13.tar.gz re3-198b80f56032352cce5e9b887c942fdcff793d13.tar.bz2 re3-198b80f56032352cce5e9b887c942fdcff793d13.tar.lz re3-198b80f56032352cce5e9b887c942fdcff793d13.tar.xz re3-198b80f56032352cce5e9b887c942fdcff793d13.tar.zst re3-198b80f56032352cce5e9b887c942fdcff793d13.zip |
Diffstat (limited to '')
-rw-r--r-- | src/animation/AnimBlendAssociation.h | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/src/animation/AnimBlendAssociation.h b/src/animation/AnimBlendAssociation.h index dd5b11b0..7efd8099 100644 --- a/src/animation/AnimBlendAssociation.h +++ b/src/animation/AnimBlendAssociation.h @@ -12,12 +12,12 @@ enum { ASSOC_PARTIAL = 0x10, ASSOC_MOVEMENT = 0x20, // ??? ASSOC_HAS_TRANSLATION = 0x40, - ASSOC_WALK = 0x80, // for CPed::PlayFootSteps(void) - ASSOC_FLAG_XPRESS = 0x100, // only used by xpress scratch, see CPed::Chat(void) - ASSOC_NOWALK = 0x200, // see CPed::PlayFootSteps(void) - ASSOC_BLOCK = 0x400, // unused in assoc description, blocks other anims from being played - ASSOC_FRONTAL = 0x800, // anims that we fall to front - ASSOC_HAS_X_TRANSLATION = 0x1000, // for 2d velocity extraction + ASSOC_HAS_X_TRANSLATION = 0x80, // for 2d velocity extraction + ASSOC_WALK = 0x100, // for CPed::PlayFootSteps(void) + ASSOC_FLAG_XPRESS = 0x200, // only used by xpress scratch, see CPed::Chat(void) + ASSOC_NOWALK = 0x400, // see CPed::PlayFootSteps(void) + ASSOC_BLOCK = 0x800, // unused in assoc description, blocks other anims from being played + ASSOC_FRONTAL = 0x1000, // anims that we fall to front }; // Anim hierarchy associated with a clump @@ -74,6 +74,7 @@ public: void SetCurrentTime(float time); void SyncAnimation(CAnimBlendAssociation *other); void Start(float time); + void UpdateTimeStep(float timeDelta, float relSpeed); bool UpdateTime(float timeDelta, float relSpeed); bool UpdateBlend(float timeDelta); |