16 lines
299 B
C++
16 lines
299 B
C++
#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);
|
|
}
|
|
}
|
|
} |