mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-09 09:07:43 +00:00
Reformat pass
This commit is contained in:
@@ -202,8 +202,7 @@ void CPauseScreen::ProcessControllerInput(const CStateManager& mgr, const CFinal
|
||||
|
||||
if (InputEnabled()) {
|
||||
bool invalid = x8_curSubscreen == ESubScreen::ToGame;
|
||||
if (useInput.PStart() ||
|
||||
((useInput.PB() || useInput.PSpecialKey(boo::ESpecialKey::Esc)) && bExits) ||
|
||||
if (useInput.PStart() || ((useInput.PB() || useInput.PSpecialKey(boo::ESpecialKey::Esc)) && bExits) ||
|
||||
(x7c_screens[x78_activeIdx] && x7c_screens[x78_activeIdx]->ShouldExitPauseScreen())) {
|
||||
CSfxManager::SfxStart(SFXui_pause_screen_exit, 1.f, 0.f, false, 0x7f, false, kInvalidAreaId);
|
||||
StartTransition(0.5f, mgr, ESubScreen::ToGame, 2);
|
||||
@@ -218,18 +217,22 @@ void CPauseScreen::ProcessControllerInput(const CStateManager& mgr, const CFinal
|
||||
}
|
||||
}
|
||||
|
||||
x38_textpane_l1->TextSupport().SetText(
|
||||
fmt::format(FMT_STRING("&image={};"), g_tweakPlayerRes->x74_lTrigger[
|
||||
ControlMapper::GetDigitalInput(ControlMapper::ECommands::PreviousPauseScreen, useInput) || m_lDown]));
|
||||
x3c_textpane_r->TextSupport().SetText(
|
||||
fmt::format(FMT_STRING("&image={};"), g_tweakPlayerRes->x80_rTrigger[
|
||||
ControlMapper::GetDigitalInput(ControlMapper::ECommands::NextPauseScreen, useInput) || m_rDown]));
|
||||
x38_textpane_l1->TextSupport().SetText(fmt::format(
|
||||
FMT_STRING("&image={};"),
|
||||
g_tweakPlayerRes
|
||||
->x74_lTrigger[ControlMapper::GetDigitalInput(ControlMapper::ECommands::PreviousPauseScreen, useInput) ||
|
||||
m_lDown]));
|
||||
x3c_textpane_r->TextSupport().SetText(fmt::format(
|
||||
FMT_STRING("&image={};"),
|
||||
g_tweakPlayerRes
|
||||
->x80_rTrigger[ControlMapper::GetDigitalInput(ControlMapper::ECommands::NextPauseScreen, useInput) ||
|
||||
m_rDown]));
|
||||
x48_textpane_return->TextSupport().SetText(
|
||||
fmt::format(FMT_STRING("&image={};"), g_tweakPlayerRes->x8c_startButton[useInput.DStart() || m_returnDown]));
|
||||
fmt::format(FMT_STRING("&image={};"), g_tweakPlayerRes->x8c_startButton[useInput.DStart() || m_returnDown]));
|
||||
x50_textpane_back->TextSupport().SetText(
|
||||
fmt::format(FMT_STRING("&image={};"), g_tweakPlayerRes->x98_aButton[useInput.DA() || m_backDown]));
|
||||
fmt::format(FMT_STRING("&image={};"), g_tweakPlayerRes->x98_aButton[useInput.DA() || m_backDown]));
|
||||
x4c_textpane_next->TextSupport().SetText(
|
||||
fmt::format(FMT_STRING("&image={};"), g_tweakPlayerRes->xa4_bButton[useInput.DB() || m_nextDown]));
|
||||
fmt::format(FMT_STRING("&image={};"), g_tweakPlayerRes->xa4_bButton[useInput.DB() || m_nextDown]));
|
||||
}
|
||||
|
||||
void CPauseScreen::TransitionComplete() {
|
||||
|
||||
Reference in New Issue
Block a user