The first commit

This commit is contained in:
Banjo Kazooie
2022-07-15 17:09:41 -05:00
commit dd13d34074
1087 changed files with 391897 additions and 0 deletions

35
src/core1/code_13680.c Normal file
View File

@@ -0,0 +1,35 @@
#include <ultra64.h>
#include "functions.h"
#include "variables.h"
u32 func_802510A0(BKSprite *this){
return this->unk8;
}
u32 func_802510A8(BKSprite *this){
return this->unkA;
}
u32 func_802510B0(BKSprite *this){
return this->unk6;
}
u32 func_802510B8(BKSprite *this){
return this->unk4;
}
s32 spriteGetFrameCount(BKSprite *this){
return this->frameCnt;
}
#pragma GLOBAL_ASM("asm/nonmatchings/core1/code_13680/spriteGetFramePtr.s")
// //NONMATCHING bad RegAlloc
/*BKSpriteFrame *spriteGetFramePtr(BKSprite *this, u32 frame){
u32 f_data;
u32 *f_array = this + 1;
f_data = (u32)(f_array + this->frameCnt) + f_array[frame];
return f_data;
}//*/