mirror of
https://github.com/zeldaret/af.git
synced 2026-09-29 07:00:42 -04:00
81b40ad296
* 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
59 lines
1.6 KiB
C
59 lines
1.6 KiB
C
#ifndef M_VIEW_H
|
|
#define M_VIEW_H
|
|
|
|
#include "ultra64.h"
|
|
#include "z64math.h"
|
|
#include "unk.h"
|
|
|
|
struct Game_Play;
|
|
struct GraphicsContext;
|
|
|
|
typedef struct Game_Play1938 {
|
|
/* 0x000 */ UNK_TYPE1 unk_000[0x8];
|
|
/* 0x008 */ s32 unk_008;
|
|
/* 0x00C */ s32 unk_00C;
|
|
/* 0x010 */ s32 unk_010;
|
|
/* 0x018 */ s32 unk_014;
|
|
/* 0x01C */ UNK_TYPE1 unk_018[0x10];
|
|
/* 0x028 */ Vec3f unk_028;
|
|
/* 0x034 */ UNK_TYPE1 unk_034[0x1C];
|
|
/* 0x050 */ Vp vp;
|
|
/* 0x060 */ Mtx unk_060;
|
|
/* 0x0A0 */ Mtx unk_0A0;
|
|
/* 0x0E0 */ UNK_TYPE1 unk_0E0[0x40];
|
|
/* 0x120 */ s32 unk_120;
|
|
/* 0x124 */ UNK_TYPE1 unk_124[0x4];
|
|
} Game_Play1938; // size = 0x128
|
|
|
|
typedef struct ScissorViewArg1 {
|
|
/* 0x00 */ s32 unk_00;
|
|
/* 0x04 */ s32 unk_04;
|
|
/* 0x08 */ s32 unk_08;
|
|
/* 0x0C */ s32 unk_0C;
|
|
} ScissorViewArg1; // size = 0x10
|
|
|
|
// void set_viewport();
|
|
void initView(Game_Play1938* arg0, struct GraphicsContext* gfxCtx);
|
|
// void setLookAtView();
|
|
// void getLookAtView();
|
|
// void setScaleView();
|
|
// void getScaleView();
|
|
// void setPerspectiveView();
|
|
// void getPerspectiveView();
|
|
void setScissorView(Game_Play1938* arg0, ScissorViewArg1* arg1);
|
|
// void getScissorView();
|
|
// void setScissorX();
|
|
// void setScissorOvl();
|
|
// void setScissor();
|
|
// void stretchViewInit();
|
|
// void do_stretch_view();
|
|
void showView(Game_Play1938* arg0, s32 arg1, struct Game_Play* game_play);
|
|
// void showPerspectiveView();
|
|
// void showOrthoView();
|
|
// void showOverLayView();
|
|
// void showPerspectiveOverLayView();
|
|
// void showOrthoView1();
|
|
void showView1(Game_Play1938* arg0, s32 arg1, Gfx** gfx);
|
|
|
|
#endif
|