refactor(TabBar): Renamed all files
This commit is contained in:
parent
0b9837777e
commit
761227344d
@ -23,6 +23,8 @@ namespace big
|
||||
static void render_misc();
|
||||
static void render_spawn();
|
||||
static void render_settings();
|
||||
|
||||
static void player_info();
|
||||
};
|
||||
|
||||
}
|
@ -103,7 +103,9 @@ namespace big
|
||||
ImGui::Checkbox("Force Teleport", protections["force_teleport"].get<bool*>()) ||
|
||||
ImGui::Checkbox("Transaction Error", protections["transaction_error"].get<bool*>()) ||
|
||||
ImGui::Checkbox("Vehicle Kick", protections["vehicle_kick"].get<bool*>())
|
||||
) { g_settings.save(); }
|
||||
) {
|
||||
g_settings.save();
|
||||
}
|
||||
|
||||
if (ImGui::Button("Enable All"))
|
||||
features::functions::toggle_protections(true);
|
@ -1,5 +1,5 @@
|
||||
#include "window.hpp"
|
||||
#include "tab_bar/tab_bar.hpp"
|
||||
#include "gui/window.hpp"
|
||||
#include "gui/tab_bar.hpp"
|
||||
|
||||
namespace big
|
||||
{
|
||||
|
@ -1,4 +1,5 @@
|
||||
#include "window.hpp"
|
||||
#include "gui/window.hpp"
|
||||
#include "gui/tab_bar.hpp"
|
||||
#include "features.hpp"
|
||||
#include "pointers.hpp"
|
||||
|
||||
@ -8,19 +9,21 @@ namespace big
|
||||
{
|
||||
if (g_selectedPlayer.id != g_selectedPlayerId || !g_selectedPlayer.is_online) return;
|
||||
|
||||
if (ImGui::Begin("Player Options"))
|
||||
char title[64];
|
||||
strcpy(title, "Player Options: ");
|
||||
strcat(title, g_selectedPlayer.name);
|
||||
if (ImGui::Begin(title))
|
||||
{
|
||||
ImGui::Text("Selected player:");
|
||||
ImGui::SameLine(); ImGui::TextColored({ 25,180,38,255 }, g_selectedPlayer.name);
|
||||
|
||||
if (ImGui::Button("Close"))
|
||||
{
|
||||
g_selectedPlayerId = -2;
|
||||
}
|
||||
|
||||
ImGui::Separator();
|
||||
ImGui::BeginTabBar("tabbar_player");
|
||||
|
||||
ImGui::Checkbox("Spectate Player", &g_temp.spectate_player);
|
||||
ImGui::EndTabBar();
|
||||
|
||||
ImGui::Separator();
|
||||
|
||||
ImGui::Separator();
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
#include "window.hpp"
|
||||
#include "gui/window.hpp"
|
||||
#include "features.hpp"
|
||||
#include "natives.hpp"
|
||||
#include "script.hpp"
|
||||
|
@ -1,4 +1,4 @@
|
||||
#include "window.hpp"
|
||||
#include "gui/window.hpp"
|
||||
#include "features.hpp"
|
||||
|
||||
namespace big
|
||||
|
Reference in New Issue
Block a user