Initial commit: DayZ memory C++ port with DMA backend and overlay
This commit is contained in:
+20
@@ -0,0 +1,20 @@
|
||||
#pragma once
|
||||
#include "../headers/includes.h"
|
||||
#include "../headers/flags.h"
|
||||
#include <memory>
|
||||
|
||||
class c_colors
|
||||
{
|
||||
public:
|
||||
c_col layout{ 25, 25, 28 };
|
||||
c_col white{ 255, 255, 255 };
|
||||
c_col black{ 0, 0, 0 };
|
||||
c_col accent{ 176, 180, 255 };
|
||||
c_col child{ 28, 28, 33 };
|
||||
c_col widget{ 33, 33, 40 };
|
||||
c_col text{ 110, 110, 129 };
|
||||
c_col cirlce{ 50, 50, 63 };
|
||||
c_col border{ 35, 35, 44 };
|
||||
};
|
||||
|
||||
inline std::unique_ptr<c_colors> clr = std::make_unique<c_colors>();
|
||||
+24
@@ -0,0 +1,24 @@
|
||||
#pragma once
|
||||
#include <string>
|
||||
#include "imgui.h"
|
||||
|
||||
class c_elements
|
||||
{
|
||||
public:
|
||||
|
||||
c_vec2 padding{ 10, 10 };
|
||||
|
||||
float child_width;
|
||||
float tab_window_width;
|
||||
|
||||
struct
|
||||
{
|
||||
c_text name{ "Lumin" };
|
||||
c_vec2 size{ 570, 354 };
|
||||
float rounding{ 12 };
|
||||
} window;
|
||||
|
||||
|
||||
};
|
||||
|
||||
inline std::unique_ptr<c_elements> elements = std::make_unique<c_elements>();
|
||||
+47
@@ -0,0 +1,47 @@
|
||||
#pragma once
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include "imgui.h"
|
||||
#include "../headers/flags.h"
|
||||
|
||||
|
||||
class c_variables
|
||||
{
|
||||
public:
|
||||
|
||||
struct
|
||||
{
|
||||
float dpi = 1.f; // DayZ overlay: 1:1 scale so ESP fonts map to real px
|
||||
int stored_dpi = 100;
|
||||
bool dpi_changed = true;
|
||||
|
||||
int tab = 1; // DayZ overlay: start on the first feature tab (no login)
|
||||
int tab_stored = 1;
|
||||
float tab_alpha = 1.f;
|
||||
|
||||
int sub_tab = 1;
|
||||
int sub_tab_stored = 1;
|
||||
|
||||
bool login_loading = false;
|
||||
float login_loading_timer = 0.f;
|
||||
float login_loading_alpha = 0.f;
|
||||
std::string login_loading_description = "Please wait, account verification";
|
||||
|
||||
bool license_invalid = false;
|
||||
float license_invalid_timer = 0.f;
|
||||
std::string license_error_message = "";
|
||||
|
||||
bool compact_layout = false;
|
||||
bool sidebar_glass = false;
|
||||
float window_rounding = 12.f;
|
||||
bool strict_license = true;
|
||||
bool verification_animation = true;
|
||||
char profile_name[64] = "Active user";
|
||||
char feature_search[96] = "";
|
||||
} gui;
|
||||
|
||||
gui_style style;
|
||||
|
||||
};
|
||||
|
||||
inline std::unique_ptr<c_variables> var = std::make_unique<c_variables>();
|
||||
Reference in New Issue
Block a user