mirror of
https://github.com/DumbDev69420/EscapeTheBackrooms_Internal.git
synced 2025-06-29 18:22:32 +08:00
Added much stuff, including working Config System and Test System to Mount pak files and then Load its Content. (Loads Pak File and Mounts it but couldnt load any stuff from my Custom Pak yet)
This commit is contained in:
@ -1,8 +1,13 @@
|
||||
#pragma once
|
||||
#include <Windows.h>
|
||||
#include "../Cheat.h"
|
||||
|
||||
namespace ZeroGUI
|
||||
{
|
||||
bool isGameFocussed = false;
|
||||
bool isInputLocked = false;
|
||||
HWND CurrentWindow = NULL;
|
||||
|
||||
namespace Input
|
||||
{
|
||||
bool mouseDown[5];
|
||||
@ -61,7 +66,10 @@ namespace ZeroGUI
|
||||
|
||||
void Handle()
|
||||
{
|
||||
if (GetAsyncKeyState(0x01))
|
||||
isGameFocussed = GetActiveWindow() == CurrentWindow;
|
||||
|
||||
|
||||
if (GetAsyncKeyState(0x01) && !isInputLocked && isGameFocussed)
|
||||
{
|
||||
mouseDown[0] = true;
|
||||
}
|
||||
|
Reference in New Issue
Block a user