From 3d412a4b30a9f7c7f51ea6562e694315948bd3da Mon Sep 17 00:00:00 2001 From: boris Date: Wed, 28 Nov 2018 16:00:02 +1300 Subject: cleaned up in short, the cheat and loader are now separate solutions. unused stuff was moved into the legacy solution in case anyone wants to compile it or whatever. i can change this back if you want to. also, i configured the loader to compile in x64, and have separate build types for linux and win64 --- cheat/tf2/ui_dropdown_item.h | 83 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 83 insertions(+) create mode 100644 cheat/tf2/ui_dropdown_item.h (limited to 'cheat/tf2/ui_dropdown_item.h') diff --git a/cheat/tf2/ui_dropdown_item.h b/cheat/tf2/ui_dropdown_item.h new file mode 100644 index 0000000..f77a732 --- /dev/null +++ b/cheat/tf2/ui_dropdown_item.h @@ -0,0 +1,83 @@ +#pragma once + +#include "ui_base_item.h" + +namespace ui +{ + namespace dropdowns + { + template < typename t = int > + struct dropdown_item_t { + const char* m_name; + t m_value; + }; + + static std::vector< dropdown_item_t< > > activation_types_aimbot = { + { xors( "always" ), 0 }, + { xors( "on key" ), 1 }, + }; + + static std::vector< dropdown_item_t< > > silent_aimbot_types = { + { xors( "none" ), 0 }, + { xors( "client-side" ), 1 }, + { xors( "server-side" ), 2 }, + }; + + static std::vector< dropdown_item_t< > > hitboxes = { + { "head", 0 }, + { "neck", 1 }, + { "pelvis", 3 }, + { "chest", 6 }, + { "thorax", 5 }, + }; + + static std::vector< dropdown_item_t< > > tracer_type = { + { xors( "none" ), 0 }, + { xors( "line" ), 1 }, + { xors( "beam" ), 2 } + }; + + static std::vector< dropdown_item_t< > > world_esp_type = { + { xors( "off" ), 0 }, + { xors( "name" ), 1 }, + { xors( "glow" ), 2 }, + { xors( "both" ), 3 } + }; + + static std::vector< dropdown_item_t< > > weapon_esp_types = { + { xors( "none" ), 0 }, + { xors( "icon" ), 1 }, + { xors( "name" ), 2 }, + }; + + static std::vector< dropdown_item_t< > > activation_type_visuals = { + { xors( "never" ), 0 }, + { xors( "always" ), 1 }, + { xors( "on hold" ), 2 }, + { xors( "toggle" ), 3 }, + }; + + static std::vector< dropdown_item_t< > > aimbot_bone = { + { "head", 0 }, + { "neck", 1 }, + { "pelvis", 3 }, + { "chest", 6 }, + { "thorax", 5 }, + }; + + static std::vector< dropdown_item_t< > > configs = { + { xors( "scout" ), 0 }, + { xors( "soldier" ), 1 }, + { xors( "pyro" ), 2 }, + { xors( "demo" ), 3 }, + { xors( "heavy" ), 4 }, + { xors( "engineer" ), 5 }, + { xors( "medic" ), 6 }, + { xors( "sniper" ), 7 }, + { xors( "spy" ), 8 }, + { xors( "rage 1" ), 9 }, + { xors( "rage 2" ), 10 }, + }; + + } +} \ No newline at end of file -- cgit v1.2.3