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

@ -202,7 +202,8 @@ INCLUDE_ASM("code_b72b0_len_15ed0", make_item_entity);
INCLUDE_ASM("code_b72b0_len_15ed0", make_item_entity_nodelay); 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, 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); s32 unk3);
INCLUDE_ASM("code_b72b0_len_15ed0", init_got_item); 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); 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("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); INCLUDE_ASM("code_e0b30_len_b80", func_8014A964);

View File

@ -1,6 +1,7 @@
#include "common.h" #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, 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 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 zl1, float xl2, float yl2, float zl2, int twidth, int theight);

View File

@ -3,5 +3,6 @@
INCLUDE_ASM_T(void, "os/code_3ef90_len_600", guPerspectiveF, float mf[4][4], u16* perspNorm, float fovy, float aspect, 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, INCLUDE_ASM_T(void, "os/code_3ef90_len_600", guPerspective, Mtx* m, u16* perspNorm, float fovy, float aspect,
float near,
float far, float scale); float far, float scale);

View File

@ -1,3 +1,4 @@
#include "common.h" #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,3 +1,4 @@
#include "common.h" #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 "common.h"
INCLUDE_ASM_T(void, "os/osCreateThread", osCreateThread, OSThread* thread, OSId id, void (*entrypoint)(void*), void* unk1, INCLUDE_ASM_T(void, "os/osCreateThread", osCreateThread, OSThread* thread, OSId id, void (*entrypoint)(void*),
void* unk1,
void* unk2, OSPri pri); void* unk2, OSPri pri);