Rework rgb for fun vehicle and paintgun (#1783)

Closes #1819
This commit is contained in:
TheGreenBandit
2023-07-23 12:51:57 -04:00
committed by GitHub
parent 57f6eab74a
commit 3eacc0998c
12 changed files with 65 additions and 161 deletions

View File

@ -150,6 +150,7 @@ namespace big
break;
case CustomWeapon::PAINT_GUN:
ImGui::Checkbox("Rainbow Color", &g.weapons.paintgun.rainbow);
ImGui::SliderFloat("Rainbow Speed", &g.weapons.paintgun.speed, 0.f, 10.f);
if (!g.weapons.paintgun.rainbow) { ImGui::ColorEdit4("Paint Gun Color", g.weapons.paintgun.col); }
}

View File

@ -58,11 +58,6 @@ namespace big
});
}
ImGui::SeparatorText("Rainbow");
ImGui::Checkbox("Spasm", &g.settings.rainbow.spasm);
ImGui::Checkbox("Fade", &g.settings.rainbow.fade);
ImGui::SliderInt("Speed", &g.settings.rainbow.speed, 0, 10); // TODO: THIS SPEED DOESNT MAKE SENSE
ImGui::SeparatorText("SETTINGS_MISC"_T.data());
ImGui::Checkbox("SETTINGS_MISC_DEV_DLC"_T.data(), &g.settings.dev_dlc);

View File

@ -1,8 +1,5 @@
#include "views/view.hpp"
#include <imgui_internal.h>
namespace big
{
void view::vfx()