diff options
| author | Julgodis <> | 2021-04-01 02:07:58 +0200 |
|---|---|---|
| committer | Julgodis <> | 2021-04-01 02:07:58 +0200 |
| commit | f6464a61cecc9b65cf010d2fb7876c23251761f5 (patch) | |
| tree | f8dca6ee66125288bd3be0cc239cf07276469a02 /src/d/d_path.cpp | |
| parent | b999714187d934636004d3d93e1ed1da792d6f80 (diff) | |
__sinit and progress script update
Diffstat (limited to 'src/d/d_path.cpp')
| -rw-r--r-- | src/d/d_path.cpp | 171 |
1 files changed, 32 insertions, 139 deletions
diff --git a/src/d/d_path.cpp b/src/d/d_path.cpp index 18e525745f..c4b9e873fc 100644 --- a/src/d/d_path.cpp +++ b/src/d/d_path.cpp @@ -1,166 +1,78 @@ -// +// // Generated By: dol2asm // Translation Unit: d/d_path -// +// +#include "d/d_path.h" #include "dol2asm.h" #include "dolphin/types.h" -#include "d/d_path.h" -// +// // Types: -// +// struct dSv_info_c { - /* 80035360 */ // False False -// int False -// int False -void isSwitch(int, int) const; + /* 80035360 */ void isSwitch(int, int) const; }; struct dStage_roomControl_c { - /* 80024384 */ // False False -// int False -void getStatusRoomDt(int); + /* 80024384 */ void getStatusRoomDt(int); }; -struct dPath { -}; +struct dPath {}; -struct cBgS_PolyInfo { -}; +struct cBgS_PolyInfo {}; struct dBgS { - /* 80074FE0 */ // False False -// cBgS_PolyInfo const& False -// cBgS_PolyInfo const False -// cBgS_PolyInfo False -void GetRoomPathId(cBgS_PolyInfo const&); - /* 80075030 */ // False False -// cBgS_PolyInfo const& False -// cBgS_PolyInfo const False -// cBgS_PolyInfo False -void GetRoomPathPntNo(cBgS_PolyInfo const&); - /* 80075100 */ // False False -// cBgS_PolyInfo const& False -// cBgS_PolyInfo const False -// cBgS_PolyInfo False -void GetRoomId(cBgS_PolyInfo const&); + /* 80074FE0 */ void GetRoomPathId(cBgS_PolyInfo const&); + /* 80075030 */ void GetRoomPathPntNo(cBgS_PolyInfo const&); + /* 80075100 */ void GetRoomId(cBgS_PolyInfo const&); }; -struct cXyz { -}; +struct cXyz {}; -// +// // Forward References: -// +// -// False False -// dPath const* False -// dPath const False -// dPath False -// int False void dPath_GetPnt(dPath const*, int); -// False False -// int False -// int False void dPath_GetRoomPath(int, int); -// False False -// dPath const* False -// dPath const False -// dPath False -// int False void dPath_GetNextRoomPath(dPath const*, int); -// False False -// cBgS_PolyInfo const& False -// cBgS_PolyInfo const False -// cBgS_PolyInfo False -// cXyz* False -// cXyz False -// int* False -// int False void dPath_GetPolyRoomPathVec(cBgS_PolyInfo const&, cXyz*, int*); -// False False -// dPath const* False -// dPath const False -// dPath False -// int False extern "C" void dPath_GetPnt__FPC5dPathi(); -// False False -// int False -// int False extern "C" void dPath_GetRoomPath__Fii(); -// False False -// dPath const* False -// dPath const False -// dPath False -// int False extern "C" void dPath_GetNextRoomPath__FPC5dPathi(); -// False False -// cBgS_PolyInfo const& False -// cBgS_PolyInfo const False -// cBgS_PolyInfo False -// cXyz* False -// cXyz False -// int* False -// int False extern "C" void dPath_GetPolyRoomPathVec__FRC13cBgS_PolyInfoP4cXyzPi(); -// +// // External References: -// - +// -// False False -// int False extern "C" void getStatusRoomDt__20dStage_roomControl_cFi(); -// False False -// int False -// int False extern "C" void isSwitch__10dSv_info_cCFii(); -// False False -// cBgS_PolyInfo const& False -// cBgS_PolyInfo const False -// cBgS_PolyInfo False extern "C" void GetRoomPathId__4dBgSFRC13cBgS_PolyInfo(); -// False False -// cBgS_PolyInfo const& False -// cBgS_PolyInfo const False -// cBgS_PolyInfo False extern "C" void GetRoomPathPntNo__4dBgSFRC13cBgS_PolyInfo(); -// False False -// cBgS_PolyInfo const& False -// cBgS_PolyInfo const False -// cBgS_PolyInfo False extern "C" void GetRoomId__4dBgSFRC13cBgS_PolyInfo(); -// False False extern "C" void _savegpr_26(); -// False False extern "C" void _restgpr_26(); extern "C" extern u8 g_dComIfG_gameInfo[122384]; -// +// // Declarations: -// +// -/* 800517B0-800517EC 003C+00 s=0 e=7 z=63 None .text dPath_GetPnt__FPC5dPathi */ +/* 800517B0-800517EC 003C+00 s=0 e=7 z=63 None .text dPath_GetPnt__FPC5dPathi */ #pragma push #pragma optimization_level 0 #pragma optimizewithasm off -// False False -// dPath const* False -// dPath const False -// dPath False -// int False asm void dPath_GetPnt(dPath const* param_0, int param_1) { - nofralloc + nofralloc #include "asm/d/d_path/dPath_GetPnt__FPC5dPathi.s" } #pragma pop - -/* 800517EC-80051898 00AC+00 s=1 e=12 z=82 None .text dPath_GetRoomPath__Fii */ +/* 800517EC-80051898 00AC+00 s=1 e=12 z=82 None .text dPath_GetRoomPath__Fii */ // 80051808: 804061C0 (g_dComIfG_gameInfo) // 8005180C: 804061C0 (g_dComIfG_gameInfo) // 80051824: 804061C0 (g_dComIfG_gameInfo) @@ -169,17 +81,13 @@ asm void dPath_GetPnt(dPath const* param_0, int param_1) { #pragma push #pragma optimization_level 0 #pragma optimizewithasm off -// False False -// int False -// int False asm void dPath_GetRoomPath(int param_0, int param_1) { - nofralloc + nofralloc #include "asm/d/d_path/dPath_GetRoomPath__Fii.s" } #pragma pop - -/* 80051898-8005195C 00C4+00 s=0 e=1 z=3 None .text dPath_GetNextRoomPath__FPC5dPathi */ +/* 80051898-8005195C 00C4+00 s=0 e=1 z=3 None .text dPath_GetNextRoomPath__FPC5dPathi */ // 800518B4: 804061C0 (g_dComIfG_gameInfo) // 800518B8: 804061C0 (g_dComIfG_gameInfo) // 800518D0: 804061C0 (g_dComIfG_gameInfo) @@ -188,27 +96,22 @@ asm void dPath_GetRoomPath(int param_0, int param_1) { #pragma push #pragma optimization_level 0 #pragma optimizewithasm off -// False False -// dPath const* False -// dPath const False -// dPath False -// int False asm void dPath_GetNextRoomPath(dPath const* param_0, int param_1) { - nofralloc + nofralloc #include "asm/d/d_path/dPath_GetNextRoomPath__FPC5dPathi.s" } #pragma pop - /* ############################################################################################## */ -/* 80452000-80452008 0004+04 s=1 e=0 z=0 None .sdata2 @3685 */ +/* 80452000-80452008 0004+04 s=1 e=0 z=0 None .sdata2 @3685 */ SECTION_SDATA2 static f32 lit_3685[1 + 1 /* padding */] = { - 0.0f, - /* padding */ - 0.0f, + 0.0f, + /* padding */ + 0.0f, }; -/* 8005195C-80051AC0 0164+00 s=0 e=1 z=4 None .text dPath_GetPolyRoomPathVec__FRC13cBgS_PolyInfoP4cXyzPi */ +/* 8005195C-80051AC0 0164+00 s=0 e=1 z=4 None .text + * dPath_GetPolyRoomPathVec__FRC13cBgS_PolyInfoP4cXyzPi */ // 8005196C: 803621D0 (_savegpr_26) // 8005197C: 804061C0 (g_dComIfG_gameInfo) // 80051980: 804061C0 (g_dComIfG_gameInfo) @@ -224,18 +127,8 @@ SECTION_SDATA2 static f32 lit_3685[1 + 1 /* padding */] = { #pragma push #pragma optimization_level 0 #pragma optimizewithasm off -// False False -// cBgS_PolyInfo const& False -// cBgS_PolyInfo const False -// cBgS_PolyInfo False -// cXyz* False -// cXyz False -// int* False -// int False asm void dPath_GetPolyRoomPathVec(cBgS_PolyInfo const& param_0, cXyz* param_1, int* param_2) { - nofralloc + nofralloc #include "asm/d/d_path/dPath_GetPolyRoomPathVec__FRC13cBgS_PolyInfoP4cXyzPi.s" } #pragma pop - - |
