mirror of
https://github.com/zeldaret/oot.git
synced 2024-11-14 13:30:47 +00:00
76eb52ab52
- Matched all remaining functions in `__osMalloc.c`, 2 functions in `code_8007BF90.c`, 1 in `code_800A9F30.c`, 2 in `fault.c`, 1 in `fault_drawer.c`, 1 in `gfxprint.c`, 2 in `z_camera.c` - Improved most other remaining non matchings to ensure they are actually equivalent and to get them closer to matching - Added a `alloc.h` header file in the process of working on `fault.c` non matchings - Decompiled `padmgr.c` data/bss in order to improve padmgr non matchings - Removed unused `z_en_wallmas.c` data files - Moved functions confirmed to be in `z_cheap_proc.c` to their own file with that name
30 lines
1.1 KiB
C
30 lines
1.1 KiB
C
#include <ultra64.h>
|
|
#include <global.h>
|
|
|
|
void Draw_DListOpa(GlobalContext* globalCtx, u32 dlist)
|
|
{
|
|
GraphicsContext* gfxCtx = globalCtx->state.gfxCtx;
|
|
Gfx* gfxArr[4];
|
|
|
|
func_800C6AC4(gfxArr, globalCtx->state.gfxCtx, "../z_cheap_proc.c", 214);
|
|
|
|
func_80093D18(globalCtx->state.gfxCtx);
|
|
gSPMatrix(gfxCtx->polyOpa.p++, Matrix_NewMtx(globalCtx->state.gfxCtx, "../z_cheap_proc.c", 216), G_MTX_MODELVIEW | G_MTX_LOAD);
|
|
gSPDisplayList(gfxCtx->polyOpa.p++, dlist);
|
|
|
|
func_800C6B54(gfxArr, globalCtx->state.gfxCtx, "../z_cheap_proc.c", 219);
|
|
}
|
|
|
|
void Draw_DListXlu(GlobalContext* globalCtx, u32 dlist)
|
|
{
|
|
GraphicsContext* gfxCtx = globalCtx->state.gfxCtx;
|
|
Gfx* gfxArr[4];
|
|
|
|
func_800C6AC4(gfxArr, globalCtx->state.gfxCtx, "../z_cheap_proc.c", 228);
|
|
|
|
func_80093D84(globalCtx->state.gfxCtx);
|
|
gSPMatrix(gfxCtx->polyXlu.p++, Matrix_NewMtx(globalCtx->state.gfxCtx, "../z_cheap_proc.c", 230), G_MTX_MODELVIEW | G_MTX_LOAD);
|
|
gSPDisplayList(gfxCtx->polyXlu.p++, dlist);
|
|
|
|
func_800C6B54(gfxArr, globalCtx->state.gfxCtx, "../z_cheap_proc.c", 233);
|
|
}
|