TU46 Test content and patches

TU46 Test content, added missing commits by amending commit and cherry-picking to new branch, ready for iggy guis and tu46 bug fixes
This commit is contained in:
Tranqlmao authored and DrPerkyLegit committed 2026-10-22 13:55:39 -04:00
1 parent 8d6b69f599
commit ff562d1644
497 files changed
+11187 -771

No files matched your search

@@ -1003,7 +1003,7 @@ void UIScene_LoadMenu::StartSharedLaunchFlow()
}
else
{
LaunchGame();
ConfirmResetEndOrLaunch();
}
}
@@ -1290,13 +1290,13 @@ int UIScene_LoadMenu::CheckResetNetherReturned(void *pParam,int iPad,C4JStorage:
if(result==C4JStorage::EMessage_ResultDecline)
{
// continue and reset the nether
pClass->LaunchGame();
pClass->ConfirmResetEndOrLaunch();
}
else if(result==C4JStorage::EMessage_ResultAccept)
{
// turn off the reset nether and continue
pClass->m_MoreOptionsParams.bResetNether=FALSE;
pClass->LaunchGame();
pClass->ConfirmResetEndOrLaunch();
}
else
{
@@ -1742,6 +1742,7 @@ void UIScene_LoadMenu::StartGameFromSave(UIScene_LoadMenu* pClass, DWORD dwLocal
// flag if the user wants to reset the Nether to force a Fortress with netherwart etc.
app.SetResetNether((pClass->m_MoreOptionsParams.bResetNether==TRUE)?true:false);
app.SetResetEnd(pClass->m_MoreOptionsParams.bResetEnd);
// clear out the app's terrain features list
app.ClearTerrainFeaturePosition();
@@ -1791,7 +1792,7 @@ void UIScene_LoadMenu::checkStateAndStartGame()
}
else
{
LaunchGame();
ConfirmResetEndOrLaunch();
}
}
@@ -1976,3 +1977,39 @@ int UIScene_LoadMenu::MustSignInReturnedPSN(void *pParam,int iPad,C4JStorage::EM
// return 0;
// }
#endif
void UIScene_LoadMenu::ConfirmResetEndOrLaunch()
{
if(m_MoreOptionsParams.bResetEnd)
{
UINT uiIDA[2];
uiIDA[0]=IDS_DONT_RESET_END;
uiIDA[1]=IDS_RESET_END;
ui.RequestAlertMessage(IDS_RESETEND_TITLE, IDS_RESETEND_TEXT, uiIDA, 2, m_iPad,&UIScene_LoadMenu::CheckResetEndReturned,this);
}
else
{
LaunchGame();
}
}
int UIScene_LoadMenu::CheckResetEndReturned(void *pParam,int iPad,C4JStorage::EMessageResult result)
{
UIScene_LoadMenu* pClass = static_cast<UIScene_LoadMenu *>(pParam);
if(result==C4JStorage::EMessage_ResultDecline)
{
pClass->LaunchGame();
}
else if(result==C4JStorage::EMessage_ResultAccept)
{
pClass->m_MoreOptionsParams.bResetEnd=false;
pClass->LaunchGame();
}
else
{
pClass->m_bIgnoreInput=false;
}
return 0;
}