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:
Unknown
2024-06-26 22:23:20 +02:00
parent f785e17b48
commit cc69714429
13 changed files with 2023 additions and 501 deletions

View File

@ -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;
}