mirror of
https://github.com/zeldaret/oot.git
synced 2025-08-07 14:50:15 +00:00
Decompile z_kankyo (#956)
* working * start color switch * progress * progress * progress on bgm func * progress * game over matched (except the rodata meme) * start update * progress * lightning docs done * progress * progress * progress * progress * progress * can compile at least * suns state, progress on kankyo_update * some new names * progress * progress * progress * new functions * cleanup * more matches * another match * now functional * format * better match * hugely improved update * cleanup/review * remove old changes * review2 * review3 * missed one * review4 * change asm filenames * update doorwarp1 * review5 * Kankyo_ -> Environment_ * format * merge master and format functions.h Co-authored-by: Jacob Young <jacobly0@users.noreply.github.com> Co-authored-by: fig <fig02srl@gmail.com> Co-authored-by: petrie911 <pmontag@DESKTOP-LG8A167.localdomain>
This commit is contained in:
parent
50095d427c
commit
e51f50f0ff
139 changed files with 3478 additions and 6277 deletions
|
@ -958,7 +958,7 @@ void func_80ACC00C(EnOwl* this, GlobalContext* globalCtx) {
|
|||
this->actionFunc = EnOwl_WaitDefault;
|
||||
this->unk_40A = 0;
|
||||
this->actionFlags |= 0x80;
|
||||
D_8011FB40 = 0;
|
||||
gTimeIncrement = 0;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -1348,8 +1348,8 @@ void func_80ACD130(EnOwl* this, GlobalContext* globalCtx, s32 idx) {
|
|||
}
|
||||
|
||||
f32 func_80ACD1C4(GlobalContext* globalCtx, s32 idx) {
|
||||
f32 ret = func_8006F93C(globalCtx->csCtx.npcActions[idx]->endFrame, globalCtx->csCtx.npcActions[idx]->startFrame,
|
||||
globalCtx->csCtx.frames);
|
||||
f32 ret = Environment_LerpWeight(globalCtx->csCtx.npcActions[idx]->endFrame,
|
||||
globalCtx->csCtx.npcActions[idx]->startFrame, globalCtx->csCtx.frames);
|
||||
|
||||
ret = CLAMP_MAX(ret, 1.0f);
|
||||
return ret;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue