mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-14 07:26:09 +00:00
aurora: Cleanup, rename ZTest to ZComp to more accurately describe purprose, implement colored_quad
This commit is contained in:
@@ -2046,7 +2046,7 @@ void CFrontEndUI::Draw() {
|
||||
zeus::CColor color = zeus::skWhite;
|
||||
color.a() = x64_pressStartAlpha;
|
||||
aurora::gfx::queue_textured_quad(aurora::gfx::CameraFilterType::Add, x38_pressStart->GetTexture(),
|
||||
aurora::gfx::ZTest::Always, false, color, 1.f, rect, 0.f);
|
||||
aurora::gfx::ZComp::Always, false, color, 1.f, rect, 0.f);
|
||||
}
|
||||
|
||||
if (xc0_attractCount > 0) {
|
||||
@@ -2058,7 +2058,7 @@ void CFrontEndUI::Draw() {
|
||||
zeus::CColor color = zeus::skBlack;
|
||||
color.a() = 1.f - x58_fadeBlackTimer;
|
||||
zeus::CRectangle rect(0, 0, 1, 1);
|
||||
aurora::gfx::queue_colored_quad(aurora::gfx::CameraFilterType::Blend, aurora::gfx::ZTest::Always, false, color,
|
||||
aurora::gfx::queue_colored_quad(aurora::gfx::CameraFilterType::Blend, aurora::gfx::ZComp::Always, false, color,
|
||||
rect, 0.f);
|
||||
}
|
||||
}
|
||||
@@ -2070,14 +2070,14 @@ void CFrontEndUI::Draw() {
|
||||
zeus::CColor color = zeus::skBlack;
|
||||
color.a() = zeus::clamp(0.f, 1.f - x58_fadeBlackTimer, 1.f);
|
||||
zeus::CRectangle rect(0, 0, 1, 1);
|
||||
aurora::gfx::queue_colored_quad(aurora::gfx::CameraFilterType::Blend, aurora::gfx::ZTest::Always, false, color,
|
||||
aurora::gfx::queue_colored_quad(aurora::gfx::CameraFilterType::Blend, aurora::gfx::ZComp::Always, false, color,
|
||||
rect, 0.f);
|
||||
} else if (x50_curScreen == EScreen::Title && x54_nextScreen == EScreen::Title) {
|
||||
/* From black with 30-sec skip to title */
|
||||
zeus::CColor color = zeus::skBlack;
|
||||
color.a() = 1.f - zeus::clamp(0.f, 30.f - x58_fadeBlackTimer, 1.f);
|
||||
zeus::CRectangle rect(0, 0, 1, 1);
|
||||
aurora::gfx::queue_colored_quad(aurora::gfx::CameraFilterType::Blend, aurora::gfx::ZTest::Always, false, color,
|
||||
aurora::gfx::queue_colored_quad(aurora::gfx::CameraFilterType::Blend, aurora::gfx::ZComp::Always, false, color,
|
||||
rect, 0.f);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user