mirror of
https://github.com/GTAmodding/re3.git
synced 2025-10-09 02:30:34 +00:00
CPed, CVehicle, mostly entering/exiting car
Signed-off-by: eray orçunus <erayorcunus@gmail.com>
This commit is contained in:
parent
4d84d94166
commit
1e09bf9c30
14 changed files with 789 additions and 40 deletions
|
@ -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));
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue