This commit is contained in:
Ethan Roseman 2020-09-23 23:54:33 -04:00
parent 8be527b2cf
commit 3691babd03
19 changed files with 41 additions and 33 deletions

View File

@ -142,7 +142,7 @@ INCLUDE_ASM("code_303c0_len_3e10", func_80056250);
INCLUDE_ASM("code_303c0_len_3e10", func_800565A4);
INCLUDE_ASM_T(Acmd*, "code_303c0_len_3e10", alAudioFrame, Acmd *cmdList, s32 *cmdLen, s16 *outBuf, s32 outLen);
INCLUDE_ASM_T(Acmd*, "code_303c0_len_3e10", alAudioFrame, Acmd* cmdList, s32* cmdLen, s16* outBuf, s32 outLen);
INCLUDE_ASM("code_303c0_len_3e10", func_80056D34);
@ -211,7 +211,7 @@ INCLUDE_ASM("code_303c0_len_3e10", func_80057ED0);
INCLUDE_ASM("code_303c0_len_3e10", func_80057F20);
#undef alHeapAlloc
INCLUDE_ASM_T(void, "code_303c0_len_3e10", alHeapAlloc, u8 *file, s32 line, ALHeap *hp, s32 num, s32 size);
INCLUDE_ASM_T(void, "code_303c0_len_3e10", alHeapAlloc, u8* file, s32 line, ALHeap* hp, s32 num, s32 size);
INCLUDE_ASM("code_303c0_len_3e10", func_80057FD8);

View File

@ -219,7 +219,7 @@ INCLUDE_ASM("code_a5dd0_len_114e0", get_model_list_index_from_tree_index);
INCLUDE_ASM("code_a5dd0_len_114e0", func_8011B090);
INCLUDE_ASM_T(void, "code_a5dd0_len_114e0", get_model_center_and_size, s32 modelID, f32* centerX, f32* centerY,
f32* centerZ, f32* sizeX, f32* sizeY, f32* sizeZ);
f32* centerZ, f32* sizeX, f32* sizeY, f32* sizeZ);
INCLUDE_ASM("code_a5dd0_len_114e0", func_8011B1C0);

View File

@ -202,8 +202,9 @@ INCLUDE_ASM("code_b72b0_len_15ed0", make_item_entity);
INCLUDE_ASM("code_b72b0_len_15ed0", make_item_entity_nodelay);
INCLUDE_ASM_T(void, "code_b72b0_len_15ed0", make_item_entity_delayed, s32 itemID, f32 x, f32 y, f32 z, s32 unk1, s32 unk2,
s32 unk3);
INCLUDE_ASM_T(void, "code_b72b0_len_15ed0", make_item_entity_delayed, s32 itemID, f32 x, f32 y, f32 z, s32 unk1,
s32 unk2,
s32 unk3);
INCLUDE_ASM("code_b72b0_len_15ed0", init_got_item);

View File

@ -62,7 +62,8 @@ void play_sound_at_npc(s32 soundID, s32 arg1, s32 npcID) {
}
}
INCLUDE_ASM_T(s32, "code_de740_len_23f0", play_sound_at_position, s32 soundID, s32 value2, f32 posX, f32 posY, f32 posZ);
INCLUDE_ASM_T(s32, "code_de740_len_23f0", play_sound_at_position, s32 soundID, s32 value2, f32 posX, f32 posY,
f32 posZ);
INCLUDE_ASM("code_de740_len_23f0", func_80149E04);

View File

@ -13,7 +13,8 @@ INCLUDE_ASM("code_e0b30_len_b80", func_8014A548);
INCLUDE_ASM("code_e0b30_len_b80", _set_music_track);
INCLUDE_ASM_T(s32, "code_e0b30_len_b80", set_music_track, s32 musicPlayer, s32 songID, s32 variation, s32 unk, s32 volume);
INCLUDE_ASM_T(s32, "code_e0b30_len_b80", set_music_track, s32 musicPlayer, s32 songID, s32 variation, s32 unk,
s32 volume);
INCLUDE_ASM("code_e0b30_len_b80", func_8014A964);

