forked from 0xcds4r/build69-gtasa2.0
-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathsettings.h
48 lines (40 loc) · 741 Bytes
/
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
#pragma once
//
// Powered by tapy.me/weikton
//
#define MAX_SETTINGS_STRING 0x7F
struct stSettings
{
// client
char szNickName[MAX_PLAYER_NAME+1];
char szHost[MAX_SETTINGS_STRING+1];
int iPort;
char szPassword[MAX_SETTINGS_STRING+1];
// debug
bool bDebug;
bool bOnline;
// gui
char szFont[40];
float fFontSize;
int iFontOutline;
float fChatPosX;
float fChatPosY;
float fChatSizeX;
float fChatSizeY;
int iChatMaxMessages;
float fSpawnScreenPosX;
float fSpawnScreenPosY;
float fSpawnScreenSizeX;
float fSpawnScreenSizeY;
float fHealthBarWidth;
float fHealthBarHeight;
};
class CSettings
{
public:
CSettings();
~CSettings();
stSettings& Get() { return m_Settings; }
private:
struct stSettings m_Settings;
};