documentation. Include nonmatched functions in README

This commit is contained in:
Banjo Kazooie
2024-06-29 14:38:03 -05:00
parent a3648a5084
commit 955312954f
79 changed files with 784 additions and 612 deletions

View File

@@ -31,7 +31,7 @@ void __chAnchorCtrl_spawnJiggy(ActorMarker *marker, s32 arg1, s32 arg2){
static f32 D_80390B34[3] = {-5100.0f, -2550.0f, 1470.0f};
Actor *actor = marker_getActor(marker);
jiggySpawn(JIGGY_53_RBB_SNORKEL, &D_80390B34);
jiggy_spawn(JIGGY_53_RBB_SNORKEL, &D_80390B34);
timed_setStaticCameraToNode(0.5f, 0xb);
__chAnchorCtrl_setState(actor, 3);
}

View File

@@ -198,7 +198,7 @@ void chbossboombox_respawnJiggy(s32 position_x, s32 position_y, s32 position_z){
D_80391288[0] = (f32)position_x;
D_80391288[1] = (f32)(position_y + 0x28);
D_80391288[2] = (f32)position_z;
jiggySpawn(JIGGY_56_RBB_BOSS_BOOM_BOX, &D_80391288);
jiggy_spawn(JIGGY_56_RBB_BOSS_BOOM_BOX, &D_80391288);
}
void func_8038CA70(Actor *this, f32(*arg1)[3]){

View File

@@ -4,7 +4,7 @@
/* typedefs and declarations */
typedef struct {
u8 unk0;
u8 sfxsource_index;
}ActorLocal_RBB_27E0;
void func_80388C20(Actor *this);
@@ -38,7 +38,7 @@ void func_80388BD0(Actor *this, s32 arg1){
void func_80388BE8(Actor *actor){
ActorLocal_RBB_27E0 *local = (ActorLocal_RBB_27E0 *)&actor->local;
if(actor->modelCacheIndex == 0x17b){
func_8030DA44(local->unk0);
func_8030DA44(local->sfxsource_index);
}
}
@@ -51,14 +51,14 @@ void func_80388C20(Actor *this){
this->marker->unk30 = func_80388BE8;
this->unk16C_4 = 1;
if(this->modelCacheIndex == 0x17B){
local->unk0 = func_8030D90C();
func_8030DEB4(local->unk0, 1000.0f, 2000.0f);
func_8030DF68(local->unk0, &this->position);
func_8030DBB4(local->unk0, 0.5f);
sfxsource_setSfxId(local->unk0, SFX_9F_GENERATOR_RUNNING);
func_8030DD14(local->unk0, 3);
sfxsource_setSampleRate(local->unk0, 0);
func_8030E2C4(local->unk0);
local->sfxsource_index = func_8030D90C();
sfxsource_set_fade_distances(local->sfxsource_index, 1000.0f, 2000.0f);
sfxsource_set_position(local->sfxsource_index, &this->position);
func_8030DBB4(local->sfxsource_index, 0.5f);
sfxsource_setSfxId(local->sfxsource_index, SFX_9F_GENERATOR_RUNNING);
func_8030DD14(local->sfxsource_index, 3);
sfxsource_setSampleRate(local->sfxsource_index, 0);
func_8030E2C4(local->sfxsource_index);
}//L80388CFC
if(this->state == 0){
if(this->modelCacheIndex == 0x17B){
@@ -78,7 +78,7 @@ void func_80388C20(Actor *this){
if(360.0f <= this->roll)
this->roll -= 360.0f;
if(this->modelCacheIndex == 0x17B){
func_8030DB04(local->unk0, 0x61a8, &this->position, 1000.0f, 2000.0f);
func_8030DB04(local->sfxsource_index, 25000, &this->position, 1000.0f, 2000.0f);
}
}
}

View File

@@ -28,7 +28,7 @@ void __chWhistleCtrl_setState(Actor *actor, s32 arg1){
void __chWhistleCtrl_soundWhistle(void){
func_802C8F70(225.0f);
jiggySpawn(JIGGY_54_RBB_WHISTLE, D_80390A74);
jiggy_spawn(JIGGY_54_RBB_WHISTLE, D_80390A74);
}
void __chWhistleCtrl_correct(void){