core2/code_78E50.c done, misc documentation

This commit is contained in:
Banjo Kazooie
2022-12-05 13:37:58 -06:00
parent 1c063c781c
commit 612636992f
94 changed files with 899 additions and 970 deletions

View File

@@ -385,8 +385,8 @@ void func_803895E0(void){
for (i = 0; i< 7; i++){
s0 = (i < 3)
? func_803049CC(D_80391DB8[i].unk0, D_80391DA0)
: func_803049CC(D_80391DB8[i].unk0, D_80391DAC);
? cubeList_findNodePropByActorId(D_80391DB8[i].unk0, D_80391DA0)
: cubeList_findNodePropByActorId(D_80391DB8[i].unk0, D_80391DAC);
nodeprop_getPosition(s0, sp64);
f20 = (f32)func_80304DA8(s0);

View File

@@ -25,7 +25,7 @@ void func_8038A7F0(void){
}
D_80392F30.unk1C = 0;
if(func_80304E24(0x128, D_80392F30.spawn_pos)){
if(nodeProp_findPositionFromActorId(0x128, D_80392F30.spawn_pos)){
D_80392F30.unk1C = 1;
}
D_80392F30.unk0 = 1;

View File

@@ -26,7 +26,7 @@ void FP_func_8038A9C0(void){
}
D_80392F50.unk18 = 0;
if(func_80304E24(0x15E, D_80392F50.spawn_pos)){
if(nodeProp_findPositionFromActorId(0x15E, D_80392F50.spawn_pos)){
D_80392F50.unk18 = 1;
}
D_80392F50.unk0 = 1;

View File

@@ -307,7 +307,7 @@ void func_8038D6C8(Actor *this){
if(!this->unk16C_4){
this->unk16C_4 = TRUE;
func_803300D8(this->marker, func_8038D3B0);
marker_setFreeMethod(this->marker, func_8038D3B0);
marker_setCollisionScripts(this->marker, NULL, func_8038D5C8, NULL);
this->unk38_31 = 0;
this->unk1C[1] = 0.0f;

View File

@@ -197,10 +197,10 @@ void FP_func_8038F7AC(Actor *this){
func_8038F274();
}
else{//L8038F8A0
func_80304E24(0x359, local->unk24);
func_80304E24(0x35A, local->unk0);
func_80304E24(0x35B, local->unkC);
func_80304E24(0x35C, local->unk18);
nodeProp_findPositionFromActorId(0x359, local->unk24);
nodeProp_findPositionFromActorId(0x35A, local->unk0);
nodeProp_findPositionFromActorId(0x35B, local->unkC);
nodeProp_findPositionFromActorId(0x35C, local->unk18);
this->position[0] = local->unkC[0];\
this->position[1] = local->unkC[1];\
this->position[2] = local->unkC[2];

View File

@@ -91,7 +91,7 @@ void chXmasTree_update(Actor *this){
this->unk16C_4 = TRUE;
this->marker->propPtr->unk8_3 = TRUE;
this->marker->collidable = FALSE;
func_803300D8(this->marker, func_80386EAC);
marker_setFreeMethod(this->marker, func_80386EAC);
if(this->unk44_31 == 0){
this->unk44_31 = func_8030D90C();
sfxsource_setSfxId(this->unk44_31, SFX_415_UNKNOWN);