feat: Modify ocean level and add direct invite player from DB (#2384)

This commit is contained in:
thehorizon84
2023-11-05 22:39:53 +01:00
committed by GitHub
parent ebeef460df
commit 2121ff2b7e
10 changed files with 154 additions and 0 deletions

View File

@ -0,0 +1,16 @@
#include "views/view.hpp"
namespace big
{
void view::ocean()
{
components::command_checkbox<"modifyocean">();
if (g.world.ocean.modify_ocean)
{
components::command_checkbox<"disableocean">();
ImGui::SliderInt("OCEAN_OPACITY"_T.data(), &g.world.ocean.ocean_opacity, 0, 100);
}
}
}

View File

@ -14,6 +14,11 @@ namespace big
view::time_and_weather();
}
ImGui::SeparatorText("GUI_TAB_OCEAN"_T.data());
{
view::ocean();
}
ImGui::SeparatorText("PED"_T.data());
components::button<ImVec2(110, 0), ImVec4(0.70196f, 0.3333f, 0.00392f, 1.f)>("VIEW_DEBUG_THREADS_KILL"_T, [] {