diff --git a/src/Features/CloudShadows.cpp b/src/Features/CloudShadows.cpp index 83db3ca5b..2d85e3855 100644 --- a/src/Features/CloudShadows.cpp +++ b/src/Features/CloudShadows.cpp @@ -11,6 +11,7 @@ NLOHMANN_DEFINE_TYPE_NON_INTRUSIVE_WITH_DEFAULT( PlanetRadius, EffectMix, TransparencyPower, + AbsorptionAmbient) class FrameChecker diff --git a/src/Features/CloudShadows.h b/src/Features/CloudShadows.h index ab5e2ec1e..b2c23f11c 100644 --- a/src/Features/CloudShadows.h +++ b/src/Features/CloudShadows.h @@ -8,6 +8,7 @@ struct CloudShadows : Feature static CloudShadows* GetSingleton() { static CloudShadows singleton; + return &singleton; } diff --git a/src/Features/DynamicCubemaps.cpp b/src/Features/DynamicCubemaps.cpp index 645324d60..3f4a6d96e 100644 --- a/src/Features/DynamicCubemaps.cpp +++ b/src/Features/DynamicCubemaps.cpp @@ -15,6 +15,7 @@ void DynamicCubemaps::DrawSettings() if (auto _tt = Util::HoverTooltipWrapper()) { //ImGui::Text(fmt::format(fmt::runtime("{} {0:x}"), settingName, &setting->data.b).c_str()); ImGui::Text(settingName.c_str()); + } } } diff --git a/src/Features/DynamicCubemaps.h b/src/Features/DynamicCubemaps.h index 3466e1b25..205d05c80 100644 --- a/src/Features/DynamicCubemaps.h +++ b/src/Features/DynamicCubemaps.h @@ -8,6 +8,7 @@ class MenuOpenCloseEventHandler : public RE::BSTEventSink* a_eventSource); static bool Register(); + }; struct DynamicCubemaps : Feature diff --git a/src/Features/LightLimitFIx/ParticleLights.cpp b/src/Features/LightLimitFIx/ParticleLights.cpp index 00b06b3db..a4064f691 100644 --- a/src/Features/LightLimitFIx/ParticleLights.cpp +++ b/src/Features/LightLimitFIx/ParticleLights.cpp @@ -7,6 +7,7 @@ void ParticleLights::GetConfigs() if (std::filesystem::exists("Data\\ParticleLights")) { logger::info("[LLF] Loading particle lights configs"); + auto configs = clib_util::distribution::get_configs("Data\\ParticleLights", "", ".ini"); if (configs.empty()) { diff --git a/src/Features/LightLimitFIx/ParticleLights.h b/src/Features/LightLimitFIx/ParticleLights.h index 84687f45a..f79b8e830 100644 --- a/src/Features/LightLimitFIx/ParticleLights.h +++ b/src/Features/LightLimitFIx/ParticleLights.h @@ -9,6 +9,7 @@ class ParticleLights return &singleton; } + enum class Flicker { None = 0, diff --git a/src/Menu.cpp b/src/Menu.cpp index 67549828d..19bcc6064 100644 --- a/src/Menu.cpp +++ b/src/Menu.cpp @@ -495,6 +495,7 @@ void Menu::DrawOverlay() if (!ImGui::Begin("ShaderCompilationInfo", nullptr, ImGuiWindowFlags_NoTitleBar | ImGuiWindowFlags_AlwaysAutoResize | ImGuiWindowFlags_NoResize | ImGuiWindowFlags_NoMove | ImGuiWindowFlags_NoSavedSettings)) { ImGui::End(); return; + } ImGui::TextUnformatted(progressTitle.c_str()); ImGui::ProgressBar(percent, ImVec2(0.0f, 0.0f), progressOverlay.c_str()); diff --git a/src/Menu.h b/src/Menu.h index 8f0de659f..a3c15f288 100644 --- a/src/Menu.h +++ b/src/Menu.h @@ -12,6 +12,7 @@ class Menu { public: ~Menu(); + static Menu* GetSingleton() { diff --git a/src/ShaderTools/BSShaderHooks.cpp b/src/ShaderTools/BSShaderHooks.cpp index 121d6c5ec..2c503e0e9 100644 --- a/src/ShaderTools/BSShaderHooks.cpp +++ b/src/ShaderTools/BSShaderHooks.cpp @@ -11,6 +11,7 @@ namespace BSShaderHooks const auto shaderDir = std::filesystem::current_path() /= "Data/SKSE/plugins/shaders/"sv; + if (std::filesystem::exists(shaderDir)) { std::size_t foundCount = 0; std::size_t successCount = 0; diff --git a/src/ShaderTools/BSShaderHooks.h b/src/ShaderTools/BSShaderHooks.h index db33b5d6e..a99b2d7b2 100644 --- a/src/ShaderTools/BSShaderHooks.h +++ b/src/ShaderTools/BSShaderHooks.h @@ -5,4 +5,5 @@ namespace BSShaderHooks { void hk_LoadShaders(REX::BSShader* bsShader, std::uintptr_t stream); + }