forked from 0xcds4r/sampmodmobile
-
Notifications
You must be signed in to change notification settings - Fork 0
/
settings.h
62 lines (54 loc) · 1 KB
/
settings.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
56
57
58
59
60
61
62
#pragma once
#define MAX_SETTINGS_STRING 0x7F
struct stSettings
{
char szNickName[MAX_PLAYER_NAME+1];
char szHost[MAX_SETTINGS_STRING+1];
char szPassword[MAX_SETTINGS_STRING+1];
char szFont[40];
int iFontOutline;
int iChatMaxMessages;
int iPort;
int fColor1;
int fColor2;
int fColor3;
float fChatPosX;
float fChatPosY;
float fChatSizeX;
float fChatSizeY;
float fFontSize;
float fSpawnScreenPosX;
float fSpawnScreenPosY;
float fSpawnScreenSizeX;
float fSpawnScreenSizeY;
float fHealthBarWidth;
float fHealthBarHeight;
float fCheatsBoxWidth;
float fCheatsBoxHeight;
float fDist;
bool bDebug;
bool bOnline;
bool fCheatsBox;
bool fCheatInv;
bool fCheatWallHack;
bool fCheatNoFall;
bool fCheatInvis;
bool fCheatFlash;
bool fCheatBehind;
bool fRadar;
bool fFixCrash;
bool fObjects;
bool fTextLabel;
bool fExtOS;
bool fClock;
bool fFastFire;
};
class CSettings
{
public:
CSettings();
~CSettings();
stSettings& Get() { return m_Settings; }
private:
struct stSettings m_Settings;
};