Files
af/include/m_view.h
T
Anghelo Carvajal c65a8dbc39 Game renaming (#63)
* rename GameState to Game

* Rename the structs

* fix table

* whoops

* rename play parameter

* format

* undo what i messed in z64compress
2023-08-17 09:19:13 -07:00

51 lines
1.3 KiB
C

#ifndef M_VIEW_H
#define M_VIEW_H
#include "ultra64.h"
struct Game_Play;
struct GraphicsContext;
typedef struct Game_Play1938 {
/* 0x000 */ char unk000[0x28];
/* 0x028 */ Vec3f unk_028;
/* 0x034 */ char unk034[0x2C];
/* 0x060 */ Mtx unk_060;
/* 0x0A0 */ Mtx unk_0A0;
/* 0x0E0 */ char unk0E0[0x40];
/* 0x120 */ s32 unk_120;
/* 0x124 */ char unk124[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