Skip to content
This repository has been archived by the owner on Nov 4, 2023. It is now read-only.

Commit

Permalink
modified ESP tab
Browse files Browse the repository at this point in the history
  • Loading branch information
ArnoldasMk committed Jul 17, 2022
1 parent 491e301 commit 4a486e2
Show file tree
Hide file tree
Showing 3 changed files with 51 additions and 103 deletions.
136 changes: 46 additions & 90 deletions src/ATGUI/Tabs/visualstab.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -387,7 +387,7 @@ void VisualsMaterialConfig::RenderMainMenu(ImVec2 &pos, ImDrawList *draw, int si
}
}

void VisualsGood::RenderMainMenu(ImVec2 &pos, ImDrawList *draw, int sideTabIndex)
void VisualsESP::RenderMainMenu(ImVec2 &pos, ImDrawList *draw, int sideTabIndex)
{
ImGui::SetCursorPos(ImVec2(185, 70));
ImGui::BeginGroup();
Expand All @@ -399,9 +399,10 @@ void VisualsGood::RenderMainMenu(ImVec2 &pos, ImDrawList *draw, int sideTabIndex
ImGui::SetCursorPos(ImVec2(180, 100));
ImGui::BeginGroup();
{
ImGui::Columns(2, nullptr, false);
ImGui::Columns(3, nullptr, false);
{
ImGui::BeginChild(XORSTR("##Visuals1"), ImVec2(0, 736), true);
ImGui::SetColumnOffset(1, 500);
ImGui::BeginChild(XORSTR("##Visuals1"), ImVec2(0, 268), true);
{
ImGui::Separator();
ImGui::Text("Allies ESP");
Expand Down Expand Up @@ -430,34 +431,13 @@ void VisualsGood::RenderMainMenu(ImVec2 &pos, ImDrawList *draw, int sideTabIndex
ImGui::Checkbox(XORSTR("Skeleton"), &Settings::ESP::FilterAlise::Skeleton::enabled);
ImGui::Checkbox(XORSTR("Glow"), &Settings::ESP::Glow::enabled);
}
ImGui::Separator();
ImGui::Text("Allies Player Info Customizations");
ImGui::Separator();
ImGui::Checkbox(XORSTR("Clan"), &Settings::ESP::Info::clan);
ImGui::Checkbox(XORSTR("Rank"), &Settings::ESP::Info::rank);
ImGui::Checkbox(XORSTR("Health"), &Settings::ESP::Info::health);
ImGui::Checkbox(XORSTR("Armor"), &Settings::ESP::Info::armor);
ImGui::Checkbox(XORSTR("Scoped"), &Settings::ESP::Info::scoped);
ImGui::Checkbox(XORSTR("Flashed"), &Settings::ESP::Info::flashed);
ImGui::Checkbox(XORSTR("Defuse Kit"), &Settings::ESP::Info::hasDefuser);
ImGui::Checkbox(XORSTR("Grabbing Hostage"), &Settings::ESP::Info::grabbingHostage);
ImGui::Checkbox(XORSTR("Location"), &Settings::ESP::Info::location);
ImGui::Checkbox(XORSTR("FakeDuck"), &Settings::ESP::Info::Fakeduck);
ImGui::Checkbox(XORSTR("Name"), &Settings::ESP::Info::name);
ImGui::Checkbox(XORSTR("Steam ID"), &Settings::ESP::Info::steamId);
ImGui::Checkbox(XORSTR("Weapon"), &Settings::ESP::Info::weapon);
ImGui::Checkbox(XORSTR("Reloading"), &Settings::ESP::Info::reloading);
ImGui::Checkbox(XORSTR("Planting"), &Settings::ESP::Info::planting);
ImGui::Checkbox(XORSTR("Defusing"), &Settings::ESP::Info::defusing);
ImGui::Checkbox(XORSTR("Resolver Flags"), &Settings::ESP::Info::rescuing);
ImGui::Checkbox(XORSTR("Layers Debug"), &Settings::Debug::AnimLayers::draw);
ImGui::Checkbox(XORSTR("Choked Packets"), &Settings::ESP::Info::money);
}
ImGui::EndChild();
}
ImGui::NextColumn();
{
ImGui::BeginChild(XORSTR("##Visuals2"), ImVec2(0, 736), true);
ImGui::SetColumnOffset(2, ImGui::GetWindowWidth() / 2 + 226);
ImGui::BeginChild(XORSTR("##Visuals2"), ImVec2(0, 268), true);
{
ImGui::Separator();
ImGui::Text("Localplayer ESP");
Expand Down Expand Up @@ -489,50 +469,12 @@ void VisualsGood::RenderMainMenu(ImVec2 &pos, ImDrawList *draw, int sideTabIndex
ImGui::Checkbox(XORSTR("Draw AA Trace"), &Settings::ESP::DrawAATrace::enabled);
ImGui::Checkbox(XORSTR("Sync fake chams with fakelag"), &Settings::ESP::SyncFake);
}
ImGui::Separator();
ImGui::Text("Localplayer Player Info Customizations");
ImGui::Separator();
ImGui::Checkbox(XORSTR("Clan"), &Settings::ESP::Info::clan);
ImGui::Checkbox(XORSTR("Rank"), &Settings::ESP::Info::rank);
ImGui::Checkbox(XORSTR("Health"), &Settings::ESP::Info::health);
ImGui::Checkbox(XORSTR("Armor"), &Settings::ESP::Info::armor);
ImGui::Checkbox(XORSTR("Scoped"), &Settings::ESP::Info::scoped);
ImGui::Checkbox(XORSTR("Flashed"), &Settings::ESP::Info::flashed);
ImGui::Checkbox(XORSTR("Defuse Kit"), &Settings::ESP::Info::hasDefuser);
ImGui::Checkbox(XORSTR("Grabbing Hostage"), &Settings::ESP::Info::grabbingHostage);
ImGui::Checkbox(XORSTR("Location"), &Settings::ESP::Info::location);
ImGui::Checkbox(XORSTR("FakeDuck"), &Settings::ESP::Info::Fakeduck);
ImGui::Checkbox(XORSTR("Name"), &Settings::ESP::Info::name);
ImGui::Checkbox(XORSTR("Steam ID"), &Settings::ESP::Info::steamId);
ImGui::Checkbox(XORSTR("Weapon"), &Settings::ESP::Info::weapon);
ImGui::Checkbox(XORSTR("Reloading"), &Settings::ESP::Info::reloading);
ImGui::Checkbox(XORSTR("Planting"), &Settings::ESP::Info::planting);
ImGui::Checkbox(XORSTR("Defusing"), &Settings::ESP::Info::defusing);
ImGui::Checkbox(XORSTR("Resolver Flags"), &Settings::ESP::Info::rescuing);
ImGui::Checkbox(XORSTR("Layers Debug"), &Settings::Debug::AnimLayers::draw);
ImGui::Checkbox(XORSTR("Choked Packets"), &Settings::ESP::Info::money);
}
ImGui::EndChild();
}
ImGui::EndColumns();
}
ImGui::EndGroup();
}
void VisualsEnemy::RenderMainMenu(ImVec2 &pos, ImDrawList *draw, int sideTabIndex)
{
ImGui::SetCursorPos(ImVec2(185, 70));
ImGui::BeginGroup();
{
ImGui::CheckboxFill(XORSTR("Enabled"), &Settings::ESP::enabled);
}
ImGui::EndGroup();

ImGui::SetCursorPos(ImVec2(180, 100));
ImGui::BeginGroup();
{
ImGui::Columns(2, nullptr, false);
ImGui::NextColumn();
{
ImGui::BeginChild(XORSTR("##Visuals1"), ImVec2(0, 736), true);
ImGui::BeginChild(XORSTR("##Visuals3"), ImVec2(0, 268), true);
{
ImGui::Separator();
ImGui::Text("Enemy ESP");
Expand Down Expand Up @@ -570,32 +512,48 @@ void VisualsEnemy::RenderMainMenu(ImVec2 &pos, ImDrawList *draw, int sideTabInde
}
ImGui::EndChild();
}
ImGui::NextColumn();
ImGui::EndColumns();
ImGui::Columns(2, nullptr, false);
{
ImGui::BeginChild(XORSTR("##Visuals1"), ImVec2(0, 736), true);
ImGui::BeginChild(XORSTR("#PlayerInfo"), ImVec2(0, 268), true);
{
ImGui::Separator();
ImGui::Text("Enemy Player Info Customizations");
ImGui::Text("Player Info Customizations");
ImGui::Separator();
ImGui::Checkbox(XORSTR("Clan"), &Settings::ESP::Info::clan);
ImGui::Checkbox(XORSTR("Rank"), &Settings::ESP::Info::rank);
ImGui::Checkbox(XORSTR("Health"), &Settings::ESP::Info::health);
ImGui::Checkbox(XORSTR("Armor"), &Settings::ESP::Info::armor);
ImGui::Checkbox(XORSTR("Scoped"), &Settings::ESP::Info::scoped);
ImGui::Checkbox(XORSTR("Flashed"), &Settings::ESP::Info::flashed);
ImGui::Checkbox(XORSTR("Defuse Kit"), &Settings::ESP::Info::hasDefuser);
ImGui::Checkbox(XORSTR("Grabbing Hostage"), &Settings::ESP::Info::grabbingHostage);
ImGui::Checkbox(XORSTR("Location"), &Settings::ESP::Info::location);
ImGui::Checkbox(XORSTR("FakeDuck"), &Settings::ESP::Info::Fakeduck);
ImGui::Checkbox(XORSTR("Name"), &Settings::ESP::Info::name);
ImGui::Checkbox(XORSTR("Steam ID"), &Settings::ESP::Info::steamId);
ImGui::Checkbox(XORSTR("Weapon"), &Settings::ESP::Info::weapon);
ImGui::Checkbox(XORSTR("Reloading"), &Settings::ESP::Info::reloading);
ImGui::Checkbox(XORSTR("Planting"), &Settings::ESP::Info::planting);
ImGui::Checkbox(XORSTR("Defusing"), &Settings::ESP::Info::defusing);
ImGui::Checkbox(XORSTR("Resolver Flags"), &Settings::ESP::Info::rescuing);
ImGui::Checkbox(XORSTR("Layers Debug"), &Settings::Debug::AnimLayers::draw);
ImGui::Checkbox(XORSTR("Choked Packets"), &Settings::ESP::Info::money);
ImGui::Columns(2, nullptr, false);
{
ImGui::Checkbox(XORSTR("Clan"), &Settings::ESP::Info::clan);
ImGui::Checkbox(XORSTR("Rank"), &Settings::ESP::Info::rank);
ImGui::Checkbox(XORSTR("Health"), &Settings::ESP::Info::health);
ImGui::Checkbox(XORSTR("Armor"), &Settings::ESP::Info::armor);
ImGui::Checkbox(XORSTR("Scoped"), &Settings::ESP::Info::scoped);
ImGui::Checkbox(XORSTR("Flashed"), &Settings::ESP::Info::flashed);
ImGui::Checkbox(XORSTR("Defuse Kit"), &Settings::ESP::Info::hasDefuser);
ImGui::Checkbox(XORSTR("Grabbing Hostage"), &Settings::ESP::Info::grabbingHostage);
ImGui::Checkbox(XORSTR("Location"), &Settings::ESP::Info::location);
ImGui::Checkbox(XORSTR("Name"), &Settings::ESP::Info::name);
}
ImGui::NextColumn();
{
ImGui::Checkbox(XORSTR("Steam ID"), &Settings::ESP::Info::steamId);
ImGui::Checkbox(XORSTR("Weapon"), &Settings::ESP::Info::weapon);
ImGui::Checkbox(XORSTR("FakeDuck"), &Settings::ESP::Info::Fakeduck);
ImGui::Checkbox(XORSTR("Reloading"), &Settings::ESP::Info::reloading);
ImGui::Checkbox(XORSTR("Planting"), &Settings::ESP::Info::planting);
ImGui::Checkbox(XORSTR("Defusing"), &Settings::ESP::Info::defusing);
ImGui::Checkbox(XORSTR("Resolver Flags"), &Settings::ESP::Info::rescuing);
ImGui::Checkbox(XORSTR("Layers Debug"), &Settings::Debug::AnimLayers::draw);
ImGui::Checkbox(XORSTR("Choked Packets"), &Settings::ESP::Info::money);
}
ImGui::EndColumns();
}
ImGui::EndChild();
}
ImGui::NextColumn();
{
ImGui::BeginChild(XORSTR("#ESSP"), ImVec2(0, 268), false);
{
// SOON
}
ImGui::EndChild();
}
Expand Down Expand Up @@ -1037,15 +995,13 @@ void VisualsMenu::RenderMainMenu(ImVec2 &pos, ImDrawList *draw, int sideTabIndex
{
ImGui::BeginChild(XORSTR("##Visuals2"), ImVec2(0, 736), true);
{

}
ImGui::EndChild();
}
ImGui::NextColumn();
{
ImGui::BeginChild(XORSTR("##Visuals2"), ImVec2(0, 736), true);
{

}
ImGui::EndChild();
}
Expand Down
6 changes: 1 addition & 5 deletions src/ATGUI/Tabs/visualstab.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,7 @@ namespace VisualsMaterialConfig
{
void RenderMainMenu(ImVec2 &pos, ImDrawList *draw, int sideTabIndex);
}
namespace VisualsGood
{
void RenderMainMenu(ImVec2 &pos, ImDrawList *draw, int sideTabIndex);
}
namespace VisualsEnemy
namespace VisualsESP
{
void RenderMainMenu(ImVec2 &pos, ImDrawList *draw, int sideTabIndex);
}
Expand Down
12 changes: 4 additions & 8 deletions src/ATGUI/Windows/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,7 @@ enum

enum
{
Enemy,
Allies,
ESP,
Local,
Materials,
Menu,
Expand All @@ -47,7 +46,7 @@ const char *TabsNames[] = {"Aimbot", "Rage", "HvH", "Visuals", "Skin Changer", "
std::initializer_list<const char *> subtabAimbot = {};
std::initializer_list<const char *> subtabRage = {};
std::initializer_list<const char *> subtabHvHTab = {};
std::initializer_list<const char *> subtabVisuals = {"Enemy", "Allies", "Local", "Materials", "Menu"};
std::initializer_list<const char *> subtabVisuals = {"ESP", "Local", "Materials", "Menu"};
std::initializer_list<const char *> subtabSkinChanger = {"Skins", "Models"};
std::initializer_list<const char *> subtabMisc = {};
std::initializer_list<const char *> subtabPlayerInfo = {};
Expand Down Expand Up @@ -134,11 +133,8 @@ static void VisualsTab()
{
switch (subtabs)
{
case Enemy:
VisualsEnemy::RenderMainMenu(pos, draw, subtabs);
break;
case Allies:
VisualsGood::RenderMainMenu(pos, draw, subtabs);
case ESP:
VisualsESP::RenderMainMenu(pos, draw, subtabs);
break;
case Local:
VisualsLocal::RenderMainMenu(pos, draw, subtabs);
Expand Down

0 comments on commit 4a486e2

Please sign in to comment.