SKELETON ESP

- Adds in skeleton esp
- Head tracker is now just a part of skeleton esp, and has been improved to fit head even better
- Made box esp toggleable

- Small tweaks to possibly increase performance
- Small tweaks to enhance readability
This commit is contained in:
ifBars
2023-11-10 19:34:26 -07:00
parent 3e48c06cc0
commit f00531c0cd
11 changed files with 169 additions and 56 deletions
+14 -3
View File
@@ -1,6 +1,8 @@
#pragma once
#include "../memory/memory.hpp"
#include "../classes/vector.hpp"
#include <map>
#include <string>
struct view_matrix_t {
float* operator[ ](int index) {
@@ -10,6 +12,11 @@ struct view_matrix_t {
float matrix[4][4];
};
class PBones {
public:
std::map<std::string, Vector3> bonePositions;
};
class CC4 {
public:
uintptr_t get_planted();
@@ -22,16 +29,21 @@ public:
uintptr_t entity;
int team;
uintptr_t pCSPlayerPawn;
uintptr_t gameSceneNode;
uintptr_t boneArray;
uintptr_t spottedState;
int health;
int armor;
std::string name;
Vector3 origin;
Vector3 head;
Vector3 skull;
PBones bones;
bool is_defusing;
bool is_spotted;
int32_t money;
float flashAlpha;
std::string weapon;
void ReadBones();
};
class CGame
@@ -56,10 +68,9 @@ private:
view_matrix_t view_matrix;
uintptr_t entity_list;
uintptr_t localPlayer;
uintptr_t localpCSPlayerPawn;
std::uint32_t localPlayerPawn;
uintptr_t localList_entry2;
uintptr_t localpCSPlayerPawn;
std::string read_string(uintptr_t addr);
};
inline CGame g_game;