summaryrefslogtreecommitdiff
path: root/tf2/ui_dropdown_item.h
diff options
context:
space:
mode:
authorJustSomePwner <crotchyalt@gmail.com>2018-08-30 14:01:54 +0200
committerJustSomePwner <crotchyalt@gmail.com>2018-08-30 14:01:54 +0200
commit7ccb819f867493f8ec202ea3b39c94c198c64584 (patch)
tree94622e61af0ff359e3d6689cf274d74f60b2492a /tf2/ui_dropdown_item.h
parent564d979b79e8a5aaa5014eba0ecd36c61575934f (diff)
first
Diffstat (limited to 'tf2/ui_dropdown_item.h')
-rw-r--r--tf2/ui_dropdown_item.h83
1 files changed, 83 insertions, 0 deletions
diff --git a/tf2/ui_dropdown_item.h b/tf2/ui_dropdown_item.h
new file mode 100644
index 0000000..f77a732
--- /dev/null
+++ b/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