Add boost toggle
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user