1
0
Fork 0
mirror of https://github.com/zeldaret/oot.git synced 2025-08-22 15:01:17 +00:00

[iQue] Match z_end_title, z_construct, z_common_data, z_parameter, z_title, z_opening (#2424)

* [iQue] Match z_end_title

* [iQue] Match z_construct

* [iQue] Match z_common_data

* [iQue] Match z_parameter

* [iQue] Match z_title, z_opening

* Actually match z_parameter

* Give up on stack issues

* this->exit = true
This commit is contained in:
cadmic 2025-01-14 08:55:47 -08:00 committed by GitHub
parent e2ed5568e5
commit 2b9b7a40b0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 67 additions and 47 deletions

View file

@ -46,18 +46,16 @@ void EndTitle_Update(Actor* thisx, PlayState* play) {
// Used in the castle courtyard
void EndTitle_DrawFull(Actor* thisx, PlayState* play) {
MtxF* mf;
PlayState* play2 = (PlayState*)play;
EndTitle* this = (EndTitle*)thisx;
s32 csCurFrame = play->csCtx.curFrame;
Player* player = GET_PLAYER(play);
mf = &player->mf_9E0;
s32 csCurFrame = play2->csCtx.curFrame;
Player* player = GET_PLAYER(play2);
OPEN_DISPS(play->state.gfxCtx, "../z_end_title.c", 403);
// Draw the Triforce on Link's left hand
Gfx_SetupDL_25Xlu(play->state.gfxCtx);
Matrix_Mult(mf, MTXMODE_NEW);
Matrix_Mult(&player->mf_9E0, MTXMODE_NEW);
Matrix_Translate(0.0f, 150.0f, 170.0f, MTXMODE_APPLY);
Matrix_Scale(0.13f, 0.13f, 0.13f, MTXMODE_APPLY);
Matrix_RotateX(BINANG_TO_RAD(0xBB8), MTXMODE_APPLY);