mirror of
https://github.com/halpz/re3.git
synced 2025-07-13 23:38:12 +00:00
CPed, CVehicle, mostly entering/exiting car
Signed-off-by: eray orçunus <erayorcunus@gmail.com>
This commit is contained in:
@ -2,8 +2,7 @@
|
||||
|
||||
#include "AnimBlendList.h"
|
||||
#include "AnimBlendNode.h"
|
||||
|
||||
class CAnimBlendHierarchy;
|
||||
#include "AnimBlendHierarchy.h"
|
||||
|
||||
enum {
|
||||
// TODO
|
||||
@ -78,6 +77,8 @@ public:
|
||||
void UpdateTime(float timeDelta, float relSpeed);
|
||||
bool UpdateBlend(float timeDelta);
|
||||
|
||||
float GetTimeLeft() { return hierarchy->totalLength - currentTime; }
|
||||
|
||||
static CAnimBlendAssociation *FromLink(CAnimBlendLink *l) {
|
||||
return (CAnimBlendAssociation*)((uint8*)l - offsetof(CAnimBlendAssociation, link));
|
||||
}
|
||||
|
Reference in New Issue
Block a user