View File

@ -1,3 +1,3 @@
#include "common.h"
INCLUDE_ASM_T(OSPiHandle* , "os/code_3c310_len_180", osCartRomInit, void);
INCLUDE_ASM_T(OSPiHandle*, "os/code_3c310_len_180", osCartRomInit, void);

View File

@ -1,13 +1,13 @@
#include "common.h"
INCLUDE_ASM_T(void, "os/code_3d330_len_990", guFrustumF, float mf[4][4], float l, float r, float b, float t, float n,
float f, float scale);
float f, float scale);
INCLUDE_ASM_T(void, "os/code_3d330_len_990", guFrustum, Mtx* m, float l, float r, float b, float t, float n, float f,
float scale);
float scale);
INCLUDE_ASM_T(void, "os/code_3d330_len_990", guLookAtF, float mf[4][4], float xEye, float yEye, float zEye, float xAt,
float yAt, float zAt, float xUp, float yUp, float zUp);
float yAt, float zAt, float xUp, float yUp, float zUp);
INCLUDE_ASM_T(void, "os/code_3d330_len_990", guLookAt, Mtx* m, float xEye, float yEye, float zEye, float xAt, float yAt,
float zAt, float xUp, float yUp, float zUp);
float zAt, float xUp, float yUp, float zUp);

View File

@ -1,9 +1,10 @@
#include "common.h"
INCLUDE_ASM_T(void, "os/code_3dcc0_len_a60", guLookAtHiliteF, float mf[4][4], LookAt* l, Hilite* h, float xEye, float yEye,
float zEye, float xAt, float yAt, float zAt, float xUp, float yUp, float zUp, float xl1, float yl1,
float zl1, float xl2, float yl2, float zl2, int twidth, int theight);
INCLUDE_ASM_T(void, "os/code_3dcc0_len_a60", guLookAtHiliteF, float mf[4][4], LookAt* l, Hilite* h, float xEye,
float yEye,
float zEye, float xAt, float yAt, float zAt, float xUp, float yUp, float zUp, float xl1, float yl1,
float zl1, float xl2, float yl2, float zl2, int twidth, int theight);
INCLUDE_ASM_T(void, "os/code_3dcc0_len_a60", guLookAtHilite, Mtx* m, LookAt* l, Hilite* h, float xEye, float yEye,
float zEye, float xAt, float yAt, float zAt, float xUp, float yUp, float zUp, float xl1, float yl1,
float zl1, float xl2, float yl2, float zl2, int twidth, int theight);
float zEye, float xAt, float yAt, float zAt, float xUp, float yUp, float zUp, float xl1, float yl1,
float zl1, float xl2, float yl2, float zl2, int twidth, int theight);

View File

@ -1,7 +1,7 @@
#include "common.h"
INCLUDE_ASM_T(void, "os/code_3e720_len_5f0", guLookAtReflectF, float mf[4][4], LookAt* l, float xEye, float yEye,
float zEye, float xAt, float yAt, float zAt, float xUp, float yUp, float zUp);
float zEye, float xAt, float yAt, float zAt, float xUp, float yUp, float zUp);
INCLUDE_ASM_T(void, "os/code_3e720_len_5f0", guLookAtReflect, Mtx* m, LookAt* l, float xEye, float yEye, float zEye,
float xAt, float yAt, float zAt, float xUp, float yUp, float zUp);
float xAt, float yAt, float zAt, float xUp, float yUp, float zUp);

View File

@ -1,7 +1,8 @@
#include "common.h"
INCLUDE_ASM_T(void, "os/code_3ef90_len_600", guPerspectiveF, float mf[4][4], u16* perspNorm, float fovy, float aspect,
float near, float far, float scale);
float near, float far, float scale);
INCLUDE_ASM_T(void, "os/code_3ef90_len_600", guPerspective, Mtx* m, u16* perspNorm, float fovy, float aspect, float near,
float far, float scale);
INCLUDE_ASM_T(void, "os/code_3ef90_len_600", guPerspective, Mtx* m, u16* perspNorm, float fovy, float aspect,
float near,
float far, float scale);

