added animation system (with skin support for now)

This commit is contained in:
aap
2019-06-11 08:59:28 +02:00
parent a600fa9976
commit e7ed4d0096
23 changed files with 3075 additions and 2 deletions

View File

@@ -0,0 +1,27 @@
#pragma once
// name made up
class CAnimBlendLink
{
public:
CAnimBlendLink *next;
CAnimBlendLink *prev;
void Init(void){
next = nil;
prev = nil;
}
void Prepend(CAnimBlendLink *link){
if(next)
next->prev = link;
link->next = next;
link->prev = this;
next = link;
}
void Remove(void){
if(prev)
prev->next = next;
if(next)
next->prev = prev;
}
};