initial GamepadUI from EZ2

This commit is contained in:
2024-04-13 19:58:55 +03:00
parent 29985681a1
commit 19ce478dd0
49 changed files with 11335 additions and 49 deletions

View File

@@ -613,7 +613,7 @@ void CEngineVGui::Init()
return;
}
if ( IsX360() || IsSteamDeck() )
if ( IsX360() || IsGamepadUI() )
{
CCommand ccommand;
if ( CL_ShouldLoadBackgroundLevel( ccommand ) )
@@ -1273,12 +1273,18 @@ void CEngineVGui::OnLevelLoadingStarted()
}
}
if ( IsX360() || IsSteamDeck() )
if ( IsX360() || !IsGamepadUI() )
{
// TCR requirement, always!!!
m_bShowProgressDialog = true;
}
// i dont want gamepadui menu while loading
//if (IsGamepadUI())
//{
// m_bShowProgressDialog = false;
//}
// we've starting loading a level/connecting to a server
staticGameUIFuncs->OnLevelLoadingStarted( m_bShowProgressDialog );