The first commit
This commit is contained in:
35
src/core1/code_13680.c
Normal file
35
src/core1/code_13680.c
Normal 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;
|
||||
}//*/
|
Reference in New Issue
Block a user