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

@@ -2,8 +2,6 @@
#include "functions.h"
#include "variables.h"
extern s32 func_8024DB50(f32[3], f32);
void func_80390EB0(Actor *this);
/* .data */
@@ -72,7 +70,7 @@ void func_80390EB0(Actor *this){
marker_setCollisionScripts(this->marker, func_80390E78, NULL, NULL);
}
if(func_8024DB50(this->position, 150.0f) || func_80329530(this, 1200))
if(viewport_func_8024DB50(this->position, 150.0f) || func_80329530(this, 1200))
{
if( !(globalTimer_getTime() & 3) && randf() < 0.2){
func_80390C70(this->position);