1
0
Fork 0
mirror of https://github.com/zeldaret/oot.git synced 2025-07-03 22:44:30 +00:00

Naming some functions in libultra_code, decompiling a decent amount. (#77)

* osgetactivequeue ok

* osspdevicebusy ok

* osGetCurrFaultedThread ok

* osSpRawStartDma OK

* __osSpSetPc and osViGetCurrentFramebuffer OK

* sinf, sins, and sptask OK

* coss OK

* cosf OK

* ran format.sh

* Updated PR to use ultratypes

* osContStartQuery OK

* ran format.sh

* Updated PR to fix issues

* Made suggested changes
This commit is contained in:
Lucas Shaw 2020-04-18 18:40:27 -07:00 committed by GitHub
parent 4961eb0a90
commit 21750d5aee
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
47 changed files with 709 additions and 747 deletions

View file

@ -345,13 +345,14 @@ typedef struct {
/* 0x000C */ s32 rightX; // lrx (lower right x)
} Viewport; // size = 0x10
typedef struct {
typedef struct {
/* 0x0000 */ s32 magic; // string literal "VIEW" / 0x56494557
/* 0x0004 */ GraphicsContext* gfxCtx;
/* 0x0008 */ Viewport viewport;
/* 0x0018 */ f32 fovy; // vertical field of view in degrees
/* 0x001C */ f32 near; // distance to near clipping plane
/* 0x0020 */ f32 far; // distance to far clipping plane
/* 0x001C */ f32 zNear; // distance to near clipping plane
/* 0x0020 */ f32 zFar; // distance to far clipping plane
/* 0x0024 */ f32 scale; // scale for matrix elements
/* 0x0028 */ Vec3f eye;
/* 0x0034 */ Vec3f unk_34;
@ -368,7 +369,7 @@ typedef struct {
/* 0x0110 */ Vec3f unk_110;
/* 0x011C */ u16 normal; // used to normalize the projection matrix
/* 0x0120 */ u32 flags;
/* 0x0124 */ s32 unk_124;
/* 0x0124 */ s32 unk_124;
} View; // size = 0x128
typedef struct {