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

@@ -188,7 +188,7 @@ void func_80251B5C(f32 arg0, f32 arg1, f32 arg2){
*(var_v0++) = arg0; *(var_v0++) = arg1; *(var_v0++) = arg2; *(var_v0++) = 1.0f;
}
void func_80251BCC(Mtx* arg0) {
void mlMtxSet(Mtx* arg0) {
s32 i, j;
f32 *v0;

View File

@@ -423,8 +423,8 @@ void func_8025A70C(enum comusic_e track_id){
}
void func_8025A788(enum comusic_e comusic_id, f32 delay1, f32 delay2){
timedFunc_set_1(delay1, (GenMethod_1) func_8025A70C, comusic_id);
timedFunc_set_1(delay1 + delay2, (GenMethod_1) func_8025A7DC, comusic_id);
timedFunc_set_1(delay1, (GenFunction_1) func_8025A70C, comusic_id);
timedFunc_set_1(delay1 + delay2, (GenFunction_1) func_8025A7DC, comusic_id);
}
void func_8025A7DC(enum comusic_e track_id){
@@ -594,12 +594,12 @@ s32 func_8025ADD4(enum comusic_e id){
void func_8025AE0C(s32 arg0, f32 arg1){
func_8025A58C(0, arg0);
timedFunc_set_2(arg1, (GenMethod_2)func_8025A58C, -1, arg0);
timedFunc_set_2(arg1, (GenFunction_2)func_8025A58C, -1, arg0);
}
void func_8025AE50(s32 arg0, f32 arg1){
func_8025A430(0, arg0, 6);
timedFunc_set_3(arg1, (GenMethod_3)func_8025A430, -1, arg0, 6);
timedFunc_set_3(arg1, (GenFunction_3)func_8025A430, -1, arg0, 6);
}
void func_8025AEA0(enum comusic_e track_id, s32 arg1){

View File

@@ -353,7 +353,7 @@ void *malloc(s32 size){
func_8030A850(2);
if(!func_80254B84(0))
func_80288120();
animCache_flushStale();
if(!func_80254B84(0))
func_8028873C(0);
@@ -377,7 +377,7 @@ void *malloc(s32 size){
func_802F1294(); //particleEmitters
if(!func_80254B84(0))
func_8028873C(1); //animationCache
func_8028873C(1); //AnimationFileCache
if(v1 = func_80254B84(0)){}
else

View File

@@ -148,10 +148,10 @@ void rumbleManager_80250E6C(f32 arg0, f32 arg1){
void rumbleManager_80250E94(f32 arg0, f32 arg1, f32 arg2, f32 arg3, f32 arg4, f32 arg5){
if(D_802823AC){
timedFunc_set_3(0.0f, (GenMethod_3) __rumbleManager_80250BA4, 0, (s32) (arg0 * 524288.0f), (s32) (arg2*524288.0f));
timedFunc_set_3(arg2, (GenMethod_3) __rumbleManager_80250BA4, (s32) (arg0 * 524288.0f), (s32) (arg1 * 524288.0f), (s32) (arg3*524288.0f));
timedFunc_set_3(arg2 + arg3, (GenMethod_3) __rumbleManager_80250BA4, (s32) (arg1 * 524288.0f), (s32) (arg1 * 524288.0f), (s32) (arg4*524288.0f));
timedFunc_set_3(arg2 + arg3 + arg4, (GenMethod_3) __rumbleManager_80250BA4, (s32) (arg1 * 524288.0f), 0, (s32) (arg5*524288.0f));
timedFunc_set_3(0.0f, (GenFunction_3) __rumbleManager_80250BA4, 0, (s32) (arg0 * 524288.0f), (s32) (arg2*524288.0f));
timedFunc_set_3(arg2, (GenFunction_3) __rumbleManager_80250BA4, (s32) (arg0 * 524288.0f), (s32) (arg1 * 524288.0f), (s32) (arg3*524288.0f));
timedFunc_set_3(arg2 + arg3, (GenFunction_3) __rumbleManager_80250BA4, (s32) (arg1 * 524288.0f), (s32) (arg1 * 524288.0f), (s32) (arg4*524288.0f));
timedFunc_set_3(arg2 + arg3 + arg4, (GenFunction_3) __rumbleManager_80250BA4, (s32) (arg1 * 524288.0f), 0, (s32) (arg5*524288.0f));
}
}