mirror of
https://github.com/Mr-X-GTA/YimMenu.git
synced 2025-01-03 16:13:36 +08:00
feat(GUI): Added world tab
This commit is contained in:
parent
110b76120f
commit
d4857729f1
@ -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();
|
||||
|
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();
|
||||
}
|
||||
}
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user