mirror of
https://github.com/DumbDev69420/EscapeTheBackrooms_Internal.git
synced 2024-12-22 14:37:30 +08:00
Changed path to Config.h
This commit is contained in:
parent
8d474ffbac
commit
1eb372e8fc
@ -3,7 +3,7 @@
|
||||
#include <unordered_map>
|
||||
#include <format>
|
||||
#include <functional>
|
||||
#include "Config.h"
|
||||
#include "Config/Config.h"
|
||||
|
||||
namespace Backend {
|
||||
using EventHandler = std::function<void()>;
|
||||
@ -393,7 +393,7 @@ namespace Settings {
|
||||
bool BringAllItems = false; // Noch nichts
|
||||
bool RevivePlayer = false;// Noch nichts
|
||||
bool NoCams = false;
|
||||
bool HideWalls = false;
|
||||
bool HideDoors = false;
|
||||
bool PlayerFly = false;
|
||||
bool PeacefullMode = false;
|
||||
bool Spawner_ = false;
|
||||
|
@ -6,7 +6,7 @@
|
||||
#include "Out/IncludeFile.h"
|
||||
|
||||
#include "Cheat.h"
|
||||
#include "Config.h"
|
||||
#include "Config/Config.h"
|
||||
|
||||
FILE* ConsoleFile = nullptr;
|
||||
|
||||
@ -381,13 +381,13 @@ void ProcessEventHook(SDK::UObject* Obj, SDK::UFunction* Function, void* Parms)
|
||||
std::wstring NewName = paramsServerChangeName->S.ToWString();
|
||||
|
||||
auto world = Cheat::Engine->GameViewport->World;
|
||||
bool IsLocalHost = false;
|
||||
bool IsLocalPlayer = false;
|
||||
|
||||
if (auto LocalPlayer = world->OwningGameInstance->LocalPlayers[0]; LocalPlayer && LocalPlayer->PlayerController) {
|
||||
IsLocalHost = (CallingController == LocalPlayer->PlayerController);
|
||||
IsLocalPlayer = (CallingController == LocalPlayer->PlayerController);
|
||||
}
|
||||
|
||||
if (!IsLocalHost) {
|
||||
if (!IsLocalPlayer) {
|
||||
for (size_t i = 0; i < PlayerNameChanges.size(); i++)
|
||||
{
|
||||
if (PlayerNameChanges[i].first == CallingController) {
|
||||
@ -610,7 +610,7 @@ void MainRender(SDK::UObject* object, SDK::UCanvas* Canvas) {
|
||||
CWINGui::SliderFloat(L"Flyspeed (Boat & Player)", &Settings::PlayerFlySpeedY, 0.01f, 1000.0f);
|
||||
if (CWINGui::Button(L"Hide Doors", SDK::FVector2D{ 110, 35 })) {
|
||||
Settings::ActorEvent = true;
|
||||
Settings::HideWalls = true;
|
||||
Settings::HideDoors = true;
|
||||
}
|
||||
//if (CWINGui::Button(L"Force Admin", SDK::FVector2D{ 110, 35 })) {
|
||||
// Settings::ForceAdmin = true;
|
||||
@ -1365,7 +1365,7 @@ void ExitCheat() {
|
||||
MH_Uninitialize();
|
||||
|
||||
|
||||
//Not Working! Fix else keep massive memory leak!
|
||||
//Not Working! Fix else keep massive memory leak! (like 1.2kb which is okay i think)
|
||||
for (SDK::UTexture2D* texture : GifBackground->TextureArray)
|
||||
{
|
||||
//Mark Textures as Garbage then set to nullptr
|
||||
|
Loading…
Reference in New Issue
Block a user