mirror of
https://github.com/zeldaret/oot.git
synced 2025-08-17 20:42:23 +00:00
Document Actor_DrawDoorLock
(#1045)
This commit is contained in:
parent
ff49ace524
commit
b3d5f549e7
5 changed files with 52 additions and 38 deletions
|
@ -155,7 +155,7 @@ void DoorGerudo_Draw(Actor* thisx, GlobalContext* globalCtx) {
|
|||
|
||||
if (this->unk_166 != 0) {
|
||||
Matrix_Scale(0.01f, 0.01f, 0.025f, MTXMODE_APPLY);
|
||||
Actor_DrawDoorLock(globalCtx, this->unk_166, 0);
|
||||
Actor_DrawDoorLock(globalCtx, this->unk_166, DOORLOCK_NORMAL);
|
||||
}
|
||||
|
||||
CLOSE_DISPS(globalCtx->state.gfxCtx, "../z_door_gerudo.c", 377);
|
||||
|
|
|
@ -749,7 +749,9 @@ void DoorShutter_Draw(Actor* thisx, GlobalContext* globalCtx) {
|
|||
if (this->unk_16E != 0) {
|
||||
Matrix_Scale(0.01f, 0.01f, 0.025f, MTXMODE_APPLY);
|
||||
Actor_DrawDoorLock(globalCtx, this->unk_16E,
|
||||
(this->doorType == SHUTTER_BOSS) ? 1 : ((this->unk_16C == 6) ? 2 : 0));
|
||||
(this->doorType == SHUTTER_BOSS)
|
||||
? DOORLOCK_BOSS
|
||||
: ((this->unk_16C == 6) ? DOORLOCK_NORMAL_SPIRIT : DOORLOCK_NORMAL));
|
||||
}
|
||||
|
||||
CLOSE_DISPS(globalCtx->state.gfxCtx, "../z_door_shutter.c", 2135);
|
||||
|
|
|
@ -344,7 +344,7 @@ void EnDoor_Draw(Actor* thisx, GlobalContext* globalCtx) {
|
|||
}
|
||||
}
|
||||
if (this->lockTimer != 0) {
|
||||
Actor_DrawDoorLock(globalCtx, this->lockTimer, 0);
|
||||
Actor_DrawDoorLock(globalCtx, this->lockTimer, DOORLOCK_NORMAL);
|
||||
}
|
||||
|
||||
CLOSE_DISPS(globalCtx->state.gfxCtx, "../z_en_door.c", 941);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue