mirror of
https://github.com/zeldaret/oot.git
synced 2025-08-23 07:21:19 +00:00
Environment documentation pass (#1115)
* some docs, start introducing time macro * most usages of CLOCK_TIME * finish up clock time defines, format * saving incase i need to revert * more docs * more docs progress * some more docs * format with 11 * change sos to storm * update functions.h * some depth stuff * review 1 and 2 * whoops * update zbuf stuff * most of review 3 * enum name * storm state enum * review 4 * fix enum * add comment to skyboxischanging * review * things dont match, committing so i can change branches * revert struct changes * define for override_full_control * new clock_time macro * fill alpha -> glare strength * update comment * remove indoor/outdoor, new name for underwater light variable * remove copy pasted comment * fix comments * remove whitespave * review
This commit is contained in:
parent
d7bbe43ba7
commit
4f0018bf36
50 changed files with 1339 additions and 1087 deletions
|
@ -272,8 +272,8 @@ void EnfHG_Intro(EnfHG* this, GlobalContext* globalCtx) {
|
|||
-10.0f);
|
||||
}
|
||||
if (this->timers[0] == 90) {
|
||||
globalCtx->envCtx.unk_BF = 2;
|
||||
globalCtx->envCtx.unk_D6 = 0x14;
|
||||
globalCtx->envCtx.lightSettingOverride = 2;
|
||||
globalCtx->envCtx.lightBlendRateOverride = 20;
|
||||
}
|
||||
if (this->timers[0] == 100) {
|
||||
this->bossGndSignal = FHG_LIGHTNING;
|
||||
|
@ -374,8 +374,8 @@ void EnfHG_Intro(EnfHG* this, GlobalContext* globalCtx) {
|
|||
Math_ApproachF(&this->subCamAt.z, this->actor.world.pos.z, 0.2f, 50.0f);
|
||||
osSyncPrintf("TIME %d-------------------------------------------------\n", this->timers[0]);
|
||||
if (fabsf(this->actor.world.pos.z - (GND_BOSSROOM_CENTER_Z + 400.0f - 0.5f)) < 1.0f) {
|
||||
globalCtx->envCtx.unk_BF = 0;
|
||||
globalCtx->envCtx.unk_D6 = 0x14;
|
||||
globalCtx->envCtx.lightSettingOverride = 0;
|
||||
globalCtx->envCtx.lightBlendRateOverride = 20;
|
||||
this->cutsceneState = INTRO_FINISH;
|
||||
Animation_MorphToLoop(&this->skin.skelAnime, &gPhantomHorseRunningAnim, -3.0f);
|
||||
this->bossGndSignal = FHG_START_FIGHT;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue