mirror of
https://github.com/celisej567/mcpe.git
synced 2026-09-17 20:10:23 +03:00
Added Hide GUI Keybind (#62)
F1 to hide gui Also renamed the field for hiding the GUI to m_bDontRenderGui I would have named it m_bRenderGui and flipped the default values and checks but I assumed that changing the least amount of stuff would be desired.
This commit is contained in:
@@ -601,7 +601,7 @@ void GameRenderer::render(float f)
|
||||
if (t_keepPic < 0)
|
||||
{
|
||||
renderLevel(f);
|
||||
if (m_pMinecraft->m_options.field_23C)
|
||||
if (m_pMinecraft->m_options.m_bDontRenderGui)
|
||||
{
|
||||
if (!m_pMinecraft->m_pScreen)
|
||||
return;
|
||||
@@ -727,7 +727,7 @@ void GameRenderer::renderItemInHand(float f, int i)
|
||||
if (m_pMinecraft->m_options.m_bViewBobbing)
|
||||
bobView(f);
|
||||
|
||||
if (!m_pMinecraft->m_options.m_bThirdPerson && !m_pMinecraft->m_options.field_23C)
|
||||
if (!m_pMinecraft->m_options.m_bThirdPerson && !m_pMinecraft->m_options.m_bDontRenderGui)
|
||||
m_pItemInHandRenderer->render(f);
|
||||
|
||||
glPopMatrix();
|
||||
|
||||
Reference in New Issue
Block a user