From 1410655dc0ab2d14dc31bfa57aec19832f82b192 Mon Sep 17 00:00:00 2001 From: NerfBatInc <112824641+NerfBatInc@users.noreply.github.com> Date: Tue, 27 Sep 2022 01:01:02 -0400 Subject: [PATCH] added save and load to filter added save and load to filter --- apex_guest/Client/Client/main.cpp | 70 ++++++++++++- apex_guest/Client/Client/overlay.cpp | 142 ++++++++++++++++++++++++++- 2 files changed, 210 insertions(+), 2 deletions(-) diff --git a/apex_guest/Client/Client/main.cpp b/apex_guest/Client/Client/main.cpp index 33fd169..69a3b06 100644 --- a/apex_guest/Client/Client/main.cpp +++ b/apex_guest/Client/Client/main.cpp @@ -831,7 +831,75 @@ int main(int argc, char** argv) config >> v.distance; config >> thirdperson; config >> minimapradar; - //config >> item_current; // no idea how to imput a string of words + config >> lightbackpack; + config >> medbackpack; + config >> heavybackpack; + config >> shieldupgrade; + config >> shieldupgradehead; + config >> accelerant; + config >> phoenix; + config >> healthlarge; + config >> healthsmall; + config >> shieldbattsmall; + config >> shieldbattlarge; + config >> ammosniper; + config >> ammohc; + config >> optic; + config >> ammosc;; + config >> ammonrg; + config >> ammoshotgun; + config >> lasersight;; + config >> magsniper; + config >> magenergy; + config >> stocksniper; + config >> stockregular; + config >> shielddown; + config >> lightammomag; + config >> heavyammomag; + config >> optic2x; + config >> opticholo1x; + config >> opticsniper6x; + config >> opticsniper4x8x; + config >> opticsniperthreat; + config >> optic2x4x; + config >> opticthreat; + config >> optic3x; + config >> opticholo1x2x; + + config >> suppressor; + config >> weaponmod; + config >> grenade_frag; + config >> grenade_arc_star; + config >> grenade_thermite; + config >> shotgunbolt; + config >> weapon_kraber; + config >> weapon_mastiff; + config >> weapon_lstar; + config >> weapon_havoc; + config >> weapon_devotion; + config >> weapon_triple_take; + config >> weapon_flatline; + config >> weapon_hemlock; + config >> weapon_g7_scout; + config >> weapon_alternator; + config >> weapon_r99; + config >> weapon_prowler; + config >> weapon_volt; + config >> weapon_longbow; + config >> weapon_charge_rifle; + config >> weapon_spitfire; + config >> weapon_r301; + config >> weapon_eva8; + config >> weapon_peacekeeper; + config >> weapon_mozambique; + config >> weapon_wingman; + config >> weapon_p2020; + config >> weapon_re45; + config >> weapon_sentinel; + config >> weapon_bow; + config >> weapon_3030_repeater; + config >> weapon_rampage; + config >> weapon_car_smg; config.close(); } } diff --git a/apex_guest/Client/Client/overlay.cpp b/apex_guest/Client/Client/overlay.cpp index c1b3903..8a351bd 100644 --- a/apex_guest/Client/Client/overlay.cpp +++ b/apex_guest/Client/Client/overlay.cpp @@ -302,7 +302,78 @@ void Overlay::RenderMenu() config << v.shieldbar << "\n"; config << v.distance << "\n"; config << thirdperson << "\n"; - config << std::boolalpha << minimapradar; + config << std::boolalpha << minimapradar << "\n"; + + config << std::boolalpha << lightbackpack << "\n"; + config << std::boolalpha << medbackpack << "\n"; + config << std::boolalpha << heavybackpack << "\n"; + config << std::boolalpha << shieldupgrade << "\n"; + config << std::boolalpha << shieldupgradehead << "\n"; + config << std::boolalpha << accelerant << "\n"; + config << std::boolalpha << phoenix << "\n"; + config << std::boolalpha << healthlarge << "\n"; + config << std::boolalpha << healthsmall << "\n"; + config << std::boolalpha << shieldbattsmall << "\n"; + config << std::boolalpha << shieldbattlarge << "\n"; + config << std::boolalpha << ammosniper << "\n"; + config << std::boolalpha << ammohc << "\n"; + config << std::boolalpha << optic << "\n"; + config << std::boolalpha << ammosc << "\n"; + config << std::boolalpha << ammonrg << "\n"; + config << std::boolalpha << ammoshotgun << "\n"; + config << std::boolalpha << lasersight << "\n"; + config << std::boolalpha << magsniper << "\n"; + config << std::boolalpha << magenergy << "\n"; + config << std::boolalpha << stocksniper << "\n"; + config << std::boolalpha << stockregular << "\n"; + config << std::boolalpha << shielddown << "\n"; + config << std::boolalpha << lightammomag << "\n"; + config << std::boolalpha << heavyammomag << "\n"; + config << std::boolalpha << optic2x << "\n"; + config << std::boolalpha << opticholo1x << "\n"; + config << std::boolalpha << opticsniper6x << "\n"; + config << std::boolalpha << opticsniper4x8x << "\n"; + config << std::boolalpha << opticsniperthreat << "\n"; + config << std::boolalpha << optic2x4x << "\n"; + config << std::boolalpha << opticthreat << "\n"; + config << std::boolalpha << optic3x << "\n"; + config << std::boolalpha << opticholo1x2x << "\n"; + + config << std::boolalpha << suppressor << "\n"; + config << std::boolalpha << weaponmod << "\n"; + config << std::boolalpha << grenade_frag << "\n"; + config << std::boolalpha << grenade_arc_star << "\n"; + config << std::boolalpha << grenade_thermite << "\n"; + config << std::boolalpha << shotgunbolt << "\n"; + config << std::boolalpha << weapon_kraber << "\n"; + config << std::boolalpha << weapon_mastiff << "\n"; + config << std::boolalpha << weapon_lstar << "\n"; + config << std::boolalpha << weapon_havoc << "\n"; + config << std::boolalpha << weapon_devotion << "\n"; + config << std::boolalpha << weapon_triple_take << "\n"; + config << std::boolalpha << weapon_flatline << "\n"; + config << std::boolalpha << weapon_hemlock << "\n"; + config << std::boolalpha << weapon_g7_scout << "\n"; + config << std::boolalpha << weapon_alternator << "\n"; + config << std::boolalpha << weapon_r99 << "\n"; + config << std::boolalpha << weapon_prowler << "\n"; + config << std::boolalpha << weapon_volt << "\n"; + config << std::boolalpha << weapon_longbow << "\n"; + config << std::boolalpha << weapon_charge_rifle << "\n"; + config << std::boolalpha << weapon_spitfire << "\n"; + config << std::boolalpha << weapon_r301 << "\n"; + config << std::boolalpha << weapon_eva8 << "\n"; + config << std::boolalpha << weapon_peacekeeper << "\n"; + config << std::boolalpha << weapon_mozambique << "\n"; + config << std::boolalpha << weapon_wingman << "\n"; + config << std::boolalpha << weapon_p2020 << "\n"; + config << std::boolalpha << weapon_re45 << "\n"; + config << std::boolalpha << weapon_sentinel << "\n"; + config << std::boolalpha << weapon_bow << "\n"; + config << std::boolalpha << weapon_3030_repeater << "\n"; + config << std::boolalpha << weapon_rampage << "\n"; + config << std::boolalpha << weapon_car_smg; + config.close(); } } @@ -340,6 +411,75 @@ void Overlay::RenderMenu() config >> v.distance; config >> thirdperson; config >> minimapradar; + config >> lightbackpack; + config >> medbackpack; + config >> heavybackpack; + config >> shieldupgrade; + config >> shieldupgradehead; + config >> accelerant; + config >> phoenix; + config >> healthlarge; + config >> healthsmall; + config >> shieldbattsmall; + config >> shieldbattlarge; + config >> ammosniper; + config >> ammohc; + config >> optic; + config >> ammosc;; + config >> ammonrg; + config >> ammoshotgun; + config >> lasersight;; + config >> magsniper; + config >> magenergy; + config >> stocksniper; + config >> stockregular; + config >> shielddown; + config >> lightammomag; + config >> heavyammomag; + config >> optic2x; + config >> opticholo1x; + config >> opticsniper6x; + config >> opticsniper4x8x; + config >> opticsniperthreat; + config >> optic2x4x; + config >> opticthreat; + config >> optic3x; + config >> opticholo1x2x; + + config >> suppressor; + config >> weaponmod; + config >> grenade_frag; + config >> grenade_arc_star; + config >> grenade_thermite; + config >> shotgunbolt; + config >> weapon_kraber; + config >> weapon_mastiff; + config >> weapon_lstar; + config >> weapon_havoc; + config >> weapon_devotion; + config >> weapon_triple_take; + config >> weapon_flatline; + config >> weapon_hemlock; + config >> weapon_g7_scout; + config >> weapon_alternator; + config >> weapon_r99; + config >> weapon_prowler; + config >> weapon_volt; + config >> weapon_longbow; + config >> weapon_charge_rifle; + config >> weapon_spitfire; + config >> weapon_r301; + config >> weapon_eva8; + config >> weapon_peacekeeper; + config >> weapon_mozambique; + config >> weapon_wingman; + config >> weapon_p2020; + config >> weapon_re45; + config >> weapon_sentinel; + config >> weapon_bow; + config >> weapon_3030_repeater; + config >> weapon_rampage; + config >> weapon_car_smg; config.close(); }