Files
cs2-external-esp/memory-external/classes/config.hpp
T
ifBars f00531c0cd 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
2023-11-10 19:34:26 -07:00

41 lines
935 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_box_esp = true;
inline bool show_skeleton_esp = false;
inline bool show_extra_flags = false;
inline RGB esp_box_color_team = { 75, 175, 75 };
inline RGB esp_box_color_enemy = { 175, 75, 75 };
inline RGB esp_skeleton_color_team = { 75, 175, 75 };
inline RGB esp_skeleton_color_enemy = { 175, 75, 75 };
inline RGB esp_name_color = { 75, 75, 175 };
inline RGB esp_distance_color = { 75, 75, 175 };
}