|
|
@ -1,3 +1,7 @@
|
|
|
|
|
|
|
|
#pragma warning (disable : 4715)
|
|
|
|
|
|
|
|
#pragma warning (disable : 4005)
|
|
|
|
|
|
|
|
#pragma warning (disable : 4305)
|
|
|
|
|
|
|
|
#pragma warning (disable : 4244)
|
|
|
|
#include "overlay.h"
|
|
|
|
#include "overlay.h"
|
|
|
|
#include <fstream>
|
|
|
|
#include <fstream>
|
|
|
|
#include <iomanip>
|
|
|
|
#include <iomanip>
|
|
|
@ -76,7 +80,6 @@ extern bool optic2x4x;
|
|
|
|
extern bool opticthreat;
|
|
|
|
extern bool opticthreat;
|
|
|
|
extern bool optic3x;
|
|
|
|
extern bool optic3x;
|
|
|
|
extern bool opticholo1x2x;
|
|
|
|
extern bool opticholo1x2x;
|
|
|
|
|
|
|
|
|
|
|
|
extern bool suppressor;
|
|
|
|
extern bool suppressor;
|
|
|
|
extern bool weaponmod;
|
|
|
|
extern bool weaponmod;
|
|
|
|
extern bool grenade_frag;
|
|
|
|
extern bool grenade_frag;
|
|
|
@ -115,6 +118,12 @@ extern bool weapon_car_smg;
|
|
|
|
extern float aimdist;
|
|
|
|
extern float aimdist;
|
|
|
|
//item glow brightness
|
|
|
|
//item glow brightness
|
|
|
|
extern int itemglowbrightness;
|
|
|
|
extern int itemglowbrightness;
|
|
|
|
|
|
|
|
//Menu Stuff
|
|
|
|
|
|
|
|
int menu1 = 0;
|
|
|
|
|
|
|
|
int menu2 = 0;
|
|
|
|
|
|
|
|
int menu3 = 0;
|
|
|
|
|
|
|
|
int menu4 = 0;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
int width;
|
|
|
|
int width;
|
|
|
@ -208,45 +217,28 @@ void Overlay::RenderMenu()
|
|
|
|
ImGui::SetNextWindowPos(ImVec2(0, 0));
|
|
|
|
ImGui::SetNextWindowPos(ImVec2(0, 0));
|
|
|
|
ImGui::SetNextWindowSize(ImVec2(450, 860), ImGuiCond_Once);
|
|
|
|
ImGui::SetNextWindowSize(ImVec2(450, 860), ImGuiCond_Once);
|
|
|
|
ImGui::Begin(XorStr("##title"), (bool*)true, ImGuiWindowFlags_NoTitleBar | ImGuiWindowFlags_NoScrollbar);
|
|
|
|
ImGui::Begin(XorStr("##title"), (bool*)true, ImGuiWindowFlags_NoTitleBar | ImGuiWindowFlags_NoScrollbar);
|
|
|
|
if (ImGui::BeginTabBar(XorStr("Tab")))
|
|
|
|
//if (ImGui::BeginTabBar(XorStr("Tab")))
|
|
|
|
|
|
|
|
//{
|
|
|
|
|
|
|
|
//if (ImGui::BeginTabItem(XorStr("##")))
|
|
|
|
|
|
|
|
//{
|
|
|
|
|
|
|
|
if (ImGui::CollapsingHeader("Main Toggle Settings"))
|
|
|
|
{
|
|
|
|
{
|
|
|
|
if (ImGui::BeginTabItem(XorStr("Main")))
|
|
|
|
menu1 = 1;
|
|
|
|
{
|
|
|
|
ImGui::Sliderbox(XorStr("ESP On/Off"), &esp);
|
|
|
|
ImGui::Sliderbox(XorStr("ESP Toggle"), &esp);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
ImGui::Sliderbox(XorStr("AIM Toggle"), &aim_enable);
|
|
|
|
|
|
|
|
ImGui::Text(XorStr("Aim Distance:"));
|
|
|
|
|
|
|
|
ImGui::SameLine();
|
|
|
|
ImGui::SameLine();
|
|
|
|
ImGui::SliderFloat(XorStr("##Aim Distance"), &aimdist, 10.0f * 39.62, 1600.0f * 39.62, "##");
|
|
|
|
ImGui::Sliderbox(XorStr("AIM On/Off"), &aim_enable);
|
|
|
|
ImGui::SameLine();
|
|
|
|
ImGui::SameLine();
|
|
|
|
ImGui::TextColored(GREEN, "%.0f ", aimdist / 39.62);
|
|
|
|
ImGui::Sliderbox(XorStr("Glow Items"), &item_glow);
|
|
|
|
ImGui::RadioButton("Left Mouse Aim", &e, 1); ImGui::SameLine();
|
|
|
|
ImGui::Sliderbox(XorStr("Glow Players"), &player_glow);
|
|
|
|
ImGui::RadioButton("Right Mouse Aim", &e, 2); ImGui::SameLine();
|
|
|
|
ImGui::SameLine();
|
|
|
|
ImGui::RadioButton("Left and Right Mouse Aim", &e, 3);
|
|
|
|
ImGui::Sliderbox(XorStr("Thirdperson"), &thirdperson);
|
|
|
|
//Setting one and unsetting the other
|
|
|
|
ImGui::SameLine();
|
|
|
|
if (e == 1)
|
|
|
|
ImGui::Sliderbox(XorStr("Mini-Map Radar"), &minimapradar);
|
|
|
|
{
|
|
|
|
|
|
|
|
toggleaim = true;
|
|
|
|
|
|
|
|
toggleaim2 = false;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
else if (e == 2)
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
toggleaim = false;
|
|
|
|
|
|
|
|
toggleaim2 = true;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
else if (e == 3)
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
toggleaim = true;
|
|
|
|
|
|
|
|
toggleaim2 = true;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (aim_enable)
|
|
|
|
if (aim_enable)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
ImGui::SameLine();
|
|
|
|
|
|
|
|
ImGui::Sliderbox(XorStr("Visibility Check"), &vis_check);
|
|
|
|
ImGui::Sliderbox(XorStr("Visibility Check"), &vis_check);
|
|
|
|
ImGui::SameLine();
|
|
|
|
ImGui::SameLine();
|
|
|
|
ImGui::Sliderbox(XorStr("No Recoil/Sway"), &aim_no_recoil);
|
|
|
|
ImGui::Sliderbox(XorStr("No Recoil"), &aim_no_recoil);
|
|
|
|
if (vis_check)
|
|
|
|
if (vis_check)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
aim = 2;
|
|
|
|
aim = 2;
|
|
|
@ -260,50 +252,71 @@ void Overlay::RenderMenu()
|
|
|
|
{
|
|
|
|
{
|
|
|
|
aim = 0;
|
|
|
|
aim = 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
ImGui::Sliderbox(XorStr("Glow Items"), &item_glow);
|
|
|
|
|
|
|
|
ImGui::SameLine();
|
|
|
|
ImGui::SameLine();
|
|
|
|
ImGui::Sliderbox(XorStr("Glow Players"), &player_glow);
|
|
|
|
ImGui::Sliderbox(XorStr("Firing Range"), &firing_range);
|
|
|
|
ImGui::Sliderbox(XorStr("Thirdperson"), &thirdperson);
|
|
|
|
ImGui::Dummy(ImVec2(0.0f, 10.0f));
|
|
|
|
ImGui::Sliderbox(XorStr("Firing Range Toggle"), &firing_range);
|
|
|
|
ImGui::Text(XorStr("Aiming Distance:"));
|
|
|
|
ImGui::Sliderbox(XorStr("Mini-Map Radar"), &minimapradar);
|
|
|
|
ImGui::SameLine();
|
|
|
|
ImGui::Text(XorStr("Max distance:"));
|
|
|
|
ImGui::TextColored(GREEN, "%.f meters", aimdist / 39.62);
|
|
|
|
ImGui::SliderFloat(XorStr("##1"), &max_dist, 100.0f * 40, 3800.0f * 40, "%.2f");
|
|
|
|
ImGui::SliderFloat(XorStr("##Aim Distance"), &aimdist, 10.0f * 39.62, 1600.0f * 39.62, "##");
|
|
|
|
|
|
|
|
ImGui::Dummy(ImVec2(0.0f, 10.0f));
|
|
|
|
|
|
|
|
ImGui::Text(XorStr("Aiming Keys:"));
|
|
|
|
|
|
|
|
ImGui::RadioButton("Left Mouse", &e, 1); ImGui::SameLine();
|
|
|
|
|
|
|
|
ImGui::RadioButton("Right Mouse ", &e, 2); ImGui::SameLine();
|
|
|
|
|
|
|
|
ImGui::RadioButton("Left/Right Mouse", &e, 3);
|
|
|
|
|
|
|
|
//Setting one and unsetting the other
|
|
|
|
|
|
|
|
if (e == 1)
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
toggleaim = true;
|
|
|
|
|
|
|
|
toggleaim2 = false;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
else if (e == 2)
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
toggleaim = false;
|
|
|
|
|
|
|
|
toggleaim2 = true;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
else if (e == 3)
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
toggleaim = true;
|
|
|
|
|
|
|
|
toggleaim2 = true;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
ImGui::Dummy(ImVec2(0.0f, 10.0f));
|
|
|
|
|
|
|
|
ImGui::Text(XorStr("Max distance for everything:"));
|
|
|
|
ImGui::SameLine();
|
|
|
|
ImGui::SameLine();
|
|
|
|
ImGui::Text("(%d meters)", (int)(max_dist / 40));
|
|
|
|
ImGui::TextColored(GREEN,"%d meters", (int)(max_dist / 40));
|
|
|
|
|
|
|
|
ImGui::SliderFloat(XorStr("##1"), &max_dist, 100.0f * 40, 3800.0f * 40, "##");
|
|
|
|
|
|
|
|
ImGui::Dummy(ImVec2(0.0f, 10.0f));
|
|
|
|
ImGui::Text(XorStr("Smooth Aim Value:"));
|
|
|
|
ImGui::Text(XorStr("Smooth Aim Value:"));
|
|
|
|
ImGui::SliderFloat(XorStr("##2"), &smooth, 85.0f, 150.0f, "%.2f");
|
|
|
|
ImGui::SameLine();
|
|
|
|
|
|
|
|
ImGui::TextColored(GREEN, "%.f", smooth);
|
|
|
|
|
|
|
|
ImGui::SliderFloat(XorStr("##2"), &smooth, 85.0f, 150.0f, "##");
|
|
|
|
ImGui::SameLine();
|
|
|
|
ImGui::SameLine();
|
|
|
|
ImGui::Text(XorStr("85 To 100 Is Safe"));
|
|
|
|
ImGui::Text(XorStr("85 To 100 Is Safe"));
|
|
|
|
|
|
|
|
ImGui::Dummy(ImVec2(0.0f, 10.0f));
|
|
|
|
ImGui::Text(XorStr("Max FOV:"));
|
|
|
|
ImGui::Text(XorStr("Max FOV:"));
|
|
|
|
ImGui::SliderFloat(XorStr("##3"), &max_fov, 1.0f, 50.0f, "%.2f");
|
|
|
|
ImGui::SameLine();
|
|
|
|
|
|
|
|
ImGui::TextColored(GREEN, "%.f", max_fov);
|
|
|
|
|
|
|
|
ImGui::SliderFloat(XorStr("##3"), &max_fov, 1.0f, 50.0f, "##");
|
|
|
|
|
|
|
|
ImGui::Dummy(ImVec2(0.0f, 10.0f));
|
|
|
|
ImGui::Text(XorStr("Aiming Bone:"));
|
|
|
|
ImGui::Text(XorStr("Aiming Bone:"));
|
|
|
|
ImGui::Text(XorStr("0=Head, 1=Neck, 2=Chest, 3=Stomach"));
|
|
|
|
ImGui::Text(XorStr("0=Head, 1=Neck, 2=Chest, 3=Stomach"));
|
|
|
|
ImGui::SliderInt(XorStr("##bone slider"), &bone, 0, 3);
|
|
|
|
ImGui::SliderInt(XorStr("##bone slider"), &bone, 0, 3);
|
|
|
|
ImGui::Text(XorStr("ESP options:"));
|
|
|
|
ImGui::Dummy(ImVec2(0.0f, 10.0f));
|
|
|
|
|
|
|
|
ImGui::Text(XorStr("ESP Options:"));
|
|
|
|
ImGui::Sliderbox(XorStr("Distance"), &v.distance);
|
|
|
|
ImGui::Sliderbox(XorStr("Distance"), &v.distance);
|
|
|
|
ImGui::SameLine();
|
|
|
|
ImGui::SameLine();
|
|
|
|
ImGui::Sliderbox(XorStr("Health bar"), &v.healthbar);
|
|
|
|
ImGui::Sliderbox(XorStr("Health bar"), &v.healthbar);
|
|
|
|
ImGui::SameLine();
|
|
|
|
ImGui::SameLine();
|
|
|
|
ImGui::Sliderbox(XorStr("Shield bar"), &v.shieldbar);
|
|
|
|
ImGui::Sliderbox(XorStr("Shield bar"), &v.shieldbar);
|
|
|
|
//Glow Color
|
|
|
|
ImGui::Dummy(ImVec2(0.0f, 10.0f));
|
|
|
|
ImGui::Text(XorStr("Item Glow Brightness:"));
|
|
|
|
ImGui::Text(XorStr("Player Glow Color:"));
|
|
|
|
ImGui::SliderInt(XorStr("##itemglowbright"), &itemglowbrightness, 2, 40, "%d");
|
|
|
|
|
|
|
|
ImGui::Text(XorStr("Glow Color Picker:"));
|
|
|
|
|
|
|
|
ImGui::ColorEdit3("##Glow Color Picker", glowcolor);
|
|
|
|
ImGui::ColorEdit3("##Glow Color Picker", glowcolor);
|
|
|
|
{
|
|
|
|
{
|
|
|
|
glowr = glowcolor[0] * 250;
|
|
|
|
glowr = glowcolor[0] * 250;
|
|
|
|
glowg = glowcolor[1] * 250;
|
|
|
|
glowg = glowcolor[1] * 250;
|
|
|
|
glowb = glowcolor[2] * 250;
|
|
|
|
glowb = glowcolor[2] * 250;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
//Radar Color
|
|
|
|
ImGui::Dummy(ImVec2(0.0f, 10.0f));
|
|
|
|
ImGui::Text(XorStr("Radar Color Picker:"));
|
|
|
|
|
|
|
|
ImGui::ColorEdit3("##Radar Color Picker", radarcolor);
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
radarcolorr = radarcolor[0] * 250;
|
|
|
|
|
|
|
|
radarcolorg = radarcolor[1] * 250;
|
|
|
|
|
|
|
|
radarcolorb = radarcolor[2] * 250;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
ImGui::Text(XorStr("Saving and Loading. Need to Save Once to make the file."));
|
|
|
|
ImGui::Text(XorStr("Saving and Loading. Need to Save Once to make the file."));
|
|
|
|
//Saving
|
|
|
|
//Saving
|
|
|
|
if (ImGui::Button("Save Config"))
|
|
|
|
if (ImGui::Button("Save Config"))
|
|
|
@ -533,10 +546,18 @@ void Overlay::RenderMenu()
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
ImGui::EndTabItem();
|
|
|
|
ImGui::Dummy(ImVec2(0.0f, 10.0f));
|
|
|
|
|
|
|
|
if (menu1 == 1)
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
ImGui::GetStateStorage()->SetInt(ImGui::GetID("Weapone Filter Settings"), 0);
|
|
|
|
|
|
|
|
ImGui::GetStateStorage()->SetInt(ImGui::GetID("Item Filter Settings"), 0);
|
|
|
|
|
|
|
|
ImGui::GetStateStorage()->SetInt(ImGui::GetID("Radar Settings"), 0);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if (ImGui::BeginTabItem(XorStr("Radar")))
|
|
|
|
if (ImGui::CollapsingHeader("Radar Settings"))
|
|
|
|
{
|
|
|
|
{
|
|
|
|
|
|
|
|
menu2 = 1;
|
|
|
|
//Dot Size for both mini and main map
|
|
|
|
//Dot Size for both mini and main map
|
|
|
|
ImGui::Text(XorStr("MiniMap Radar Dot Size"));
|
|
|
|
ImGui::Text(XorStr("MiniMap Radar Dot Size"));
|
|
|
|
ImGui::SliderInt(XorStr("MiniMap Dot Width"), &minimapradardotsize1, 1, 10);
|
|
|
|
ImGui::SliderInt(XorStr("MiniMap Dot Width"), &minimapradardotsize1, 1, 10);
|
|
|
@ -544,85 +565,128 @@ void Overlay::RenderMenu()
|
|
|
|
ImGui::Text(XorStr("Main Map Radar Dot Size"));
|
|
|
|
ImGui::Text(XorStr("Main Map Radar Dot Size"));
|
|
|
|
ImGui::SliderInt(XorStr("Main Map Dot Width"), &mainmapradardotsize1, 1, 10);
|
|
|
|
ImGui::SliderInt(XorStr("Main Map Dot Width"), &mainmapradardotsize1, 1, 10);
|
|
|
|
ImGui::SliderInt(XorStr("Main Map Dot length"), &mainmapradardotsize2, 1, 10);
|
|
|
|
ImGui::SliderInt(XorStr("Main Map Dot length"), &mainmapradardotsize2, 1, 10);
|
|
|
|
|
|
|
|
/*//Radar Color
|
|
|
|
ImGui::EndTabItem();
|
|
|
|
ImGui::Text(XorStr("Radar Color Picker:"));
|
|
|
|
|
|
|
|
ImGui::ColorEdit3("##Radar Color Picker", radarcolor);
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
radarcolorr = radarcolor[0] * 250;
|
|
|
|
|
|
|
|
radarcolorg = radarcolor[1] * 250;
|
|
|
|
|
|
|
|
radarcolorb = radarcolor[2] * 250;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if (ImGui::BeginTabItem(XorStr("Item Filter List")))
|
|
|
|
*/
|
|
|
|
|
|
|
|
ImGui::Dummy(ImVec2(0.0f, 10.0f));
|
|
|
|
|
|
|
|
if (menu2 == 1)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
//Dot Size for both mini and main map
|
|
|
|
ImGui::GetStateStorage()->SetInt(ImGui::GetID("Weapone Filter Settings"), 0);
|
|
|
|
|
|
|
|
ImGui::GetStateStorage()->SetInt(ImGui::GetID("Item Filter Settings"), 0);
|
|
|
|
|
|
|
|
ImGui::GetStateStorage()->SetInt(ImGui::GetID("Main Toggle Settings"), 0);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
if (ImGui::CollapsingHeader("Item Filter Settings"))
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
menu3 = 1;
|
|
|
|
ImGui::Text(XorStr("Ammo"));
|
|
|
|
ImGui::Text(XorStr("Ammo"));
|
|
|
|
ImGui::Sliderbox(XorStr("Sniper"), &ammosniper);
|
|
|
|
ImGui::Dummy(ImVec2(0.0f, 1.0f));
|
|
|
|
|
|
|
|
ImGui::Sliderbox(XorStr("Sniper Ammo"), &ammosniper);
|
|
|
|
|
|
|
|
ImGui::SameLine();
|
|
|
|
|
|
|
|
ImGui::Sliderbox(XorStr("Heavy Ammo"), &ammohc);
|
|
|
|
|
|
|
|
ImGui::SameLine();
|
|
|
|
|
|
|
|
ImGui::Sliderbox(XorStr("Light Ammo"), &ammosc);
|
|
|
|
|
|
|
|
ImGui::Sliderbox(XorStr("Energy Ammo"), &ammonrg);
|
|
|
|
ImGui::SameLine();
|
|
|
|
ImGui::SameLine();
|
|
|
|
ImGui::Sliderbox(XorStr("Heavy"), &ammohc);
|
|
|
|
ImGui::Sliderbox(XorStr("Shotgun Ammo"), &ammoshotgun);
|
|
|
|
|
|
|
|
ImGui::Dummy(ImVec2(0.0f, 10.0f));
|
|
|
|
|
|
|
|
ImGui::Text(XorStr("Ammo Mags"));
|
|
|
|
|
|
|
|
ImGui::Dummy(ImVec2(0.0f, 1.0f));
|
|
|
|
|
|
|
|
ImGui::Sliderbox(XorStr("Sniper"), &magsniper);
|
|
|
|
ImGui::SameLine();
|
|
|
|
ImGui::SameLine();
|
|
|
|
ImGui::Sliderbox(XorStr("Light"), &ammosc);
|
|
|
|
ImGui::Sliderbox(XorStr("Heavy"), &heavyammomag);
|
|
|
|
ImGui::Sliderbox(XorStr("Energy"), &ammonrg);
|
|
|
|
ImGui::Sliderbox(XorStr("Light"), &lightammomag);
|
|
|
|
ImGui::SameLine();
|
|
|
|
ImGui::SameLine();
|
|
|
|
ImGui::Sliderbox(XorStr("Shotgun"), &ammoshotgun);
|
|
|
|
ImGui::Sliderbox(XorStr("Energy "), &magenergy);
|
|
|
|
ImGui::Text(XorStr("Ammo Mag's"));
|
|
|
|
ImGui::Dummy(ImVec2(0.0f, 10.0f));
|
|
|
|
ImGui::Sliderbox(XorStr("Sniper Mag"), &magsniper);
|
|
|
|
ImGui::Text(XorStr("HCOGs"));
|
|
|
|
|
|
|
|
ImGui::Dummy(ImVec2(0.0f, 1.0f));
|
|
|
|
|
|
|
|
ImGui::Sliderbox(XorStr("1x HCOG"), &optic);
|
|
|
|
ImGui::SameLine();
|
|
|
|
ImGui::SameLine();
|
|
|
|
ImGui::Sliderbox(XorStr("Energy Mag"), &magenergy);
|
|
|
|
ImGui::Sliderbox(XorStr("2x HCOG"), &optic2x);
|
|
|
|
ImGui::SameLine();
|
|
|
|
ImGui::SameLine();
|
|
|
|
ImGui::Sliderbox(XorStr("Light Mag"), &lightammomag);
|
|
|
|
ImGui::Sliderbox(XorStr("3x HCOG"), &optic3x);
|
|
|
|
ImGui::Sliderbox(XorStr("Heavy Mag"), &heavyammomag);
|
|
|
|
|
|
|
|
ImGui::Text(XorStr("Optic's"));
|
|
|
|
|
|
|
|
ImGui::Sliderbox(XorStr("Optic's 1x HCOG"), &optic);
|
|
|
|
|
|
|
|
ImGui::SameLine();
|
|
|
|
ImGui::SameLine();
|
|
|
|
ImGui::Sliderbox(XorStr("Optic's 1x Holo"), &opticholo1x);
|
|
|
|
ImGui::Sliderbox(XorStr("2-4x"), &optic2x4x);
|
|
|
|
ImGui::Sliderbox(XorStr("Optic's 2x HCOG"), &optic2x);
|
|
|
|
ImGui::Text(XorStr("Snipers"));
|
|
|
|
|
|
|
|
ImGui::Dummy(ImVec2(0.0f, 1.0f));
|
|
|
|
ImGui::Sliderbox(XorStr("Sniper 6x"), &opticsniper6x);
|
|
|
|
ImGui::Sliderbox(XorStr("Sniper 6x"), &opticsniper6x);
|
|
|
|
ImGui::SameLine();
|
|
|
|
ImGui::SameLine();
|
|
|
|
ImGui::Sliderbox(XorStr("Sniper 4-8x"), &opticsniper4x8x);
|
|
|
|
ImGui::Sliderbox(XorStr("Sniper 4-8x"), &opticsniper4x8x);
|
|
|
|
ImGui::SameLine();
|
|
|
|
ImGui::SameLine();
|
|
|
|
ImGui::Sliderbox(XorStr("Sniper Threat"), &opticsniperthreat);
|
|
|
|
ImGui::Sliderbox(XorStr("Sniper Threat"), &opticsniperthreat);
|
|
|
|
ImGui::Sliderbox(XorStr("Optic's 2-4x"), &optic2x4x);
|
|
|
|
ImGui::Dummy(ImVec2(0.0f, 10.0f));
|
|
|
|
|
|
|
|
ImGui::Text(XorStr("Holo's"));
|
|
|
|
|
|
|
|
ImGui::Dummy(ImVec2(0.0f, 1.0f));
|
|
|
|
|
|
|
|
ImGui::Sliderbox(XorStr("1x Holo"), &opticholo1x);
|
|
|
|
ImGui::SameLine();
|
|
|
|
ImGui::SameLine();
|
|
|
|
ImGui::Sliderbox(XorStr("Optic's Threat"), &opticthreat);
|
|
|
|
ImGui::Sliderbox(XorStr("2x Holo"), &opticholo1x2x);
|
|
|
|
ImGui::SameLine();
|
|
|
|
ImGui::SameLine();
|
|
|
|
ImGui::Sliderbox(XorStr("Optic's 3x HCOG"), &optic3x);
|
|
|
|
ImGui::Sliderbox(XorStr("1x Threat"), &opticthreat);
|
|
|
|
ImGui::Sliderbox(XorStr("Optic's 2x Holo"), &opticholo1x2x);
|
|
|
|
ImGui::Dummy(ImVec2(0.0f, 10.0f));
|
|
|
|
ImGui::Text(XorStr("Backpack's"));
|
|
|
|
ImGui::Text(XorStr("Backpacks"));
|
|
|
|
ImGui::Sliderbox(XorStr("Light Backpack"), &lightbackpack);
|
|
|
|
ImGui::Sliderbox(XorStr("Light"), &lightbackpack);
|
|
|
|
ImGui::SameLine();
|
|
|
|
ImGui::SameLine();
|
|
|
|
ImGui::Sliderbox(XorStr("Medium Backpack"), &medbackpack);
|
|
|
|
ImGui::Sliderbox(XorStr("Medium"), &medbackpack);
|
|
|
|
ImGui::SameLine();
|
|
|
|
ImGui::SameLine();
|
|
|
|
ImGui::Sliderbox(XorStr("Heavy Backpack"), &heavybackpack);
|
|
|
|
ImGui::Sliderbox(XorStr("Heavy"), &heavybackpack);
|
|
|
|
|
|
|
|
ImGui::Dummy(ImVec2(0.0f, 10.0f));
|
|
|
|
ImGui::Text(XorStr("Shield's"));
|
|
|
|
ImGui::Text(XorStr("Shield's"));
|
|
|
|
ImGui::Sliderbox(XorStr("Shield's"), &shieldupgrade);
|
|
|
|
ImGui::Sliderbox(XorStr("Armor"), &shieldupgrade);
|
|
|
|
ImGui::SameLine();
|
|
|
|
ImGui::SameLine();
|
|
|
|
ImGui::Sliderbox(XorStr("Helmet's"), &shieldupgradehead);
|
|
|
|
ImGui::Sliderbox(XorStr("Helmets"), &shieldupgradehead);
|
|
|
|
ImGui::Text(XorStr("Heal's"));
|
|
|
|
|
|
|
|
ImGui::Sliderbox(XorStr("Phoenix Kit"), &phoenix);
|
|
|
|
|
|
|
|
ImGui::SameLine();
|
|
|
|
ImGui::SameLine();
|
|
|
|
|
|
|
|
ImGui::Sliderbox(XorStr("Knockdown"), &shielddown);
|
|
|
|
|
|
|
|
ImGui::Dummy(ImVec2(0.0f, 10.0f));
|
|
|
|
|
|
|
|
ImGui::TextColored(GREEN, "Heals for Health");
|
|
|
|
|
|
|
|
ImGui::Dummy(ImVec2(0.0f, 10.0f));
|
|
|
|
ImGui::Sliderbox(XorStr("Large Health"), &healthlarge);
|
|
|
|
ImGui::Sliderbox(XorStr("Large Health"), &healthlarge);
|
|
|
|
ImGui::SameLine();
|
|
|
|
ImGui::SameLine();
|
|
|
|
ImGui::Sliderbox(XorStr("Small Health"), &healthsmall);
|
|
|
|
ImGui::Sliderbox(XorStr("Small Health"), &healthsmall);
|
|
|
|
ImGui::Sliderbox(XorStr("Small Shield"), &shieldbattsmall);
|
|
|
|
|
|
|
|
ImGui::SameLine();
|
|
|
|
ImGui::SameLine();
|
|
|
|
|
|
|
|
ImGui::Sliderbox(XorStr("Phoenix Kit"), &phoenix);
|
|
|
|
|
|
|
|
ImGui::Dummy(ImVec2(0.0f, 10.0f));
|
|
|
|
|
|
|
|
ImGui::TextColored(BLUE, "Heals for Shields");
|
|
|
|
|
|
|
|
ImGui::Dummy(ImVec2(0.0f, 10.0f));
|
|
|
|
ImGui::Sliderbox(XorStr("Large Shield"), &shieldbattlarge);
|
|
|
|
ImGui::Sliderbox(XorStr("Large Shield"), &shieldbattlarge);
|
|
|
|
ImGui::Sliderbox(XorStr("Knockdown Shield"), &shielddown);
|
|
|
|
ImGui::SameLine();
|
|
|
|
|
|
|
|
ImGui::Sliderbox(XorStr("Small Shield"), &shieldbattsmall);
|
|
|
|
|
|
|
|
ImGui::SameLine();
|
|
|
|
ImGui::Sliderbox(XorStr("Ultimate Accelerant"), &accelerant);
|
|
|
|
ImGui::Sliderbox(XorStr("Ultimate Accelerant"), &accelerant);
|
|
|
|
ImGui::Text(XorStr("Attachement's"));
|
|
|
|
ImGui::Dummy(ImVec2(0.0f, 10.0f));
|
|
|
|
|
|
|
|
ImGui::Text(XorStr("Attachements"));
|
|
|
|
|
|
|
|
ImGui::Dummy(ImVec2(0.0f, 5.0f));
|
|
|
|
ImGui::Sliderbox(XorStr("Lasersight"), &lasersight);
|
|
|
|
ImGui::Sliderbox(XorStr("Lasersight"), &lasersight);
|
|
|
|
ImGui::SameLine();
|
|
|
|
ImGui::SameLine();
|
|
|
|
ImGui::Sliderbox(XorStr("Sniper Stock"), &stocksniper);
|
|
|
|
ImGui::Sliderbox(XorStr("Sniper Stock"), &stocksniper);
|
|
|
|
ImGui::SameLine();
|
|
|
|
ImGui::SameLine();
|
|
|
|
ImGui::Sliderbox(XorStr("Regular Stock"), &stockregular);
|
|
|
|
ImGui::Sliderbox(XorStr("Regular Stock"), &stockregular);
|
|
|
|
ImGui::Sliderbox(XorStr("Suppressor"), &suppressor);
|
|
|
|
ImGui::Sliderbox(XorStr("Suppressor"), &suppressor);
|
|
|
|
ImGui::Sliderbox(XorStr("Weapon Mod's"), &weaponmod);
|
|
|
|
ImGui::SameLine();
|
|
|
|
|
|
|
|
ImGui::Sliderbox(XorStr("Weapon Mods"), &weaponmod);
|
|
|
|
|
|
|
|
ImGui::Dummy(ImVec2(0.0f, 10.0f));
|
|
|
|
|
|
|
|
ImGui::Text(XorStr("Item Glow Brightness:"));
|
|
|
|
|
|
|
|
ImGui::SliderInt(XorStr("##itemglowbright"), &itemglowbrightness, 2, 40, "%d");
|
|
|
|
|
|
|
|
ImGui::Dummy(ImVec2(0.0f, 10.0f));
|
|
|
|
ImGui::EndTabItem();
|
|
|
|
if (menu3 == 1)
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
ImGui::GetStateStorage()->SetInt(ImGui::GetID("Weapone Filter Settings"), 0);
|
|
|
|
|
|
|
|
ImGui::GetStateStorage()->SetInt(ImGui::GetID("Radar Settings"), 0);
|
|
|
|
|
|
|
|
ImGui::GetStateStorage()->SetInt(ImGui::GetID("Main Toggle Settings"), 0);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if (ImGui::BeginTabItem(XorStr("Weapon Filter List")))
|
|
|
|
}
|
|
|
|
|
|
|
|
if (ImGui::CollapsingHeader("Weapone Filter Settings"))
|
|
|
|
{
|
|
|
|
{
|
|
|
|
|
|
|
|
menu4 = 1;
|
|
|
|
//Light Weapons
|
|
|
|
//Light Weapons
|
|
|
|
ImGui::Text(XorStr("Light Ammo Weapon's"));
|
|
|
|
ImGui::TextColored(ORANGE, "Light Weapons");
|
|
|
|
|
|
|
|
ImGui::Dummy(ImVec2(0.0f, 10.0f));
|
|
|
|
ImGui::Sliderbox(XorStr("P2020"), &weapon_p2020);
|
|
|
|
ImGui::Sliderbox(XorStr("P2020"), &weapon_p2020);
|
|
|
|
ImGui::SameLine();
|
|
|
|
ImGui::SameLine();
|
|
|
|
ImGui::Sliderbox(XorStr("RE-45"), &weapon_re45);
|
|
|
|
ImGui::Sliderbox(XorStr("RE-45"), &weapon_re45);
|
|
|
@ -635,9 +699,10 @@ void Overlay::RenderMenu()
|
|
|
|
ImGui::Sliderbox(XorStr("R-301"), &weapon_r301);
|
|
|
|
ImGui::Sliderbox(XorStr("R-301"), &weapon_r301);
|
|
|
|
ImGui::SameLine();
|
|
|
|
ImGui::SameLine();
|
|
|
|
ImGui::Sliderbox(XorStr("Alternator "), &weapon_alternator);
|
|
|
|
ImGui::Sliderbox(XorStr("Alternator "), &weapon_alternator);
|
|
|
|
|
|
|
|
ImGui::Dummy(ImVec2(0.0f, 10.0f));
|
|
|
|
//Heavy Weapons
|
|
|
|
//Heavy Weapons
|
|
|
|
ImGui::Text(XorStr("Heavy Ammo Weapon's"));
|
|
|
|
ImGui::TextColored(TEAL, "Heavy Weapons");
|
|
|
|
|
|
|
|
ImGui::Dummy(ImVec2(0.0f, 10.0f));
|
|
|
|
ImGui::Sliderbox(XorStr("C.A.R."), &weapon_car_smg);
|
|
|
|
ImGui::Sliderbox(XorStr("C.A.R."), &weapon_car_smg);
|
|
|
|
ImGui::SameLine();
|
|
|
|
ImGui::SameLine();
|
|
|
|
ImGui::Sliderbox(XorStr("Flatline"), &weapon_flatline);
|
|
|
|
ImGui::Sliderbox(XorStr("Flatline"), &weapon_flatline);
|
|
|
@ -647,7 +712,9 @@ void Overlay::RenderMenu()
|
|
|
|
ImGui::SameLine();
|
|
|
|
ImGui::SameLine();
|
|
|
|
ImGui::Sliderbox(XorStr("30-30"), &weapon_3030_repeater);
|
|
|
|
ImGui::Sliderbox(XorStr("30-30"), &weapon_3030_repeater);
|
|
|
|
//Energy Weapons
|
|
|
|
//Energy Weapons
|
|
|
|
ImGui::Text(XorStr("Energy Ammo Weapon's"));
|
|
|
|
ImGui::Dummy(ImVec2(0.0f, 10.0f));
|
|
|
|
|
|
|
|
ImGui::TextColored(YELLOW, "Energy Weapons");
|
|
|
|
|
|
|
|
ImGui::Dummy(ImVec2(0.0f, 10.0f));
|
|
|
|
ImGui::Sliderbox(XorStr("Triple Take"), &weapon_triple_take);
|
|
|
|
ImGui::Sliderbox(XorStr("Triple Take"), &weapon_triple_take);
|
|
|
|
ImGui::SameLine();
|
|
|
|
ImGui::SameLine();
|
|
|
|
ImGui::Sliderbox(XorStr("L-STAR"), &weapon_lstar);
|
|
|
|
ImGui::Sliderbox(XorStr("L-STAR"), &weapon_lstar);
|
|
|
@ -657,7 +724,9 @@ void Overlay::RenderMenu()
|
|
|
|
ImGui::SameLine();
|
|
|
|
ImGui::SameLine();
|
|
|
|
ImGui::Sliderbox(XorStr("HAVOC"), &weapon_havoc);
|
|
|
|
ImGui::Sliderbox(XorStr("HAVOC"), &weapon_havoc);
|
|
|
|
//Shotgun Weapons
|
|
|
|
//Shotgun Weapons
|
|
|
|
ImGui::Text(XorStr("Shotgun Ammo Weapon's"));
|
|
|
|
ImGui::Dummy(ImVec2(0.0f, 10.0f));
|
|
|
|
|
|
|
|
ImGui::TextColored(RED, "Shotgun Weapons");
|
|
|
|
|
|
|
|
ImGui::Dummy(ImVec2(0.0f, 10.0f));
|
|
|
|
ImGui::Sliderbox(XorStr("EVA-8"), &weapon_eva8);
|
|
|
|
ImGui::Sliderbox(XorStr("EVA-8"), &weapon_eva8);
|
|
|
|
ImGui::SameLine();
|
|
|
|
ImGui::SameLine();
|
|
|
|
ImGui::Sliderbox(XorStr("Mozambique"), &weapon_mozambique);
|
|
|
|
ImGui::Sliderbox(XorStr("Mozambique"), &weapon_mozambique);
|
|
|
@ -666,7 +735,9 @@ void Overlay::RenderMenu()
|
|
|
|
ImGui::SameLine();
|
|
|
|
ImGui::SameLine();
|
|
|
|
ImGui::Sliderbox(XorStr("Mastiff"), &weapon_mastiff);
|
|
|
|
ImGui::Sliderbox(XorStr("Mastiff"), &weapon_mastiff);
|
|
|
|
//Sniper Weapons
|
|
|
|
//Sniper Weapons
|
|
|
|
ImGui::Text(XorStr("Sniper Ammo Weapon's"));
|
|
|
|
ImGui::Dummy(ImVec2(0.0f, 10.0f));
|
|
|
|
|
|
|
|
ImGui::TextColored(BLUE, "Sniper Weapons");
|
|
|
|
|
|
|
|
ImGui::Dummy(ImVec2(0.0f, 10.0f));
|
|
|
|
ImGui::Sliderbox(XorStr("Charge Rifle"), &weapon_charge_rifle);
|
|
|
|
ImGui::Sliderbox(XorStr("Charge Rifle"), &weapon_charge_rifle);
|
|
|
|
ImGui::SameLine();
|
|
|
|
ImGui::SameLine();
|
|
|
|
ImGui::Sliderbox(XorStr("Longbow"), &weapon_longbow);
|
|
|
|
ImGui::Sliderbox(XorStr("Longbow"), &weapon_longbow);
|
|
|
@ -674,16 +745,29 @@ void Overlay::RenderMenu()
|
|
|
|
ImGui::Sliderbox(XorStr("Sentinel"), &weapon_sentinel);
|
|
|
|
ImGui::Sliderbox(XorStr("Sentinel"), &weapon_sentinel);
|
|
|
|
ImGui::Sliderbox(XorStr("Wingman "), &weapon_wingman);
|
|
|
|
ImGui::Sliderbox(XorStr("Wingman "), &weapon_wingman);
|
|
|
|
//KRABER
|
|
|
|
//KRABER
|
|
|
|
|
|
|
|
ImGui::Dummy(ImVec2(0.0f, 10.0f));
|
|
|
|
ImGui::Text(XorStr("The Kraber"));
|
|
|
|
ImGui::Text(XorStr("The Kraber"));
|
|
|
|
|
|
|
|
ImGui::Dummy(ImVec2(0.0f, 10.0f));
|
|
|
|
ImGui::Sliderbox(XorStr("Kraber .50-Cal Sniper"), &weapon_kraber);
|
|
|
|
ImGui::Sliderbox(XorStr("Kraber .50-Cal Sniper"), &weapon_kraber);
|
|
|
|
|
|
|
|
ImGui::Dummy(ImVec2(0.0f, 10.0f));
|
|
|
|
|
|
|
|
ImGui::Text(XorStr("Item Glow Brightness:"));
|
|
|
|
|
|
|
|
ImGui::SliderInt(XorStr("##itemglowbright"), &itemglowbrightness, 2, 40, "%d");
|
|
|
|
|
|
|
|
ImGui::Dummy(ImVec2(0.0f, 10.0f));
|
|
|
|
|
|
|
|
if (menu4 == 1)
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
ImGui::GetStateStorage()->SetInt(ImGui::GetID("Item Filter Settings"), 0);
|
|
|
|
|
|
|
|
ImGui::GetStateStorage()->SetInt(ImGui::GetID("Radar Settings"), 0);
|
|
|
|
|
|
|
|
ImGui::GetStateStorage()->SetInt(ImGui::GetID("Main Toggle Settings"), 0);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
//ImGui::EndTabItem();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//ImGui::EndTabBar();
|
|
|
|
ImGui::EndTabItem();
|
|
|
|
//}
|
|
|
|
}
|
|
|
|
ImGui::Dummy(ImVec2(0.0f, 10.0f));
|
|
|
|
ImGui::EndTabBar();
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
ImGui::Text(XorStr("Overlay FPS: %.3f ms/frame (%.1f FPS)"), 1000.0f / ImGui::GetIO().Framerate, ImGui::GetIO().Framerate);
|
|
|
|
ImGui::Text(XorStr("Overlay FPS: %.3f ms/frame (%.1f FPS)"), 1000.0f / ImGui::GetIO().Framerate, ImGui::GetIO().Framerate);
|
|
|
|
ImGui::End();
|
|
|
|
ImGui::End();
|
|
|
|
}
|
|
|
|
}
|
|
|
|