This repository has been archived by the owner on Apr 18, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDrawing.hpp
40 lines (33 loc) · 1.61 KB
/
Drawing.hpp
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
#pragma once
#include "harCs.hpp"
class Drawing
{
public:
void textW(bool center, int font, int x, int y, Color c, wchar_t *pszString);
void drawString(int font, bool bCenter, int x, int y, Color c, const char *fmt, ...);
void textWRight(bool right, int font, int x, int y, Color c, wchar_t *pszString);
void drawStringRight(int font, bool right, int x, int y, Color c, const char *fmt, ...);
RECT getViewport();
RECT getTextSize(DWORD font, const char* text);
void drawOutlinedRect(int x, int y, int w, int h, Color &c);
void drawFilledRect(int x, int y, int w, int h, Color &c);
void drawHealthBar(int x, int y, float health, int w, int h, Color c);
void drawFlashedBar(int x, int y, float time, int w, int h, Color c);
void drawLine(int x, int y, int x1, int y2, Color c);
void fillRGBA(int x, int y, int w, int h, Color c);
void drawPlyrBoxType(Entity *base, CSFuncs *csFuncs, int type);
void drawPlyrName(int idx, Entity *base, CSFuncs *csFuncs);
void drawPlyrWeapName(Entity *base, CSFuncs *csFuncs);
void drawPlyrMMinfo(int idx, Entity *base, CSFuncs *csFuncs);
void drawPlyrFlash(Entity *base, CSFuncs *csFuncs);
void drawC4Planted(Entity *base, CSFuncs *csFuncs);
void drawAimSpot(Entity *base, int skelId, CSFuncs *csFuncs);
void drawSnipCrosshair();
void drawC4Droped(Entity *base, CSFuncs *csFuncs);
void drawSnapLine(Entity *base, CSFuncs *csFuncs);
void drawSkelet(Entity *base, CSFuncs *csFuncs);
void drawBacktrackedSkelet(Entity *base, CSFuncs *csFuncs);
void drawDlight(Entity *base, CSFuncs *csFuncs);
};
extern Drawing *crtaj;
extern unsigned long ui_font;