This repository has been archived on 2024-10-22. You can view files and clone it, but cannot push or open issues or pull requests.

50 lines
1.1 KiB
C++
Raw Normal View History

#include "gui/tab_bar.hpp"
#include "natives.hpp"
namespace big
{
void tabbar::render_misc()
{
if (ImGui::BeginTabItem("Misc"))
{
ImGui::Text("Set Current Character Level:");
ImGui::SliderInt("##input_levels_self", &g_temp.set_level, 0, 8000);
if (ImGui::Button("Set Level"))
{
QUEUE_JOB_BEGIN_CLAUSE()
{
features::functions::set_player_level(g_temp.set_level);
}QUEUE_JOB_END_CLAUSE
}
if (ImGui::Button("Unlock Achievements"))
{
QUEUE_JOB_BEGIN_CLAUSE()
{
features::stats::unlock_achievements();
}QUEUE_JOB_END_CLAUSE
}
if (ImGui::Button("Max Character Stats"))
{
QUEUE_JOB_BEGIN_CLAUSE()
{
int character_index;
features::functions::get_active_character_slot(&character_index);
features::stats::max_stats(character_index);
}QUEUE_JOB_END_CLAUSE
}
if (ImGui::Button("Unlock All Stats"))
{
QUEUE_JOB_BEGIN_CLAUSE()
{
features::stats::unlock_all();
}QUEUE_JOB_END_CLAUSE
}
ImGui::EndTabItem();
}
}
}