mirror of
https://github.com/zeldaret/oot.git
synced 2025-07-03 06:24:30 +00:00
Add skybox .h and cleanup, SkyboxDraw_
-> Skybox_
(#1435)
* Add skybox .h and cleanup * move forward declared structs to top of file * `SkyboxDraw_` -> `Skybox_` * format * move more forward declared structs to top of file
This commit is contained in:
parent
186ecc72b5
commit
92f081d7f3
8 changed files with 92 additions and 70 deletions
|
@ -1126,7 +1126,7 @@ void FileSelect_ConfigModeDraw(GameState* thisx) {
|
|||
eyeZ = 1000.0f * Math_SinS(ZREG(11)) + 1000.0f * Math_CosS(ZREG(11));
|
||||
|
||||
FileSelect_SetView(this, eyeX, eyeY, eyeZ);
|
||||
SkyboxDraw_Draw(&this->skyboxCtx, this->state.gfxCtx, 1, this->envCtx.skyboxBlend, eyeX, eyeY, eyeZ);
|
||||
Skybox_Draw(&this->skyboxCtx, this->state.gfxCtx, 1, this->envCtx.skyboxBlend, eyeX, eyeY, eyeZ);
|
||||
gDPSetTextureLUT(POLY_OPA_DISP++, G_TT_NONE);
|
||||
ZREG(11) += ZREG(10);
|
||||
Environment_UpdateSkybox(SKYBOX_NORMAL_SKY, &this->envCtx, &this->skyboxCtx);
|
||||
|
@ -1539,7 +1539,7 @@ void FileSelect_SelectModeDraw(GameState* thisx) {
|
|||
eyeZ = 1000.0f * Math_SinS(ZREG(11)) + 1000.0f * Math_CosS(ZREG(11));
|
||||
|
||||
FileSelect_SetView(this, eyeX, eyeY, eyeZ);
|
||||
SkyboxDraw_Draw(&this->skyboxCtx, this->state.gfxCtx, 1, this->envCtx.skyboxBlend, eyeX, eyeY, eyeZ);
|
||||
Skybox_Draw(&this->skyboxCtx, this->state.gfxCtx, 1, this->envCtx.skyboxBlend, eyeX, eyeY, eyeZ);
|
||||
gDPSetTextureLUT(POLY_OPA_DISP++, G_TT_NONE);
|
||||
ZREG(11) += ZREG(10);
|
||||
Environment_UpdateSkybox(SKYBOX_NORMAL_SKY, &this->envCtx, &this->skyboxCtx);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue