more viewport function documentation and cleaning up prototypes

This commit is contained in:
mariob92
2024-09-10 01:40:54 +02:00
parent 4f843f3ecb
commit a0994765b1
32 changed files with 115 additions and 119 deletions

View File

@@ -3,9 +3,6 @@
#include "variables.h"
#include "core2/particle.h"
extern bool func_8024DB50(f32[3], f32);
void func_802DC208(Actor *this);
/* .data */
@@ -57,7 +54,7 @@ void func_802DC208(Actor *this) {
actor_collisionOff(this);
this->marker->propPtr->unk8_3 = TRUE;
}
if( func_8024DB50(this->position, 50.0f)
if( viewport_func_8024DB50(this->position, 50.0f)
&& func_802DC188()
&& !(globalTimer_getTime() & 0x1F)
&& randf() < 0.1