View File

@ -1,7 +1,7 @@
#include "common.h"
INCLUDE_ASM_T(void, "os/code_3f310_len_3c0", guPositionF, float mf[4][4], float r, float p, float h, float s, float x,
float y, float z);
float y, float z);
INCLUDE_ASM_T(void, "os/code_3f310_len_3c0", guPosition, Mtx* m, float r, float p, float h, float s, float x, float y,
float z);
float z);

View File

@ -1,7 +1,7 @@
#include "common.h"
INCLUDE_ASM_T(int, "os/code_41750_len_450", osSetTimer, OSTimer* timer, OSTime start, OSTime end, OSMesgQueue* queue,
OSMesg mesg);
OSMesg mesg);
INCLUDE_API_ASM("os/code_41750_len_450", osTimerServicesInit);

View File

@ -1,4 +1,4 @@
#include "common.h"
INCLUDE_ASM_T(void, "os/code_41ba0_len_c0", osMapTLB, s32 unk, OSPageMask pageMask, void* buf, u32 unk1, u32 unk2,
s32 unk3);
s32 unk3);

View File

@ -1,3 +1,4 @@
#include "common.h"
INCLUDE_ASM_T(void, "os/code_42de0_len_90", guMtxXFML, Mtx* m, float x, float y, float z, float* ox, float* oy, float* oz);
INCLUDE_ASM_T(void, "os/code_42de0_len_90", guMtxXFML, Mtx* m, float x, float y, float z, float* ox, float* oy,
float* oz);

View File

@ -1,7 +1,7 @@
#include "common.h"
INCLUDE_ASM_T(void, "os/code_42e70_len_390", guMtxXFMF, float mf[4][4], float x, float y, float z, float* ox, float* oy,
float* oz);
float* oz);
INCLUDE_ASM_T(void, "os/code_42e70_len_390", guRotateF, float mf[4][4], float a, float x, float y, float z);

View File

@ -5,6 +5,6 @@ INCLUDE_API_ASM("os/code_43200_len_7c0", osMotorAccess);
INCLUDE_ASM_T(s32, "os/code_43200_len_7c0", osMotorInit, OSMesgQueue* queue, OSPfs* pfs, int unk);
INCLUDE_ASM_T(s32, "os/code_43200_len_7c0", osPfsAllocateFile, OSPfs* pfs, u16 unk1, u32 unk2, u8* unk3, u8* unk4,
int unk5, s32* unk6);
int unk5, s32* unk6);
INCLUDE_API_ASM("os/code_43200_len_7c0", osPfsDeclearPage);

View File

@ -1,6 +1,6 @@
#include "common.h"
INCLUDE_ASM_T(s32, "os/code_43be0_len_5e0", osPfsReadWriteFile, OSPfs* pfs, s32 unk1, u8 unk2, int unk3, int unk4,
u8* unk5);
u8* unk5);
INCLUDE_ASM_T(s32, "os/code_43be0_len_5e0", osPfsFileState, OSPfs* pfs, s32 unk, OSPfsState* state);

View File

@ -1,3 +1,4 @@
#include "common.h"
INCLUDE_ASM_T(s32, "os/code_441c0_len_1c0", osPfsFindFile, OSPfs* pfs, u16 unk1, u32 unk2, u8* unk3, u8* unk4, s32* unk5);
INCLUDE_ASM_T(s32, "os/code_441c0_len_1c0", osPfsFindFile, OSPfs* pfs, u16 unk1, u32 unk2, u8* unk3, u8* unk4,
s32* unk5);

View File

@ -1,4 +1,5 @@
#include "common.h"
INCLUDE_ASM_T(void, "os/osCreateThread", osCreateThread, OSThread* thread, OSId id, void (*entrypoint)(void*), void* unk1,
void* unk2, OSPri pri);
INCLUDE_ASM_T(void, "os/osCreateThread", osCreateThread, OSThread* thread, OSId id, void (*entrypoint)(void*),
void* unk1,
void* unk2, OSPri pri);