mirror of
https://github.com/smartcmd/MinecraftConsoles.git
synced 2026-08-20 09:57:09 +00:00
another recommit
This commit is contained in:
parent
dc98d89d5c
commit
299e5380c1
|
|
@ -1546,7 +1546,7 @@ void Minecraft::run_middle()
|
||||||
|
|
||||||
wasDown = down;
|
wasDown = down;
|
||||||
|
|
||||||
if(g_KBMInput.IsKeyPressed(KeyboardMouseInput::KEY_CRAFTING))
|
if(g_KBMInput.IsKeyPressed(KeyboardMouseInput::KEY_CRAFTING) || g_KBMInput.IsKeyPressed(KeyboardMouseInput::KEY_CRAFTING_ALT))
|
||||||
{
|
{
|
||||||
if((ui.IsSceneInStack(i, eUIScene_Crafting2x2Menu) || ui.IsSceneInStack(i, eUIScene_Crafting3x3Menu) || ui.IsSceneInStack(i, eUIScene_CreativeMenu) || isClosableByEitherKey) && !isEditing)
|
if((ui.IsSceneInStack(i, eUIScene_Crafting2x2Menu) || ui.IsSceneInStack(i, eUIScene_Crafting3x3Menu) || ui.IsSceneInStack(i, eUIScene_CreativeMenu) || isClosableByEitherKey) && !isEditing)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -23,8 +23,8 @@ public:
|
||||||
static const int KEY_SPRINT = VK_CONTROL;
|
static const int KEY_SPRINT = VK_CONTROL;
|
||||||
static const int KEY_INVENTORY = 'E';
|
static const int KEY_INVENTORY = 'E';
|
||||||
static const int KEY_DROP = 'Q';
|
static const int KEY_DROP = 'Q';
|
||||||
static const int KEY_CRAFTING = 'R';
|
static const int KEY_CRAFTING = 'C';
|
||||||
static const int KEY_ZOOM = 'C';
|
static const int KEY_CRAFTING_ALT = 'R';
|
||||||
static const int KEY_CHAT = 'T';
|
static const int KEY_CHAT = 'T';
|
||||||
static const int KEY_SLASHCOMMANDCHAT = VK_OEM_2;
|
static const int KEY_SLASHCOMMANDCHAT = VK_OEM_2;
|
||||||
static const int KEY_CONFIRM = VK_RETURN;
|
static const int KEY_CONFIRM = VK_RETURN;
|
||||||
|
|
@ -40,7 +40,6 @@ public:
|
||||||
|
|
||||||
// todo: implement and shi
|
// todo: implement and shi
|
||||||
static const int KEY_SCREENSHOT = VK_F2;
|
static const int KEY_SCREENSHOT = VK_F2;
|
||||||
static const int KEY_PICKBLOCK = MOUSE_MIDDLE;
|
|
||||||
|
|
||||||
void Init();
|
void Init();
|
||||||
void Tick();
|
void Tick();
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue