diff --git a/BigBaseV2/src/gui/tab_bar/tab_bar.hpp b/BigBaseV2/src/gui/tab_bar/tab_bar.hpp index 5ed198b5..3d65bd46 100644 --- a/BigBaseV2/src/gui/tab_bar/tab_bar.hpp +++ b/BigBaseV2/src/gui/tab_bar/tab_bar.hpp @@ -17,6 +17,7 @@ namespace big static void render_tunables(); static void render_teleport(); static void render_vehicle(); + static void render_world(); static void render_network(); static void render_misc(); static void render_spawn(); diff --git a/BigBaseV2/src/gui/tab_bar/tab_world.cpp b/BigBaseV2/src/gui/tab_bar/tab_world.cpp new file mode 100644 index 00000000..d8244a05 --- /dev/null +++ b/BigBaseV2/src/gui/tab_bar/tab_world.cpp @@ -0,0 +1,26 @@ +#include "tab_bar.hpp" + +namespace big +{ + static int clock[3]; + + void tabbar::render_world() + { + if (ImGui::BeginTabItem("World")) + { + ImGui::Text("Set Local Time"); + if (ImGui::InputInt3(": H:M:s", clock)) + { + QUEUE_JOB_BEGIN_CLAUSE() + { + CLOCK::SET_CLOCK_TIME(clock[0], clock[1], clock[3]); + }QUEUE_JOB_END_CLAUSE + } + + //ImGui::Text("Set Weather:"); + //MISC::SET_OVERRIDE_WEATHER(); + + ImGui::EndTabItem(); + } + } +} \ No newline at end of file