mirror of
https://github.com/celisej567/mcpe.git
synced 2026-09-17 20:10:23 +03:00
* Add F3 debug text.
This commit is contained in:
@@ -466,6 +466,10 @@ void Minecraft::tickInput()
|
||||
m_pLocalPlayer->drop(&inst);
|
||||
}
|
||||
}
|
||||
else if (keyCode == AKEYCODE_F3)
|
||||
{
|
||||
m_options.m_bDebugText = !m_options.m_bDebugText;
|
||||
}
|
||||
#ifdef ENH_ALLOW_AO
|
||||
else if (keyCode == AKEYCODE_F4)
|
||||
{
|
||||
@@ -555,6 +559,11 @@ void Minecraft::sendMessage(const std::string& message)
|
||||
}
|
||||
}
|
||||
|
||||
std::string Minecraft::getVersionString()
|
||||
{
|
||||
return "v0.1.0 alpha";
|
||||
}
|
||||
|
||||
void Minecraft::_levelGenerated()
|
||||
{
|
||||
if (m_pNetEventCallback)
|
||||
@@ -987,6 +996,11 @@ ItemInstance* Minecraft::getSelectedItem()
|
||||
return &m_CurrItemInstance;
|
||||
}
|
||||
|
||||
int Minecraft::getFpsIntlCounter()
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
void Minecraft::leaveGame(bool bCopyMap)
|
||||
{
|
||||
m_bPreparingLevel = false;
|
||||
|
||||
Reference in New Issue
Block a user