Skip to content

Commit

Permalink
updated various cpp/h files in src directory
Browse files Browse the repository at this point in the history
  • Loading branch information
rjwignar committed Jun 7, 2024
1 parent 06ca374 commit c17a2f6
Show file tree
Hide file tree
Showing 10 changed files with 10 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/Features/CloudShadows.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ NLOHMANN_DEFINE_TYPE_NON_INTRUSIVE_WITH_DEFAULT(
PlanetRadius,
EffectMix,
TransparencyPower,

AbsorptionAmbient)

class FrameChecker
Expand Down
1 change: 1 addition & 0 deletions src/Features/CloudShadows.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ struct CloudShadows : Feature
static CloudShadows* GetSingleton()
{
static CloudShadows singleton;

return &singleton;
}

Expand Down
1 change: 1 addition & 0 deletions src/Features/DynamicCubemaps.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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());

}
}
}
Expand Down
1 change: 1 addition & 0 deletions src/Features/DynamicCubemaps.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ class MenuOpenCloseEventHandler : public RE::BSTEventSink<RE::MenuOpenCloseEvent
public:
virtual RE::BSEventNotifyControl ProcessEvent(const RE::MenuOpenCloseEvent* a_event, RE::BSTEventSource<RE::MenuOpenCloseEvent>* a_eventSource);
static bool Register();

};

struct DynamicCubemaps : Feature
Expand Down
1 change: 1 addition & 0 deletions src/Features/LightLimitFIx/ParticleLights.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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()) {
Expand Down
1 change: 1 addition & 0 deletions src/Features/LightLimitFIx/ParticleLights.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ class ParticleLights
return &singleton;
}


enum class Flicker
{
None = 0,
Expand Down
1 change: 1 addition & 0 deletions src/Menu.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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());
Expand Down
1 change: 1 addition & 0 deletions src/Menu.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ class Menu
{
public:
~Menu();


static Menu* GetSingleton()
{
Expand Down
1 change: 1 addition & 0 deletions src/ShaderTools/BSShaderHooks.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
1 change: 1 addition & 0 deletions src/ShaderTools/BSShaderHooks.h
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,5 @@
namespace BSShaderHooks
{
void hk_LoadShaders(REX::BSShader* bsShader, std::uintptr_t stream);

}

0 comments on commit c17a2f6

Please sign in to comment.