Added a tooltip and changed fix version

This commit is contained in:
2025-08-14 22:59:55 +02:00
parent 9d4a7c4553
commit c058cc314b

View File

@@ -46,7 +46,7 @@ const char* CA_FIX_SETTING = "CAFIX=";
const char* VIGNETTING_FIX_SETTING = "VignettingFIX="; const char* VIGNETTING_FIX_SETTING = "VignettingFIX=";
const char* FOG_FIX_SETTING = "FogFIX="; const char* FOG_FIX_SETTING = "FogFIX=";
const char* WORLD_FOV_SETTING = "WorldFOV="; const char* WORLD_FOV_SETTING = "WorldFOV=";
const char* FIX_VERSION = "1.0.1"; const char* FIX_VERSION = "1.0.2";
const char* FIX_INFORMATIONS = "This fix allows to:\n - Control FOV in game.\n - Disable pillar boxing in cutscences.\n - Disable depth of field.\n - Disable chromatic aberrations.\n - Disable vignetting.\n - Disbale FOG.\n\nDisabling pillar boxing will compensate FOV\nfor main menu and cutscenes.\nDisabling Fog will not entirely remove it."; const char* FIX_INFORMATIONS = "This fix allows to:\n - Control FOV in game.\n - Disable pillar boxing in cutscences.\n - Disable depth of field.\n - Disable chromatic aberrations.\n - Disable vignetting.\n - Disbale FOG.\n\nDisabling pillar boxing will compensate FOV\nfor main menu and cutscenes.\nDisabling Fog will not entirely remove it.";
const char* DONATION_URL = "https://buymeacoffee.com/k4sh44"; const char* DONATION_URL = "https://buymeacoffee.com/k4sh44";
@@ -229,6 +229,13 @@ static void on_overlay_draw(reshade::api::effect_runtime* runtime)
SaveSettings(); SaveSettings();
} }
if (ImGui::IsItemHovered()) {
ImGui::BeginTooltip();
ImGui::Text("Aspect ratio fix is only usefull for ultrawide displays.");
ImGui::Text("No need to enable it if you play at 16/9.");
ImGui::EndTooltip();
}
ImGui::SetCursorPos(ImVec2(5, 55)); ImGui::SetCursorPos(ImVec2(5, 55));
if (ImGui::Checkbox("Depth of field fix", &DOF_fix_enabled)) { if (ImGui::Checkbox("Depth of field fix", &DOF_fix_enabled)) {
if (SetDOFFixEnabled) SetDOFFixEnabled(DOF_fix_enabled, false); if (SetDOFFixEnabled) SetDOFFixEnabled(DOF_fix_enabled, false);