Minor clean ups and match m428Dll main.c and map.c (#536)

* Minor cleanups and fixes

* Match m428Dll main.c and map.c
This commit is contained in:
dbalatoni13 2025-01-18 19:15:38 +01:00 committed by GitHub
parent 77da4907df
commit 2a3c353029
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
12 changed files with 2650 additions and 254 deletions

31
include/REL/m428Dll.h Normal file
View file

@ -0,0 +1,31 @@
#ifndef M428DLL_H
#define M428DLL_H
#include "game/object.h"
u32 fn_1_26E0(void);
void fn_1_4170(s16 arg0, s32 arg1);
void fn_1_4324(s32 arg0, Vec *arg1, Vec *arg2, Vec *arg3);
void fn_1_43C8(Process *arg0);
void fn_1_4630(void);
u8 fn_1_9990(Vec *arg0);
void fn_1_9A30(u8 arg0, float arg8, Vec *arg1, Vec *arg2, float arg9);
void fn_1_9ADC(u8 arg0);
void fn_1_9DE8(u8 arg0, float arg8, s8 arg1);
void fn_1_9EA8(u8 arg0);
omObjData *fn_1_9F5C(Process *process);
void fn_1_A0B0(void);
s32 fn_1_F354(void);
s32 fn_1_F3BC(s32 arg0);
void fn_1_F414(s32 arg0);
void fn_1_F454(s32 arg0, s32 arg1);
void fn_1_F46C(s32 arg0, s32 arg1);
void fn_1_F4B4(s32 arg0, s32 arg1, float arg8);
s32 fn_1_F4E8(s32 arg0);
void fn_1_116C4(s32 arg0, s32 arg1);
void fn_1_11754(s32 arg0, float arg8);
void fn_1_11798(s32 arg0);
#endif

View file

@ -1,5 +1,5 @@
#ifndef M4303LL_H
#define M4303LL_H
#ifndef M430DLL_H
#define M430DLL_H
#include "game/object.h"

View file

@ -20,6 +20,8 @@ void GXLoadPosMtxImm(f32 mtx[3][4], u32 id);
void GXLoadNrmMtxImm(f32 mtx[3][4], u32 id);
void GXLoadTexMtxImm(f32 mtx[][4], u32 id, GXTexMtxType type);
#endif
void GXProject(f32 x, f32 y, f32 z, const f32 mtx[3][4], const f32 *pm, const f32 *vp, f32 *sx, f32 *sy, f32 *sz);
void GXGetViewportv(f32 *vp);
void GXSetViewport(f32 left, f32 top, f32 wd, f32 ht, f32 nearz, f32 farz);
void GXSetCurrentMtx(u32 id);
void GXSetViewportJitter(f32 left, f32 top, f32 wd, f32 ht, f32 nearz, f32 farz, u32 field);