mirror of
https://gitlab.com/GaryOderNichts/re3-wiiu.git
synced 2024-12-24 00:31:48 +01:00
28 lines
386 B
C
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;
|
||
|
}
|
||
|
};
|