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:
Vruk
2023-08-20 11:19:24 -07:00
committed by GitHub
parent a6d05eb6f3
commit 9c2a5c43c8
6 changed files with 12 additions and 7 deletions

View File

@@ -474,6 +474,10 @@ void Minecraft::tickInput()
m_pLocalPlayer->drop(&inst);
}
}
else if (keyCode == AKEYCODE_F1)
{
m_options.m_bDontRenderGui = !m_options.m_bDontRenderGui;
}
else if (keyCode == AKEYCODE_F3)
{
m_options.m_bDebugText = !m_options.m_bDebugText;