animation struct documentation

This commit is contained in:
Banjo Kazooie
2023-03-12 23:11:39 -05:00
parent 7dd7a0b60c
commit af75d8b32d
293 changed files with 2031 additions and 1986 deletions

View File

@@ -2,26 +2,18 @@
#define ANIMATION_H
#include "prop.h"
s32 func_80289680(void);
size_t anim_getSize(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_new(Animation *this, bool 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 {
f32 unk0[4];
f32 unk10[3];
f32 unk1C[3];
}Struct_B1400;
//represents the transformation on a given model bone
typedef struct struct_B1400_1_s{
Struct_B1400 *unk0;
s32 unk4;
}Struct_B1400_1;
typedef union
{
@@ -48,11 +40,11 @@ typedef struct animation_file_s{
u8 pad6[2];
} AnimationFile;
typedef struct animation_cache_s{
typedef struct animation_file_cache_s{
AnimationFile *unk0;
u16 unk4_15:15;
u16 unk4_0:1;
u8 pad6[2];
}AnimationCache;
}AnimationFileCache;
#endif