misc documentation
This commit is contained in:
@@ -61,7 +61,7 @@ void func_803864D4(Actor *this){
|
||||
func_80388B4C(&sp4C);
|
||||
TUPLE_ASSIGN(sp40, 2640.0f, 5695.0f, -10.0f);
|
||||
local->unk8 += sp3C;
|
||||
if(func_8025773C(&local->unk4, sp3C)){
|
||||
if(ml_timer_update(&local->unk4, sp3C)){
|
||||
sp30[0] = sp4C[0] - sp40[0];
|
||||
sp30[1] = 0.0f;
|
||||
sp30[2] = sp4C[2] - sp40[2];
|
||||
@@ -76,7 +76,7 @@ void func_803864D4(Actor *this){
|
||||
}
|
||||
}//L80386634
|
||||
|
||||
if(func_8025773C(&local->unk0, sp3C)){
|
||||
if(ml_timer_update(&local->unk0, sp3C)){
|
||||
CC_func_803863F0(this, 4);
|
||||
}
|
||||
|
||||
|
@@ -83,7 +83,7 @@ void func_8038817C(void){
|
||||
if(D_80389F90.unk0 != 0){
|
||||
D_80389F90.unk4 += sp20;
|
||||
player_getPosition(sp24);
|
||||
if(func_8025773C(&D_80389F90.unk8, sp20)){
|
||||
if(ml_timer_update(&D_80389F90.unk8, sp20)){
|
||||
func_8025A6EC(COMUSIC_2D_PUZZLE_SOLVED_FANFARE, 28000);
|
||||
func_80324E38(0.0f, 3);
|
||||
timed_setCameraToNode(2.0f, 0);
|
||||
|
@@ -23,7 +23,7 @@ extern void ml_vec3f_normalize(f32[3]);
|
||||
extern void func_8033A45C(s32, s32);
|
||||
extern void func_8033A238(s32);
|
||||
extern void func_8028FAB0(f32[3]);
|
||||
extern void playerModel_802921D4(f32[3]);
|
||||
extern void baModel_802921D4(f32[3]);
|
||||
|
||||
/* .data */
|
||||
f32 D_80389C00[3] = {5700.0f, 4300.0f, 0.0f};
|
||||
@@ -208,7 +208,7 @@ void CC_func_80388760(Gfx **gfx, Mtx **mtx, Vtx **vtx){
|
||||
modelRender_draw(gfx, mtx, D_80389FA0.unk28, NULL, 1.0f, NULL, D_80389FA0.unk24);
|
||||
if(func_80340020(D_80389FA0.unk18, D_80389FA0.unk28, 0, 1.0f, 0, D_80389FA0.unk40, spA4, spA4)){
|
||||
func_8028FAB0(spA4);
|
||||
playerModel_802921D4(spA4);
|
||||
baModel_802921D4(spA4);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -331,7 +331,7 @@ void CC_func_80388F4C(void){
|
||||
CC_func_80387D4C();
|
||||
if(D_80389FA0.unk21 != 0 && func_80334904() == 2){
|
||||
player_getPosition(sp6C);
|
||||
D_80389FA0.unk20 = (ml_vec3f_distance(sp6C, D_80389FA0.unkC) < 200.0f);
|
||||
D_80389FA0.unk20 = (ml_distance_vec3f(sp6C, D_80389FA0.unkC) < 200.0f);
|
||||
|
||||
D_80389FA0.unk38 += sp68;
|
||||
sp64 = func_80335684(D_80389FA0.unk0);
|
||||
@@ -381,7 +381,7 @@ void CC_func_80388F4C(void){
|
||||
|
||||
if(D_80389FA0.unk21 == 3){
|
||||
func_8034A174(D_80389FA0.unk34, 6, sp48);
|
||||
if(ml_vec3f_distance(sp48, sp6C) <= 130.0f && sp6C[1] - sp48[1] < 50.0f){
|
||||
if(ml_distance_vec3f(sp48, sp6C) <= 130.0f && sp6C[1] - sp48[1] < 50.0f){
|
||||
func_8031D04C(0x21, 1);
|
||||
}
|
||||
}//L80389260
|
||||
@@ -400,7 +400,7 @@ void CC_func_80388F4C(void){
|
||||
}
|
||||
}
|
||||
}//L803892DC
|
||||
if(func_8025773C(&D_80389FA0.unk3C, sp68)){
|
||||
if(ml_timer_update(&D_80389FA0.unk3C, sp68)){
|
||||
if(D_80389FA0.unk21 == 3){
|
||||
func_8030E9FC(SFX_D0_GRIMLET_SQUEAK, 0.5f, 0.7f, 20000, D_80389C24, 2000.0f, 4000.0f);
|
||||
}else{
|
||||
@@ -409,7 +409,7 @@ void CC_func_80388F4C(void){
|
||||
D_80389FA0.unk3C = randf2(3.0f, 6.0f);
|
||||
}//L803893A0
|
||||
if(D_80389FA0.unk50 == 0){
|
||||
if(func_8025773C(&D_80389FA0.unk54, sp68))
|
||||
if(ml_timer_update(&D_80389FA0.unk54, sp68))
|
||||
D_80389FA0.unk50 = 1;
|
||||
}
|
||||
|
||||
|
@@ -138,7 +138,7 @@ void func_803870F8(Actor *this){
|
||||
sp3C[0] = this->position_x;
|
||||
sp3C[1] = this->position_y + 100;
|
||||
sp3C[2] = this->position_z;
|
||||
if(ml_vec3f_distance(&sp3C, &sp70) < 120.0f){
|
||||
if(ml_distance_vec3f(&sp3C, &sp70) < 120.0f){
|
||||
func_8031D04C(0x22, (local->unk0 == 1)? 7 : 6);
|
||||
}
|
||||
}//L80387500
|
||||
|
Reference in New Issue
Block a user