-
Notifications
You must be signed in to change notification settings - Fork 2
/
ESP.h
47 lines (37 loc) · 1.11 KB
/
ESP.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
/*
Syn's AyyWare Framework 2015
*/
#pragma once
#include "Hacks.h"
class CEsp : public CHack
{
public:
void Init();
void Draw();
void Move(CUserCmd *pCmd, bool &bSendPacket);
private:
// Other shit
IClientEntity *BombCarrier;
struct ESPBox
{
int x, y, w, h;
};
// Draw a player
void DrawPlayer(IClientEntity* pEntity, player_info_t pinfo);
// Get player info
Color GetPlayerColor(IClientEntity* pEntity);
bool GetBox(IClientEntity* pEntity, ESPBox &result);
// Draw shit about player
void SpecList();
void DrawGlow(IClientEntity *pEntity, int r, int g, int b, int a);
void DrawBox(ESPBox size, Color color);
void DrawName(player_info_t pinfo, ESPBox size);
void DrawHealth(IClientEntity* pEntity, ESPBox size);
void DrawInfo(IClientEntity* pEntity, ESPBox size);
void DrawCross(IClientEntity* pEntity);
void DrawSkeleton(IClientEntity* pEntity);
void DrawChicken(IClientEntity* pEntity, ClientClass* cClass);
void DrawDrop(IClientEntity* pEntity, ClientClass* cClass);
void DrawBombPlanted(IClientEntity* pEntity, ClientClass* cClass);
void DrawBomb(IClientEntity* pEntity, ClientClass* cClass);
};