Some OOT transfers, some renaming, etc (#75)

* Progress on various files

* gfxprint stuff

* split some rodata, add iconv for rodata string parsing

* z_std_dma rodata

* 2 nonmatchings in gfxprint

* mtxuty-cvt ok

* more

* match a function in idle.c

* progress

* Cleanup

* Rename BgPolygon to CollisionPoly

* progress

* some effect stuff

* more effect progress

* updates

* made suggested changes

* z_effect_soft_sprite_old_init mostly ok

Co-authored-by: Lucas Shaw <lucas.shaw1123@gmail.com>
Co-authored-by: Rozelette <Rozelette@users.noreply.github.com>
This commit is contained in:
Lucas Shaw
2021-03-27 16:17:41 -05:00
committed by GitHub
co-authored by Lucas Shaw Rozelette
parent fee7a49abc
commit 623b6d5318
84 changed files with 4327 additions and 1207 deletions
+10 -27
View File
@@ -7,6 +7,9 @@ typedef s32 OSPri;
typedef s32 OSId;
#define OS_READ 0
#define OS_WRITE 1
typedef union {
/* 0x0 */ struct {
/* 0x0 */ f32 f_odd;
@@ -240,33 +243,6 @@ typedef struct {
/* 0x26 */ u8 errno;
} OSContRamIo;
typedef struct {
/* 0x0 */ int status;
/* 0x4 */ OSMesgQueue* queue;
/* 0x8 */ int channel;
/* 0xC */ u8 id[32];
/* 0x4C */ u8 label[32];
/* 0x6C */ int version;
/* 0x70 */ int dir_size;
/* 0x74 */ int inode_table;
/* 0x78 */ int minode_table;
/* 0x7C */ int dir_table;
/* 0x80 */ int inode_start_page;
/* 0x84 */ u8 banks;
/* 0x88 */ u8 activebank;
} OSPfs;
typedef struct {
/* 0x0 */ u32 file_size;
/* 0x4 */ u16 company_code;
/* 0x6 */ u16 game_code;
/* 0x8 */ unsigned char ext_name[4];
/* 0xC */ unsigned char game_name[16];
} OSPfsState;
typedef struct {
/* 0x0 */ u16* histo_base;
/* 0x4 */ u32 histo_size;
@@ -274,4 +250,11 @@ typedef struct {
/* 0xC */ u32* text_end;
} OSProf;
typedef struct {
/* 0x0 */ OSMesgQueue* mq;
/* 0x4 */ s32 port; /* Controller port */
/* 0x8 */ s32 mode;
/* 0xC */ u8 status;
} OSVoiceHandle; // size = 0x10
#endif