2017-12-25 23:49:48 +00:00
|
|
|
#ifndef SETTINGS_HPP_INCLUDED
|
|
|
|
#define SETTINGS_HPP_INCLUDED
|
|
|
|
|
|
|
|
#include <cstdint>
|
|
|
|
#include <vector>
|
|
|
|
|
2018-12-27 18:17:09 +00:00
|
|
|
namespace Settings
|
2017-12-25 23:49:48 +00:00
|
|
|
{
|
2018-12-27 18:17:09 +00:00
|
|
|
std::vector<std::int32_t> GetAll();
|
2017-12-25 23:49:48 +00:00
|
|
|
|
2018-12-27 18:17:09 +00:00
|
|
|
std::int32_t GetSetting(std::int32_t SettingIndex);
|
|
|
|
std::int32_t GetSetting(std::int32_t SettingIndex, std::int32_t BitMask);
|
|
|
|
bool GetSettingBit(std::int32_t SettingIndex, std::int32_t BitIndex);
|
2018-12-31 21:52:58 +00:00
|
|
|
|
2018-12-27 18:17:09 +00:00
|
|
|
std::int32_t GetScreenType();
|
2018-05-10 01:08:38 +00:00
|
|
|
|
2019-05-28 16:34:51 +00:00
|
|
|
|
|
|
|
typedef enum GAMETAB
|
|
|
|
{
|
|
|
|
TAB_ACCOUNT,
|
|
|
|
TAB_CLAN,
|
|
|
|
TAB_COMBAT,
|
|
|
|
TAB_EMOTES,
|
|
|
|
TAB_EQUIPMENT,
|
|
|
|
TAB_FRIENDS,
|
|
|
|
TAB_IGNORES,
|
|
|
|
TAB_INVENTORY,
|
|
|
|
TAB_LOGOUT,
|
|
|
|
TAB_MAGIC,
|
|
|
|
TAB_MUSIC,
|
|
|
|
TAB_OPTIONS,
|
|
|
|
TAB_PRAYER,
|
|
|
|
TAB_QUESTS,
|
|
|
|
TAB_STATS
|
|
|
|
} GAMETAB;
|
|
|
|
std::int32_t GetGametabHotkey(GAMETAB Tab);
|
|
|
|
|
2018-12-27 18:17:09 +00:00
|
|
|
bool IsEscToCloseInterfacesOn();
|
|
|
|
bool IsShiftClickToDropOn();
|
2018-12-31 21:52:58 +00:00
|
|
|
bool IsScrollToZoomOn();
|
|
|
|
}
|
2017-12-25 23:49:48 +00:00
|
|
|
|
|
|
|
#endif // SETTINGS_HPP_INCLUDED
|