feat(GUI): Added world tab
This commit is contained in:
parent
21a7575417
commit
63c85a9796
@ -17,6 +17,7 @@ namespace big
|
|||||||
static void render_tunables();
|
static void render_tunables();
|
||||||
static void render_teleport();
|
static void render_teleport();
|
||||||
static void render_vehicle();
|
static void render_vehicle();
|
||||||
|
static void render_world();
|
||||||
static void render_network();
|
static void render_network();
|
||||||
static void render_misc();
|
static void render_misc();
|
||||||
static void render_spawn();
|
static void render_spawn();
|
||||||
|
26
BigBaseV2/src/gui/tab_bar/tab_world.cpp
Normal file
26
BigBaseV2/src/gui/tab_bar/tab_world.cpp
Normal file
@ -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();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
Reference in New Issue
Block a user