feat: Modify ocean level and add direct invite player from DB (#2384)
This commit is contained in:
16
src/views/world/view_ocean.cpp
Normal file
16
src/views/world/view_ocean.cpp
Normal 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);
|
||||
}
|
||||
}
|
||||
}
|
@ -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, [] {
|
||||
|
Reference in New Issue
Block a user