Match m428Dll main.c and map.c

This commit is contained in:
dbalatoni13 2025-01-18 19:12:43 +01:00
parent 6f7beb4b27
commit 025b900bdc
7 changed files with 2617 additions and 214 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

@ -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);