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 09a189eb4d
commit ae486ca129
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); }
}