summaryrefslogtreecommitdiff
path: root/include/PreRender.h
diff options
context:
space:
mode:
authorAnghelo Carvajal <angheloalf95@gmail.com>2023-09-08 12:02:32 -0300
committerGitHub <noreply@github.com>2023-09-08 08:02:32 -0700
commit81b40ad296cc1f501bf8a33ecb38015a1d6148a8 (patch)
treee784e455d63c1a77b697278c5d4e52f311cb14ef /include/PreRender.h
parente8c701eeb4309235940ca685b00031140e22f79a (diff)
`submenu_ovl`, 3 NON_EQUIVALENTs and 2 NON_MATCHINGs (#88)
* C file * func_8085DA28_jp, func_8085DA9C_jp * func_8085D638_jp * func_8085D358_jp, func_8085D500_jp, func_8085D674_jp * bleh * func_8085BAC0_jp * func_8085D128_jp * Rename many functions * mSM_move_menu * a * func_8085D43C_jp * mSM_set_char_matrix * mSM_cbuf_copy draft * mSM_cbuf_copy NON_EQUIVALENT * func_8085C20C_jp draft * match func_8085C20C_jp * cleanup unc_8085C20C_jp * func_8085C7A4_jp ok, func_8085C7B8_jp NON_EQUIVALENT * mSM_draw_mail NON_MATCHING * func_8085D094_jp * mSM_set_other_seg mSM_set_before_menu_proc * meh * mSM_move_Move * migrate data * move submenu overlays to the submenu folder and make headers for them * name some files based on rodata strings * name functions from known submenu overlays * mSM_move_chg_base * mSM_menu_ovl_init NON_MATCHING * migrate bss * mSM_menu_ovl_init * SubmenuProgramId * mSM_save_before_func * mSM_return_func NON_EQUIVALENT * some cleanup * rename lots of data * kinda format * more cleanup * symbolize remaining stuff * format * Kinda fix whatever is going on with Game_Play_unk_0110 * mroecleanup * name known overlays * tag_program_dlftbl, hand_program_dlftbl, haniwa_program_dlftbl * format * flag defines
Diffstat (limited to 'include/PreRender.h')
-rw-r--r--include/PreRender.h13
1 files changed, 9 insertions, 4 deletions
diff --git a/include/PreRender.h b/include/PreRender.h
index a681087..48d9c39 100644
--- a/include/PreRender.h
+++ b/include/PreRender.h
@@ -2,18 +2,23 @@
#define PRE_RENDER_H
#include "ultra64.h"
+#include "unk.h"
typedef struct ListAlloc {
/* 0x0 */ struct ListAlloc* prev;
/* 0x4 */ struct ListAlloc* next;
} ListAlloc; // size = 0x8
-typedef struct {
- /* 0x00 */ char unk00[0x10];
+typedef struct PreRender {
+ /* 0x00 */ u16 unk_00;
+ /* 0x02 */ u16 unk_02;
+ /* 0x04 */ u16 unk_04;
+ /* 0x04 */ u16 unk_06;
+ /* 0x08 */ UNK_TYPE1 unk_08[0x8];
/* 0x10 */ UNK_PTR unk_10;
/* 0x14 */ UNK_PTR unk_14;
/* 0x18 */ UNK_PTR unk_18;
- /* 0x1C */ char unk1C[0x34];
+ /* 0x1C */ UNK_TYPE1 unk_1C[0x34];
} PreRender; // size = 0x50
// void wallpaper_draw1();
@@ -29,7 +34,7 @@ void PreRender_cleanup(PreRender* render);
// void PreRender_TransBuffer1();
// void PreRender_TransBuffer2();
// void PreRender_ShowCoveredge();
-// void PreRender_CopyRGBC();
+void PreRender_CopyRGBC(PreRender* render, Gfx** gfxP, s32 arg2, s32 arg3);
// void PreRender_saveZBuffer();
void PreRender_saveFrameBuffer(PreRender* render, Gfx** gfx);
void PreRender_saveCVG(PreRender* render, Gfx** gfx);