Comments removal

This commit is contained in:
2025-09-16 11:57:36 +02:00
parent 1d12991e46
commit 070ec0ca43

View File

@@ -18,7 +18,6 @@ typedef void (*SetIntFn)(int);
typedef void (*SetFloatFn)(float); typedef void (*SetFloatFn)(float);
typedef float (*GetFloatFn)(); typedef float (*GetFloatFn)();
typedef bool (*GetBoolFn)(); typedef bool (*GetBoolFn)();
//typedef void (*SetUEConsole)();
static HMODULE fixLib = nullptr; static HMODULE fixLib = nullptr;
static SetBoolFn SetFixEnabled = nullptr; static SetBoolFn SetFixEnabled = nullptr;
@@ -37,7 +36,6 @@ static GetFloatFn GetFOVIn = nullptr;
static GetFloatFn GetCompensadedFOV = nullptr; static GetFloatFn GetCompensadedFOV = nullptr;
static GetFloatFn GetFOVOut = nullptr; static GetFloatFn GetFOVOut = nullptr;
static GetBoolFn GetConsoleEnabled = nullptr; static GetBoolFn GetConsoleEnabled = nullptr;
//static SetUEConsole SetConsole = nullptr;
// Plugin variables for checkboxes and sliders // Plugin variables for checkboxes and sliders
static bool fov_fix_enabled = false; static bool fov_fix_enabled = false;
@@ -124,7 +122,6 @@ static void LoadFixDLL()
GetFOVIn = (GetFloatFn)GetProcAddress(fixLib, "GetFOVIn"); GetFOVIn = (GetFloatFn)GetProcAddress(fixLib, "GetFOVIn");
GetCompensadedFOV = (GetFloatFn)GetProcAddress(fixLib, "GetCompensatedFOV"); GetCompensadedFOV = (GetFloatFn)GetProcAddress(fixLib, "GetCompensatedFOV");
GetFOVOut = (GetFloatFn)GetProcAddress(fixLib, "GetFOVOut");; GetFOVOut = (GetFloatFn)GetProcAddress(fixLib, "GetFOVOut");;
//SetConsole = (SetUEConsole)GetProcAddress(fixLib, "SetConsole");
GetConsoleEnabled = (GetBoolFn)GetProcAddress(fixLib, "GetConsoleEnabled"); GetConsoleEnabled = (GetBoolFn)GetProcAddress(fixLib, "GetConsoleEnabled");
// Apply initial values loaded from settings // Apply initial values loaded from settings
@@ -139,7 +136,6 @@ static void LoadFixDLL()
if (SetVignettingFixEnabled) SetVignettingFixEnabled(Vignetting_fix_enabled, true); if (SetVignettingFixEnabled) SetVignettingFixEnabled(Vignetting_fix_enabled, true);
if (SetFogFixEnabled) SetFogFixEnabled(Fog_fix_enabled, true); if (SetFogFixEnabled) SetFogFixEnabled(Fog_fix_enabled, true);
if (SetFixEnabled) SetFixEnabled(fix_enabled, true); if (SetFixEnabled) SetFixEnabled(fix_enabled, true);
//if (SetConsole) SetConsole();
} }
} }