48 lines
1.1 KiB
C++
48 lines
1.1 KiB
C++
#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>();
|