mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/GabsPuNs-MinecraftConsoles.git
synced 2026-06-07 18:44:44 +00:00
Final Update for TU24 Part 1
Merged Minecraft-Consoles and LCE Renewed Latest Changes - Fixed Ice and Stained Glass X-Ray. - Fix initial cursor position for in-game UI elements. - Make handleParticleEvent actually parse the particle type instead of hardcoding hearts. - Add advanced tooltips, F3+H combo, and handle settings. Other Fixes & Changes. - The sound from the portal was reduced. - Stained Glass removed from creative mode. - New F3 Menu. - Reduced UI Sounds volume by 25%. - Minor Fixes.
This commit is contained in:
@@ -234,6 +234,13 @@ bool KeyboardMouseInput::IsKeyReleased(int vkCode) const
|
||||
return false;
|
||||
}
|
||||
|
||||
int KeyboardMouseInput::GetPressedKey() const
|
||||
{
|
||||
for (int i = 0; i < MAX_KEYS; ++i)
|
||||
if (m_keyPressed[i]) return i;
|
||||
return 0;
|
||||
}
|
||||
|
||||
bool KeyboardMouseInput::IsMouseButtonDown(int button) const
|
||||
{
|
||||
if (button >= 0 && button < MAX_MOUSE_BUTTONS)
|
||||
|
||||
Reference in New Issue
Block a user