From 74d99528e8490c4052d18543c3d31be89400424f Mon Sep 17 00:00:00 2001 From: Emmanuel AYME Date: Sun, 12 Apr 2026 11:16:39 +0200 Subject: [PATCH] Add boost toggle --- libs/OSDManager.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/libs/OSDManager.cpp b/libs/OSDManager.cpp index 9681a89..641865d 100644 --- a/libs/OSDManager.cpp +++ b/libs/OSDManager.cpp @@ -19,6 +19,8 @@ reshade::api::effect_uniform_variable u_Stamina_show = {}; reshade::api::effect_uniform_variable u_Stamina_enabled = {}; reshade::api::effect_uniform_variable u_Mana_show = {}; reshade::api::effect_uniform_variable u_Mana_enabled = {}; +reshade::api::effect_uniform_variable u_Boost_show = {}; +reshade::api::effect_uniform_variable u_Boost_enabled = {}; void ShowOSD(float duration, OSDUpdateFn onUpdate, OSDEndFn onEnd) { g_timer = duration; @@ -56,6 +58,8 @@ void FindAllUniformVariables(reshade::api::effect_runtime* runtime, const char* u_Stamina_enabled = runtime->find_uniform_variable(OSD_SHADER_NAME, "Stamina_Enabled"); u_Mana_show = runtime->find_uniform_variable(OSD_SHADER_NAME, "OSD_ShowMana"); u_Mana_enabled = runtime->find_uniform_variable(OSD_SHADER_NAME, "Mana_Enabled"); + u_Boost_show = runtime->find_uniform_variable(OSD_SHADER_NAME, "OSD_ShowBoost"); + u_Boost_enabled = runtime->find_uniform_variable(OSD_SHADER_NAME, "Boost_Enabled"); } void ResetAllUniformVariables(reshade::api::effect_runtime* runtime, const char* effect_name) {