mirror of
https://github.com/celisej567/source-engine.git
synced 2026-01-07 02:09:52 +03:00
initial GamepadUI from EZ2
This commit is contained in:
@@ -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 );
|
||||
|
||||
|
||||
Reference in New Issue
Block a user