mirror of
https://github.com/zeldaret/oot.git
synced 2025-10-20 13:40:02 +00:00
commit
c0965dcbe6
16 changed files with 314 additions and 597 deletions
|
@ -759,7 +759,7 @@ void func_80062D60(GlobalContext*, Vec3f*);
|
|||
s32 func_80062ECC(f32, f32, f32, Vec3f*, Vec3f*, Vec3f*, Vec3f*, Vec3f*);
|
||||
void SaveContext_Init(void);
|
||||
// ? func_800636C0(?);
|
||||
void func_8006375C(UNK_TYPE, UNK_TYPE, UNK_TYPE);
|
||||
void func_8006375C(s32 arg0, s32 arg1, float* d_80855320);
|
||||
// ? func_8006376C(?);
|
||||
// ? func_80063828(?);
|
||||
// ? func_8006390C(?);
|
||||
|
@ -1474,7 +1474,7 @@ void* Graph_Alloc(GraphicsContext* gfxCtx, size_t size);
|
|||
void func_800C6AC4(Gfx** a0, GraphicsContext* gfxCtx, char* file, s32 line);
|
||||
void func_800C6B54(Gfx** a0, GraphicsContext* gfxCtx, char* file, s32 line);
|
||||
Gfx* func_800C6C20(Gfx* a0);
|
||||
// ? func_800C6C28(?);
|
||||
Gfx* func_800C6C28(Gfx* a0, Gfx* dlist); //branch dlist
|
||||
// ? func_800C6C3C(?);
|
||||
ListAlloc* ListAlloc_Init(ListAlloc* this);
|
||||
void* ListAlloc_Alloc(ListAlloc* this, u32 size);
|
||||
|
|
|
@ -1,7 +1,12 @@
|
|||
#ifndef _REGS_H_
|
||||
#define _REGS_H_
|
||||
|
||||
#define BASE_REG(n, r) gGameInfo->data[n * 96 + r]
|
||||
#define REG_GROUPS 29 //number of REG groups, i.e. REG, SREG, OREG, etc.
|
||||
#define REG_PAGES 6
|
||||
#define REG_PER_PAGE 16
|
||||
#define REG_PER_GROUP REG_PAGES * REG_PER_PAGE
|
||||
|
||||
#define BASE_REG(n, r) gGameInfo->data[n * REG_PER_GROUP + r]
|
||||
|
||||
#define REG(r) BASE_REG(0, r)
|
||||
#define SREG(r) BASE_REG(1, r)
|
||||
|
|
|
@ -259,8 +259,8 @@ extern s32 D_8011D3AC;
|
|||
//extern ? D_8011E096;
|
||||
//extern ? D_8011E098;
|
||||
//extern ? D_8011E09A;
|
||||
//extern ? D_8011E0B0;
|
||||
//extern ? D_8011E0B4;
|
||||
extern s16 D_8011E0B0;
|
||||
extern Color_RGBA8 D_8011E0B4[];
|
||||
//extern ? D_8011E0D4;
|
||||
//extern ? D_8011F3A0;
|
||||
//extern ? D_8011F3D4;
|
||||
|
@ -1355,11 +1355,6 @@ extern f32 D_80136D44;
|
|||
//extern ? D_8013AC7C;
|
||||
//extern ? D_8013ACA0;
|
||||
//extern ? D_8013ACB8;
|
||||
//extern ? D_8013AD40;
|
||||
//extern ? D_8013AD50;
|
||||
//extern ? D_8013AD54;
|
||||
//extern ? D_8013AD60;
|
||||
//extern ? D_8013AD70;
|
||||
//extern ? D_8013B830;
|
||||
//extern ? D_8013B844;
|
||||
//extern ? D_8013B858;
|
||||
|
|
|
@ -33,8 +33,12 @@
|
|||
// Data normally accessed through REG macros (see regs.h)
|
||||
typedef struct
|
||||
{
|
||||
/* 0x00 */ char unk_00[0x14];
|
||||
/* 0x14 */ s16 data[0xAE0];
|
||||
/* 0x00 */ s32 regPage; //1 is first page
|
||||
/* 0x04 */ s32 regGroup; //"register" group (R, RS, RO, RP etc.)
|
||||
/* 0x08 */ s32 regCur; //selected register within page
|
||||
/* 0x0C */ s32 dpadLast;
|
||||
/* 0x10 */ s32 repeat;
|
||||
/* 0x14 */ s16 data[REG_GROUPS * REG_PER_GROUP]; //0xAE0
|
||||
} GameInfo; // size = 0x15D4
|
||||
|
||||
typedef struct
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue