diff --git a/BigBaseV2/src/features.cpp b/BigBaseV2/src/features.cpp index 0b4d1d13..3eafb949 100644 --- a/BigBaseV2/src/features.cpp +++ b/BigBaseV2/src/features.cpp @@ -9,28 +9,40 @@ namespace big { g_playerId = PLAYER::PLAYER_ID(); + // System update_player_structs(); update_screen_sizes(); + // Custom Guns delete_gun(); - disable_phone(); - god_mode(); gravity_gun(); money_gun(); + vehicle_gun(); + + // Tunable + disable_phone(); + no_idle_kick(); + + // Self + god_mode(); never_wanted(); noclip(); - no_bike_fall(); - no_idle_kick(); no_ragdoll(); off_radar(); - population_modifiers(); - reveal_players(); - spectate_player(); - speedo_meter(); - spoof_rank(); - sticky_tyres(); super_sprint(); - vehicle_gun(); + spoof_rank(); + + // Vehicle + no_bike_fall(); + speedo_meter(); + sticky_tyres(); + + // World + population_modifiers(); + + // Util + spectate_player(); + } void features::script_func() diff --git a/BigBaseV2/src/features.hpp b/BigBaseV2/src/features.hpp index e3419fa7..2f1cb1ca 100644 --- a/BigBaseV2/src/features.hpp +++ b/BigBaseV2/src/features.hpp @@ -43,7 +43,6 @@ namespace big void no_ragdoll(); void off_radar(); void population_modifiers(); - void reveal_players(); void spectate_player(); void speedo_meter(); void spoof_rank(); diff --git a/BigBaseV2/src/gui.cpp b/BigBaseV2/src/gui.cpp index 642e1cb1..c65b5fe5 100644 --- a/BigBaseV2/src/gui.cpp +++ b/BigBaseV2/src/gui.cpp @@ -11,6 +11,8 @@ #include "renderer.hpp" #include "script.hpp" +#include "gui/window.hpp" + #include namespace big @@ -103,16 +105,16 @@ namespace big TRY_CLAUSE { // gui/top_bar.cpp - render_top_bar(); + window::render_top_bar(); // gui/main_window.cpp - render_main_window(); + window::render_main_window(); // gui/user_sidebar.cpp - render_user_sidebar(); + window::render_user_sidebar(); // gui/player_window.cpp - render_player_window(); + window::render_player_window(); } EXCEPT_CLAUSE } diff --git a/BigBaseV2/src/gui.hpp b/BigBaseV2/src/gui.hpp index 8f4dfc91..98bd3fed 100644 --- a/BigBaseV2/src/gui.hpp +++ b/BigBaseV2/src/gui.hpp @@ -12,11 +12,6 @@ namespace big void script_init(); void script_on_tick(); static void script_func(); - - void render_top_bar(); - void render_main_window(); - void render_user_sidebar(); - void render_player_window(); public: bool m_opened{}; }; diff --git a/BigBaseV2/src/gui/main_window.cpp b/BigBaseV2/src/gui/main_window.cpp index 06f86a4f..d730e604 100644 --- a/BigBaseV2/src/gui/main_window.cpp +++ b/BigBaseV2/src/gui/main_window.cpp @@ -1,11 +1,9 @@ -#include "common.hpp" -#include "gui.hpp" -#include "imgui.h" +#include "window.hpp" #include "tab_bar/tab_bar.hpp" namespace big { - void gui::render_main_window() + void window::render_main_window() { if (ImGui::Begin("Yimura's Mod Menu")) { diff --git a/BigBaseV2/src/gui/player_window.cpp b/BigBaseV2/src/gui/player_window.cpp index f9a605a4..c9653c6c 100644 --- a/BigBaseV2/src/gui/player_window.cpp +++ b/BigBaseV2/src/gui/player_window.cpp @@ -1,11 +1,10 @@ -#include "gui.hpp" -#include "imgui.h" +#include "window.hpp" #include "features.hpp" #include "pointers.hpp" namespace big { - void gui::render_player_window() + void window::render_player_window() { if (g_selectedPlayer.id != g_selectedPlayerId || !g_selectedPlayer.is_online) return; diff --git a/BigBaseV2/src/gui/top_bar.cpp b/BigBaseV2/src/gui/top_bar.cpp index 629e98a4..e7be92a3 100644 --- a/BigBaseV2/src/gui/top_bar.cpp +++ b/BigBaseV2/src/gui/top_bar.cpp @@ -1,6 +1,4 @@ -#include "common.hpp" -#include "gui.hpp" -#include "imgui.h" +#include "window.hpp" #include "features.hpp" #include "natives.hpp" #include "script.hpp" @@ -10,7 +8,7 @@ namespace big { static char* player_name = ""; - void gui::render_top_bar() + void window::render_top_bar() { if (ImGui::BeginMainMenuBar()) { @@ -95,14 +93,6 @@ namespace big ImGui::EndMenu(); } - /*if (ImGui::BeginMenu("Developer Options")) - { - ImGui::MenuItem("Scripted Game Event Logging (kick)", NULL, &g_bScriptedGameLogging); - ImGui::MenuItem("Event Data Logging (other events)", NULL, &g_bScriptLogging); - - ImGui::EndMenu(); - }*/ - ImGui::EndMainMenuBar(); } } diff --git a/BigBaseV2/src/gui/user_sidebar.cpp b/BigBaseV2/src/gui/user_sidebar.cpp index 2ef052df..fa2c31f0 100644 --- a/BigBaseV2/src/gui/user_sidebar.cpp +++ b/BigBaseV2/src/gui/user_sidebar.cpp @@ -1,10 +1,9 @@ -#include "imgui.h" -#include "gui.hpp" +#include "window.hpp" #include "features.hpp" namespace big { - void gui::render_user_sidebar() + void window::render_user_sidebar() { ImGui::SetNextWindowSize({ 350.f, (float)y }, ImGuiCond_Always); ImGui::SetNextWindowPos({ x - 350.f, 0.f }, ImGuiCond_Always); diff --git a/BigBaseV2/src/gui/window.hpp b/BigBaseV2/src/gui/window.hpp new file mode 100644 index 00000000..eeb2ed76 --- /dev/null +++ b/BigBaseV2/src/gui/window.hpp @@ -0,0 +1,14 @@ +#pragma once +#include "imgui.h" + +namespace big +{ + class window + { + public: + static void render_top_bar(); + static void render_main_window(); + static void render_user_sidebar(); + static void render_player_window(); + }; +} \ No newline at end of file