more viewport function documentation and cleaning up prototypes
This commit is contained in:
@@ -25,7 +25,6 @@ typedef struct struct_1A_s{
|
||||
extern void func_802C5994(void);
|
||||
extern void func_802E412C(s32, s32);
|
||||
void volatileFlag_set(s32, s32);
|
||||
f32 func_8024DE1C(f32, f32, f32 *, f32 *);
|
||||
void mlMtxApply(Mtx*);
|
||||
void func_80310D2C(void);
|
||||
|
||||
@@ -1210,7 +1209,7 @@ void __gcpausemenu_drawSprite(Gfx** gdl, Mtx** mptr, Vtx** vptr, BKSprite* sprit
|
||||
func_8033837C(0);
|
||||
viewport_getPosition_vec3f(sp50);
|
||||
|
||||
sp34 = func_8024DE1C(x, y, sp5C, sp44);
|
||||
sp34 = viewport_func_8024DE1C(x, y, sp5C, sp44);
|
||||
mlMtxIdent(); //matrix_stack_identity
|
||||
sp38[0] = sp5C[0] - sp50[0];
|
||||
sp38[1] = sp5C[1] - sp50[1];
|
||||
|
@@ -2,8 +2,6 @@
|
||||
#include "functions.h"
|
||||
#include "variables.h"
|
||||
|
||||
extern void viewport_setNearAndFar(f32, f32);
|
||||
|
||||
typedef struct {
|
||||
s16 model_id;
|
||||
// u8 pad2[0x2];
|
||||
|
@@ -7,7 +7,6 @@
|
||||
void animctrl_setAnimTimer(AnimCtrl*, f32);
|
||||
void func_8025AC20(s32, s32, s32, f32, char*, s32);
|
||||
f32 func_80257618(void);
|
||||
void viewport_setNearAndFar(f32, f32);
|
||||
|
||||
typedef enum {
|
||||
TRANSITION_ID_1_BLACK_IN = 1,
|
||||
|
@@ -3,7 +3,6 @@
|
||||
#include "variables.h"
|
||||
#include "zoombox.h"
|
||||
|
||||
extern f32 func_8024DE1C(f32, f32, f32[3], f32[3]);
|
||||
void func_80252330(f32, f32, f32);
|
||||
extern f32 func_8033DDB8(void);
|
||||
extern void func_8024E60C(s32, void *);
|
||||
@@ -823,7 +822,7 @@ void func_803163A8(GcZoombox *this, Gfx **gfx, Mtx **mtx) {
|
||||
f32 sp38[3];
|
||||
f32 sp34;
|
||||
|
||||
sp34 = func_8024DE1C(this->unk170, this->unk172, sp50, sp5C);
|
||||
sp34 = viewport_func_8024DE1C(this->unk170, this->unk172, sp50, sp5C);
|
||||
if (this->unk1A4_24) {
|
||||
sp5C[1] += 180.0f;
|
||||
sp5C[0] -= 2*sp5C[0];
|
||||
|
Reference in New Issue
Block a user