General Improvements
**Head Tracker** - Makes head tracker distance based - Makes circle an outline of a circle rather than filled - Adjusted circle to be more oval shape to fit character heads - Added toggle feature to head tracker as requested by many **Handle Hijack** - Changed permissions for hijacked handle from all access to permissions of svchost.exe, which still allows read and write memory, but removes the all access permissions, looking more "legit" to VAC **Offsets** - Update offsets for game build 13968
This commit is contained in:
@@ -5,13 +5,13 @@ namespace render
|
||||
{
|
||||
void DrawCircle(HDC hdc, int x, int y, int radius, COLORREF color)
|
||||
{
|
||||
HBRUSH hBrush = CreateSolidBrush(color);
|
||||
HBRUSH hOldBrush = (HBRUSH)SelectObject(hdc, hBrush);
|
||||
HPEN hPen = CreatePen(PS_SOLID, 2, color);
|
||||
HPEN hOldPen = (HPEN)SelectObject(hdc, hPen);
|
||||
|
||||
Ellipse(hdc, x - radius, y - radius, x + radius, y + radius);
|
||||
Arc(hdc, x - radius, y - radius, x + radius, y + radius + 4, 0, 0, 0, 0);
|
||||
|
||||
SelectObject(hdc, hOldBrush);
|
||||
DeleteObject(hBrush);
|
||||
SelectObject(hdc, hOldPen);
|
||||
DeleteObject(hPen);
|
||||
}
|
||||
|
||||
void DrawBorderBox(HDC hdc, int x, int y, int w, int h, COLORREF borderColor)
|
||||
|
||||
Reference in New Issue
Block a user