aboutsummaryrefslogtreecommitdiff
path: root/ESP.h
diff options
context:
space:
mode:
authorBDKPlayer <fabian.stotz@yahoo.de>2020-06-04 18:07:55 +0200
committerBDKPlayer <fabian.stotz@yahoo.de>2020-06-04 18:07:55 +0200
commitc0d10fa5c6aec95bc858cd52c5a0f89d786cc49e (patch)
tree3fd04ce15948dc67260813f914914cf61d1ffdfb /ESP.h
parent3a8e1f17e6a2a032271157da906c6f44c196f77e (diff)
ReRefactored the ESP code
Fixed last player ESP not showing
Diffstat (limited to 'ESP.h')
-rw-r--r--ESP.h21
1 files changed, 10 insertions, 11 deletions
diff --git a/ESP.h b/ESP.h
index 1595556..a6d9b1e 100644
--- a/ESP.h
+++ b/ESP.h
@@ -1,5 +1,6 @@
#pragma once
#include "Feature.h"
+
#include <string>
struct Vector2;
@@ -12,15 +13,21 @@ class ESP : public Feature
bool trebuchetESP = true;
bool siegeImpactLocation = true;
- bool playerUnitEsp[8] = { true,true,true,true,true,true,true,true };
- bool playerUnitDestinationEsp[8] = { false,false,false,false,false,false,false,false };
+ bool playerUnitEsp[9] = { true,true,true,true,true,true,true,true, true };
+ bool playerUnitDestinationEsp[9] = { false,false,false,false,false,false,false,false, false };
- bool playerUnitNameEsp[8] = { false,false,false,false,false,false,false,false };
+ bool playerUnitNameEsp[9] = { false,false,false,false,false,false,false,false, false };
//bool playerBuildingEsp[8] = { false,true,true,true,true,true,true,true };
//bool playerBuildingNameEsp[8] = { false,true,true,true,true,true,true,true };
float colors[8][3] = { 0 };
static uint32_t colors_hex[8];
+ std::vector<std::string> namesFish = { "FISHS", "FISHX","FISH1","FISH2","FISH3","FISH4","turtles" };
+ std::vector<std::string> namesHeavyFood = { "BOARX", "RHINO","BOAR","BOARJ","WELEF" };
+ std::vector<std::string> namesLighthuntable = { "DEERX", "IBEX","ZEBRA","OSTRICH" };
+ std::vector<std::string> namesLightFood = { "SHEEPG", "GOOSE","PIG", "LLAMAG", "Cow Black", "Cow Brown", "Cow Black and White", "BUFFALO", "TURKYG", "GOAT" };
+ std::vector<std::string> namesDangerousAnimal = { "WOLFX", "KOMODO","GJAGR", "SLEOPA", "BEAR", "CROCO", "LION", "TIGER" };
+
//Callbacks
void LoadConfig() override;
void SaveConfig() override;
@@ -32,13 +39,5 @@ class ESP : public Feature
void DrawBox(Unit* unit, int32_t color, bool drawName);
void DrawBox(Vector3 position, Vector2 edgeSize, int32_t color);
-
- void RenderStyleRelic(Vector2& screenPos, std::string& unitName);
- void RenderStyleDangerousAnimal(Vector2& screenPos, std::string& unitName);
- void RenderStyleLighHuntable(Vector2& screenPos, std::string& unitName);
- void RenderStyleHeavyFood(Vector2& screenPos, std::string& unitName);
- void RenderStyleLightFood(Vector2& screenPos, std::string& unitName);
- void RenderStyleFish(Vector2& screenPos, std::string& unitName);
-
void DrawCircle(Unit* unit, int radius, int32_t color, int smoothness , float thickness, bool drawName);
}; \ No newline at end of file