forked from cafeberry/cafeberry
fix: non High Def resolutions not showing splitscreen hint & fix missing string
This commit is contained in:
@@ -6257,7 +6257,6 @@ void CMinecraftApp::InitialiseTips()
|
||||
ZeroMemory(m_TipIDA,sizeof(UINT)*MAX_TIPS_GAMETIP+MAX_TIPS_TRIVIATIP);
|
||||
|
||||
// Make the first tip tell you that you can play splitscreen in HD modes if you are in SD
|
||||
//str1k3r - this doesnt work on Windows64, can someone help me with this? please.
|
||||
if(!RenderManager.IsHiDef())
|
||||
{
|
||||
m_GameTipA[0].uiStringID=IDS_TIPS_GAMETIP_0;
|
||||
@@ -6322,27 +6321,31 @@ void CMinecraftApp::InitialiseTips()
|
||||
UINT CMinecraftApp::GetNextTip()
|
||||
{
|
||||
static bool bShowSkinDLCTip=true;
|
||||
// don't display the DLC tip in the trial game
|
||||
if(ProfileManager.IsFullVersion() && app.GetNewDLCAvailable() && app.DisplayNewDLCTip())
|
||||
//str1k3r - if uiStringID is IDS_TIPS_GAMETIP_0 then dont do this, fixes a bug with IDS_TIPS_GAMETIP_0 not showing on Windows64 if not high def
|
||||
if(m_GameTipA[0].uiStringID != IDS_TIPS_GAMETIP_0)
|
||||
{
|
||||
return IDS_TIPS_GAMETIP_NEWDLC;
|
||||
}
|
||||
else
|
||||
{
|
||||
if(bShowSkinDLCTip && ProfileManager.IsFullVersion())
|
||||
// don't display the DLC tip in the trial game
|
||||
if(ProfileManager.IsFullVersion() && app.GetNewDLCAvailable() && app.DisplayNewDLCTip())
|
||||
{
|
||||
bShowSkinDLCTip=false;
|
||||
if( app.DLCInstallProcessCompleted() )
|
||||
return IDS_TIPS_GAMETIP_NEWDLC;
|
||||
}
|
||||
else
|
||||
{
|
||||
if(bShowSkinDLCTip && ProfileManager.IsFullVersion())
|
||||
{
|
||||
if(app.m_dlcManager.getPackCount(DLCManager::e_DLCType_Skin)==0)
|
||||
bShowSkinDLCTip=false;
|
||||
if( app.DLCInstallProcessCompleted() )
|
||||
{
|
||||
if(app.m_dlcManager.getPackCount(DLCManager::e_DLCType_Skin)==0)
|
||||
{
|
||||
return IDS_TIPS_GAMETIP_SKINPACKS;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
return IDS_TIPS_GAMETIP_SKINPACKS;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
return IDS_TIPS_GAMETIP_SKINPACKS;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user