Menu revamp (#3274)

* Complete player and network UI redesign, meant to show all features instead of stuffing them into tiny boxes
* Added option to delete player vehicles
* Better clone player (now clones head blend too)
* Better host token spoofing, with an option to enter your own
* Better host token spoofing detection
* Better desync kick prot detections
* A script blocker for the entire session (per-player options will be added later)
* Added option to spoof data/DLC hashes
* Logging framework that allows developers to easily debug false positives
* Major protection improvements
This commit is contained in:
maybegreat48
2024-06-27 08:32:17 +00:00
committed by GitHub
parent f3cf7b5983
commit 4589b87553
98 changed files with 3157 additions and 2042 deletions

View File

@ -1,6 +1,5 @@
#include "core/data/block_join_reasons.hpp"
#include "backend/reactions/reaction.hpp"
#include "views/view.hpp"
#include "core/data/block_join_reasons.hpp"
namespace big
{
@ -62,7 +61,7 @@ namespace big
ImGui::Checkbox("REACTION_BLOCK_JOINS"_T.data(), &reaction.block_joins);
if (reaction.block_joins)
if (ImGui::BeginCombo("BLOCK_JOIN_ALERT"_T.data(), block_join_reasons[reaction.block_join_reason]))
{
{
for (const auto& [key, value] : block_join_reasons)
{
bool is_selected = (reaction.block_join_reason == key);
@ -95,12 +94,14 @@ namespace big
{
components::title("SETTINGS_REACTIONS"_T);
draw_reaction(g.reactions.bounty);
draw_reaction(g.reactions.break_game);
draw_reaction(g.reactions.ceo_kick);
draw_reaction(g.reactions.ceo_money);
draw_reaction(g.reactions.chat_spam);
draw_reaction(g.reactions.clear_ped_tasks);
draw_reaction(g.reactions.clear_wanted_level);
draw_reaction(g.reactions.crash);
draw_reaction(g.reactions.delete_vehicle);
draw_reaction(g.reactions.destroy_personal_vehicle);
draw_reaction(g.reactions.end_session_kick);
draw_reaction(g.reactions.fake_deposit);