1
0
mirror of https://github.com/td512/re3.git synced 2026-02-04 08:02:30 +00:00
Files
td512.re3/src/animation/AnimBlendList.h

28 lines
386 B
C++

#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;
}
};