The first commit
This commit is contained in:
50
include/animation.h
Normal file
50
include/animation.h
Normal file
@@ -0,0 +1,50 @@
|
||||
#ifndef ANIMATION_H
|
||||
#define ANIMATION_H
|
||||
|
||||
#include "prop.h"
|
||||
s32 func_80289680(void);
|
||||
enum asset_e anim_getIndex(Animation *this);
|
||||
f32 anim_getTimer(Animation *this);
|
||||
f32 anim_getDuration(Animation *this);
|
||||
void func_802896EC(Animation *this, s32 arg1);
|
||||
void anim_setTimer(Animation *this, f32 arg1);
|
||||
void anim_80289790(Animation* this, void (*arg1)(s32, s32));
|
||||
void anim_80289798(Animation *this, s32 arg1);
|
||||
void anim_setDuration(Animation *this, f32 arg1);
|
||||
|
||||
typedef struct {
|
||||
u8 pad0[40];
|
||||
}Struct_B1400;
|
||||
|
||||
typedef union
|
||||
{
|
||||
struct{
|
||||
u16 unk0_15: 2;
|
||||
u16 unk0_13: 14;
|
||||
s16 unk2;
|
||||
};
|
||||
}AnimationFileData;
|
||||
|
||||
|
||||
typedef struct animation_file_elem_s{
|
||||
u16 unk0_15:12;
|
||||
u16 unk0_3:4;
|
||||
s16 data_cnt;
|
||||
AnimationFileData data[];
|
||||
}AnimationFileElement;
|
||||
|
||||
typedef struct animation_file_s{
|
||||
s16 unk0;
|
||||
s16 unk2;
|
||||
s16 elem_cnt;
|
||||
u8 pad6[2];
|
||||
} AnimationFile;
|
||||
|
||||
typedef struct animation_cache_s{
|
||||
AnimationFile *unk0;
|
||||
u16 unk4_15:15;
|
||||
u16 unk4_0:1;
|
||||
u8 pad6[2];
|
||||
}AnimationCache;
|
||||
|
||||
#endif
|
Reference in New Issue
Block a user