forked from zanzo420/PirateSenseESP
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcfg.h
55 lines (45 loc) · 1.51 KB
/
cfg.h
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
#pragma once
#include "Functions.h"
#include <ShlObj.h>
// Booleans to toggle on/off the display of different things.
bool btAnimals, btChests, btSkulls, btArtifacts, btGunpowders, btMerchantCrates, btTreasureMaps; // Commonly changed display items.
bool btShips, btPirates, btSkeletons, btSkullForts, btSunkenCurse, btMermaids, btSharks, btMsgBottles; // Uncommonly changed display items.
struct Types {
Color cCommon;
Color cRare;
Color cLegendary;
Color cMythical;
Color cHigher;
bool bCommon, bRare, bLegendary, bMythical, bHigher;
};
struct Animals {
bool chicken, snake, pig;
};
struct AnimalCrates {
bool chicken, snake, pig;
};
struct Items {
Color cAnimalCrates, cMerchant, cResources, cGunpowder, cPlayers, cShips, cSkeletons; //, cSkullFort, cTreasures, cSunkenCurse;
bool bChests, bSkulls, bMerchant, bArtifacts, bResources, bGunpowder, bAnimals, bAnimalCrates, bPlayers, bShips, bSkeletons, bSkullForts, bTreasureMaps, bSunkenCurse;
Animals Animals;
AnimalCrates AnimalCrates;
};
struct btESP {
// Booleans to toggle on/off the display of different things.
bool btAnimals, btChests, btSkulls, btArtifacts, btGunpowders, btMerchantCrates, btTreasureMaps; // Commonly changed display items.
bool btShips, btPirates, btSkeletons, btSkullForts, btSunkenCurse, btMermaids, btSharks, btMsgBottles; // Uncommonly changed display items.
};
class CFG
{
public:
CFG();
~CFG();
void LoadCfg();
void SaveCfg();
public:
Types tRadar;
Types tESP;
btESP tDisplay;
};
static CFG cfg;
//std::shared_ptr<CFG> cfg = nullptr;