-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathglobals.hh
57 lines (45 loc) · 806 Bytes
/
globals.hh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
#pragma once
#include <unordered_map>
#include <Windows.h>
#include "H/xorstr.h"
#include "H/skStr.h"
#include <thread>
#include "Macro/keys.h"
struct Vector2
{
float x;
float y;
};
class c_globals {
public:
bool active = true;
bool login = true;
bool mainPage = false;
int loginPage = 0;
int macroPage = 0;
char username[255] = "";
char password[255] = "";
char key[255] = "";
};
class Macro_Settings
{
public:
bool enabled = false;
bool aimCheck = false;
bool isPrimary = true;
Vector2 primary{ 0,0 };
Vector2 secondary{0,0};
int sleep1 = 28;
int sleep2 = 28;
char config[255] = "";
};
inline c_globals globals;
inline Macro_Settings settings;
namespace macro
{
void moveMouse(float x, float y, int s);
void macroThread();
void keysThread();
void save();
void load();
}