mirror of
https://github.com/hedge-dev/UnleashedRecomp.git
synced 2025-10-30 07:11:05 +00:00
Account for control tutorial option in Dark Gaia boss. (#384)
This commit is contained in:
parent
771c2626b8
commit
9ec6bd95e1
1 changed files with 8 additions and 1 deletions
|
|
@ -351,6 +351,8 @@ enum
|
||||||
CORNER_EXTRACT = 1 << 20,
|
CORNER_EXTRACT = 1 << 20,
|
||||||
|
|
||||||
SKIP_INSPIRE = 1 << 21,
|
SKIP_INSPIRE = 1 << 21,
|
||||||
|
|
||||||
|
CONTROL_TUTORIAL = 1 << 22,
|
||||||
};
|
};
|
||||||
|
|
||||||
struct CsdModifier
|
struct CsdModifier
|
||||||
|
|
@ -592,7 +594,7 @@ static const xxHashMap<CsdModifier> g_modifiers =
|
||||||
{ HashStr("ui_playscreen_su/su_sonic_gauge/position/C/R"), { ALIGN_BOTTOM_LEFT | SCALE | STORE_RIGHT_CORNER } },
|
{ HashStr("ui_playscreen_su/su_sonic_gauge/position/C/R"), { ALIGN_BOTTOM_LEFT | SCALE | STORE_RIGHT_CORNER } },
|
||||||
{ HashStr("ui_playscreen_su/gaia_gauge"), { ALIGN_BOTTOM_LEFT | SCALE | OFFSET_SCALE_LEFT, 632.0f } },
|
{ HashStr("ui_playscreen_su/gaia_gauge"), { ALIGN_BOTTOM_LEFT | SCALE | OFFSET_SCALE_LEFT, 632.0f } },
|
||||||
{ HashStr("ui_playscreen_su/gaia_gauge/position/C/R"), { ALIGN_BOTTOM_LEFT | SCALE | STORE_RIGHT_CORNER } },
|
{ HashStr("ui_playscreen_su/gaia_gauge/position/C/R"), { ALIGN_BOTTOM_LEFT | SCALE | STORE_RIGHT_CORNER } },
|
||||||
{ HashStr("ui_playscreen_su/footer"), { ALIGN_BOTTOM_RIGHT | SCALE } },
|
{ HashStr("ui_playscreen_su/footer"), { ALIGN_BOTTOM_RIGHT | SCALE | CONTROL_TUTORIAL } },
|
||||||
|
|
||||||
// ui_prov_playscreen
|
// ui_prov_playscreen
|
||||||
{ HashStr("ui_prov_playscreen/so_speed_gauge"), { ALIGN_BOTTOM_LEFT | SCALE | TORNADO_DEFENSE } },
|
{ HashStr("ui_prov_playscreen/so_speed_gauge"), { ALIGN_BOTTOM_LEFT | SCALE | TORNADO_DEFENSE } },
|
||||||
|
|
@ -849,6 +851,11 @@ PPC_FUNC(sub_830C6A00)
|
||||||
|
|
||||||
if (g_sceneModifier.has_value())
|
if (g_sceneModifier.has_value())
|
||||||
{
|
{
|
||||||
|
if (!Config::ControlTutorial && (g_sceneModifier->flags & CONTROL_TUTORIAL) != 0)
|
||||||
|
{
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
// Tornado Defense bugs out when applying gameplay UI scaling.
|
// Tornado Defense bugs out when applying gameplay UI scaling.
|
||||||
// This seems consistent with base game behavior, because the UI
|
// This seems consistent with base game behavior, because the UI
|
||||||
// is normally squashed, which was probably done to work around this.
|
// is normally squashed, which was probably done to work around this.
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue