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 int func_8024DB50(f32[3], f32);
void GV_func_8038A084(Actor *this);
/* .data */
@@ -54,7 +52,7 @@ void GV_func_8038A084(Actor *this){
}
if(this->unkF4_8 == 6
&& func_8024DB50(this->position, 50.0f)
&& viewport_func_8024DB50(this->position, 50.0f)
&& !this->unk38_31
&& randf() < 0.2
){