mirror of
https://github.com/zeldaret/oot.git
synced 2025-08-10 17:00:19 +00:00
Document EnGoroiwa and BgJyaGoroiwa (#860)
* Document EnGoroiwa and BgJyaGoroiwa * Run format.sh * Add renamed functions to actorfixer script * no more calling out "the devs" for bad code * `EnGoroiwa#flags` -> `stateFlags` * `Matrix_MtxFToRotS` -> `Matrix_MtxFToYXZRotS` (and not ZXY oops), `func_800D2264` -> `Matrix_MtxFToZYXRotS`
This commit is contained in:
parent
18c84b0be7
commit
743f42f651
29 changed files with 425 additions and 394 deletions
|
@ -620,7 +620,7 @@ s32 func_80B5458C(GlobalContext* globalCtx, s32 limbIndex, Gfx** dList, Vec3f* p
|
|||
Matrix_Push();
|
||||
Matrix_Translate(362.0f, -133.0f, 0.0f, MTXMODE_APPLY);
|
||||
Matrix_Get(&sp38);
|
||||
func_800D20CC(&sp38, &sp30, 0);
|
||||
Matrix_MtxFToYXZRotS(&sp38, &sp30, 0);
|
||||
if (!FrameAdvance_IsEnabled(globalCtx)) {
|
||||
func_80B53980(this, sp30.y, 0);
|
||||
func_80B54360(this, sp30.x, 1);
|
||||
|
@ -630,7 +630,7 @@ s32 func_80B5458C(GlobalContext* globalCtx, s32 limbIndex, Gfx** dList, Vec3f* p
|
|||
Matrix_Translate(-188.0f, -184.0f, 0.0f, MTXMODE_APPLY);
|
||||
Matrix_ToMtx(&sp78[0], "../z_en_zl3.c", 1490);
|
||||
Matrix_Get(&sp38);
|
||||
func_800D20CC(&sp38, &sp30, 0);
|
||||
Matrix_MtxFToYXZRotS(&sp38, &sp30, 0);
|
||||
if (!FrameAdvance_IsEnabled(globalCtx)) {
|
||||
func_80B53980(this, sp30.y, 3);
|
||||
}
|
||||
|
@ -638,7 +638,7 @@ s32 func_80B5458C(GlobalContext* globalCtx, s32 limbIndex, Gfx** dList, Vec3f* p
|
|||
Matrix_Translate(-410.0f, -184.0f, 0.0f, MTXMODE_APPLY);
|
||||
Matrix_ToMtx(&sp78[1], "../z_en_zl3.c", 1534);
|
||||
Matrix_Get(&sp38);
|
||||
func_800D20CC(&sp38, &sp30, 0);
|
||||
Matrix_MtxFToYXZRotS(&sp38, &sp30, 0);
|
||||
if (!FrameAdvance_IsEnabled(globalCtx)) {
|
||||
func_80B54360(this, sp30.x, 7);
|
||||
}
|
||||
|
@ -649,7 +649,7 @@ s32 func_80B5458C(GlobalContext* globalCtx, s32 limbIndex, Gfx** dList, Vec3f* p
|
|||
Matrix_Push();
|
||||
Matrix_Translate(467.0f, 265.0f, 389.0f, MTXMODE_APPLY);
|
||||
Matrix_Get(&sp38);
|
||||
func_800D20CC(&sp38, &sp30, 0);
|
||||
Matrix_MtxFToYXZRotS(&sp38, &sp30, 0);
|
||||
if (!FrameAdvance_IsEnabled(globalCtx)) {
|
||||
func_80B53980(this, sp30.y, 9);
|
||||
func_80B54360(this, sp30.x, 10);
|
||||
|
@ -659,7 +659,7 @@ s32 func_80B5458C(GlobalContext* globalCtx, s32 limbIndex, Gfx** dList, Vec3f* p
|
|||
Matrix_Translate(-427.0f, -1.0f, -3.0f, MTXMODE_APPLY);
|
||||
Matrix_ToMtx(&sp78[3], "../z_en_zl3.c", 1579);
|
||||
Matrix_Get(&sp38);
|
||||
func_800D20CC(&sp38, &sp30, 0);
|
||||
Matrix_MtxFToYXZRotS(&sp38, &sp30, 0);
|
||||
if (!FrameAdvance_IsEnabled(globalCtx)) {
|
||||
func_80B53980(this, sp30.y, 12);
|
||||
func_80B54360(this, sp30.x, 13);
|
||||
|
@ -672,7 +672,7 @@ s32 func_80B5458C(GlobalContext* globalCtx, s32 limbIndex, Gfx** dList, Vec3f* p
|
|||
Matrix_Push();
|
||||
Matrix_Translate(467.0f, 265.0f, -389.0f, MTXMODE_APPLY);
|
||||
Matrix_Get(&sp38);
|
||||
func_800D20CC(&sp38, &sp30, 0);
|
||||
Matrix_MtxFToYXZRotS(&sp38, &sp30, 0);
|
||||
if (!FrameAdvance_IsEnabled(globalCtx)) {
|
||||
func_80B53980(this, sp30.y, 15);
|
||||
func_80B54360(this, sp30.x, 16);
|
||||
|
@ -682,7 +682,7 @@ s32 func_80B5458C(GlobalContext* globalCtx, s32 limbIndex, Gfx** dList, Vec3f* p
|
|||
Matrix_Translate(-427.0f, -1.0f, 3.0f, MTXMODE_APPLY);
|
||||
Matrix_ToMtx(&sp78[5], "../z_en_zl3.c", 1623);
|
||||
Matrix_Get(&sp38);
|
||||
func_800D20CC(&sp38, &sp30, 0);
|
||||
Matrix_MtxFToYXZRotS(&sp38, &sp30, 0);
|
||||
if (!FrameAdvance_IsEnabled(globalCtx)) {
|
||||
func_80B53980(this, sp30.y, 18);
|
||||
func_80B54360(this, sp30.x, 19);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue