mirror of
https://gitlab.com/ryandwyer/perfect-dark
synced 2026-08-16 04:44:08 -04:00
Decompile viGetViewX, viGetViewY, viGetViewTop and viGetViewLeft
This commit is contained in:
@@ -74,9 +74,9 @@ extern u32 var8005d3b8;
|
||||
extern u32 var8005d4c0;
|
||||
extern u32 var8005d4e8;
|
||||
extern u32 var8005d520;
|
||||
extern u32 var8005d530;
|
||||
extern struct rend_vidat var8005d530;
|
||||
extern u32 var8005d588;
|
||||
extern u32 var8005d594;
|
||||
extern struct rend_vidat *g_ViData;
|
||||
extern u32 var8005d59c;
|
||||
extern u32 var8005d5b4;
|
||||
extern u32 var8005d5b8;
|
||||
|
||||
@@ -42,11 +42,11 @@ void func0000bbe4(s16 arg0, s16 arg1);
|
||||
s16 func0000bc08(void);
|
||||
s16 func0000bc18(void);
|
||||
void func0000bc28(s16 arg0, s16 arg1);
|
||||
s16 viGetWidth(void);
|
||||
s16 viGetHeight(void);
|
||||
s16 viGetViewX(void);
|
||||
s16 viGetViewY(void);
|
||||
void func0000bca8(s16 arg0, s16 arg1);
|
||||
s16 viGetLeft(void);
|
||||
s16 viGetTop(void);
|
||||
s16 viGetViewLeft(void);
|
||||
s16 viGetViewTop(void);
|
||||
void func0000bd20(bool arg0);
|
||||
void func0000bd30(f32 fovy);
|
||||
void func0000bd7c(f32 arg0);
|
||||
|
||||
@@ -5968,4 +5968,22 @@ struct objticksp476 {
|
||||
/*0x3c*/ u32 unk3c;
|
||||
};
|
||||
|
||||
struct rend_vidat {
|
||||
/*0x00*/ void *unk00;
|
||||
/*0x04*/ u16 x;
|
||||
/*0x06*/ u16 y;
|
||||
/*0x08*/ f32 fovy;
|
||||
/*0x0c*/ f32 aspect;
|
||||
/*0x10*/ f32 znear;
|
||||
/*0x14*/ f32 zfar;
|
||||
/*0x18*/ u16 bufx;
|
||||
/*0x1a*/ u16 bufy;
|
||||
/*0x1c*/ s16 viewx;
|
||||
/*0x1e*/ s16 viewy;
|
||||
/*0x20*/ s16 viewleft;
|
||||
/*0x22*/ s16 viewtop;
|
||||
/*0x24*/ bool usezbuf;
|
||||
/*0x28*/ u32 unk28;
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user