mirror of
https://git.rip/DMCA_FUCKER/re3.git
synced 2024-11-10 21:39:15 +00:00
29 lines
396 B
C++
29 lines
396 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;
|
|
Init();
|
|
}
|
|
};
|