misc documentation
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
#include "functions.h"
|
||||
#include "variables.h"
|
||||
|
||||
extern f32 ml_vec3f_distance_squared(f32[3], f32[3]);
|
||||
extern f32 ml_distanceSquared_vec3f(f32[3], f32[3]);
|
||||
extern void func_8028F3D8(f32[3], f32, void(*)(ActorMarker *), ActorMarker *);
|
||||
extern void func_80324CFC(f32, enum comusic_e, s32);
|
||||
extern void func_8034A8BC(s32);
|
||||
@@ -203,7 +203,7 @@ void func_8038EFD8(Actor *this) {
|
||||
sp24[1] = this->position[1];
|
||||
sp24[2] = this->position[2];
|
||||
sp24[1] += 50.0f;
|
||||
func_8028F3D8(sp24, ml_vec3f_distance(sp30, sp24) / 150.0, func_8038EF58, this->marker);
|
||||
func_8028F3D8(sp24, ml_distance_vec3f(sp30, sp24) / 150.0, func_8038EF58, this->marker);
|
||||
}
|
||||
|
||||
void func_8038F078(ActorMarker *marker, enum asset_e text_id, s32 arg2){
|
||||
@@ -457,13 +457,13 @@ void lair_func_8038F924(Actor *this) {
|
||||
if (this->marker->unk14_21) {
|
||||
s32 sp58[3] = D_80394824;
|
||||
ParticleEmitter *sp54;
|
||||
sp54 = partEmitList_pushNew(6);
|
||||
sp54 = partEmitMgr_newEmitter(6);
|
||||
particleEmitter_setSprite(sp54, ASSET_710_SPRITE_SPARKLE_PURPLE);
|
||||
func_802EF9E4(sp54, 0xFF);
|
||||
particleEmitter_setAlpha(sp54, 0xFF);
|
||||
func_802EFB98(sp54, &D_80394830);
|
||||
particleEmitter_setPosition(sp54, this->position);
|
||||
sp58[2] = randf() * 255.0f;
|
||||
func_802EFFA8(sp54, sp58);
|
||||
particleEmitter_setRGB(sp54, sp58);
|
||||
particleEmitter_setParticleSpawnPositionRange(sp54, -30.0f, -40.0f, -30.0f, 30.0f, 20.0f, 30.0f);
|
||||
particleEmitter_emitN(sp54, 6);
|
||||
}
|
||||
@@ -535,7 +535,7 @@ void lair_func_8038F924(Actor *this) {
|
||||
s32 pad2;
|
||||
this->marker->unk3E_1 = FALSE;
|
||||
player_getPosition(sp44);
|
||||
if (ml_vec3f_distance_squared(sp44, this->position) < 250000.0f) {
|
||||
if (ml_distanceSquared_vec3f(sp44, this->position) < 250000.0f) {
|
||||
if (!this->unk38_0) {
|
||||
func_802FA5D0();
|
||||
this->unk38_0 = TRUE;
|
||||
|
Reference in New Issue
Block a user