mirror of
https://github.com/celisej567/mcpe.git
synced 2025-12-31 17:49:17 +03:00
* Options: Allow old title logo to be shown.
This commit is contained in:
@@ -303,6 +303,7 @@ void OptionList::initDefaultMenu()
|
||||
OPTION(Boolean, m_bDontRenderGui, "Hide GUI");
|
||||
OPTION(Boolean, m_bDynamicHand, "Dynamic hand movement");
|
||||
OPTION(Boolean, m_bDebugText, "Debug text");
|
||||
OPTION(Boolean, m_bOldTitleLogo, "Old title logo");
|
||||
}
|
||||
|
||||
HEADER("Controls");
|
||||
|
||||
@@ -537,8 +537,10 @@ void StartMenuScreen::render(int a, int b, float c)
|
||||
titleYPos = 4;
|
||||
}
|
||||
|
||||
//drawLegacyTitle()
|
||||
draw3dTitle(c);
|
||||
if (m_pMinecraft->getOptions()->m_bOldTitleLogo)
|
||||
drawLegacyTitle();
|
||||
else
|
||||
draw3dTitle(c);
|
||||
|
||||
drawString(m_pFont, field_170, field_188, 58 + titleYPos, 0xFFCCCCCC);
|
||||
drawString(m_pFont, field_154, field_16C, m_height - 10, 0x00FFFFFF);
|
||||
|
||||
@@ -63,6 +63,7 @@ void Options::_initDefaultValues()
|
||||
m_bBiomeColors = false;
|
||||
m_bSplitControls = false;
|
||||
m_bDynamicHand = false;
|
||||
m_bOldTitleLogo = false;
|
||||
field_19 = 1;
|
||||
|
||||
// Win32 key codes are being used by default
|
||||
@@ -276,6 +277,8 @@ void Options::_load()
|
||||
m_bAnaglyphs = readBool(value);
|
||||
else if (key == "gfx_dynamichand")
|
||||
m_bDynamicHand = readBool(value);
|
||||
else if (key == "misc_oldtitle")
|
||||
m_bOldTitleLogo = readBool(value);
|
||||
else if (key == "info_debugtext")
|
||||
m_bDebugText = readBool(value);
|
||||
}
|
||||
@@ -400,6 +403,7 @@ std::vector<std::string> Options::getOptionStrings()
|
||||
SO("gfx_fancygrass", saveBool(m_bFancyGrass));
|
||||
SO("gfx_biomecolors", saveBool(m_bBiomeColors));
|
||||
SO("gfx_dynamichand", saveBool(m_bDynamicHand));
|
||||
SO("misc_oldtitle", saveBool(m_bOldTitleLogo));
|
||||
SO("info_debugtext", saveBool(m_bAutoJump));
|
||||
|
||||
return vec;
|
||||
|
||||
@@ -130,6 +130,7 @@ public:
|
||||
bool m_bBiomeColors;
|
||||
bool m_bSplitControls;
|
||||
bool m_bDynamicHand;
|
||||
bool m_bOldTitleLogo;
|
||||
|
||||
public:
|
||||
struct Option
|
||||
|
||||
Reference in New Issue
Block a user