CPed, CVehicle, mostly entering/exiting car
Signed-off-by: eray orçunus <erayorcunus@gmail.com>
This commit is contained in:
1 parent
4d84d94166
commit
1e09bf9c30
14 files changed
+789
-40
No files matched your search
@@ -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