Files
cs2-external-esp/memory-external/classes/config.hpp
T
ifBars 95b3b48178 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
2023-11-08 23:28:38 -07:00

38 lines
790 B
C++

#pragma once
#include <fstream>
#include "json.hpp"
#include "auto_updater.hpp"
using json = nlohmann::json;
struct RGB {
int r;
int g;
int b;
// Conversion function from RGB to COLORREF
operator COLORREF() const {
return RGB(r, g, b);
}
};
namespace config {
const std::string file_path = "config.json";
extern bool read();
extern void save();
inline bool automatic_update = false;
inline bool team_esp = false;
inline float render_distance = -1.f;
inline int flag_render_distance = 200;
inline bool show_extra_flags = false;
inline bool show_head_tracker = false;
inline RGB esp_box_color_team = { 75, 175, 75 };
inline RGB esp_box_color_enemy = { 175, 75, 75 };
inline RGB esp_name_color = { 75, 75, 175 };
inline RGB esp_distance_color = { 75, 75, 175 };
}