added animation system (with skin support for now)
This commit is contained in:
27
src/animation/AnimBlendList.h
Normal file
27
src/animation/AnimBlendList.h
Normal 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;
|
||||
}
|
||||
};
|
||||
Reference in New Issue
Block a user