2016-06-05 01:32:57 +00:00
|
|
|
#pragma once
|
|
|
|
#include <string>
|
2021-04-12 06:34:26 +00:00
|
|
|
#include <stdint.h>
|
2016-06-05 01:32:57 +00:00
|
|
|
|
|
|
|
enum UISettingID
|
|
|
|
{
|
|
|
|
Asserts_Version,
|
|
|
|
Screen_Orientation,
|
2016-09-17 03:17:51 +00:00
|
|
|
|
2021-03-13 10:19:02 +00:00
|
|
|
// Recent game
|
2016-09-17 03:17:51 +00:00
|
|
|
File_RecentGameFileCount,
|
|
|
|
File_RecentGameFileIndex,
|
2016-10-01 20:24:26 +00:00
|
|
|
|
2021-03-13 10:19:02 +00:00
|
|
|
// Touch screen
|
2016-10-01 20:24:26 +00:00
|
|
|
TouchScreen_ButtonScale,
|
|
|
|
TouchScreen_Layout,
|
|
|
|
|
2021-03-13 10:19:02 +00:00
|
|
|
// Controller config
|
2016-10-01 20:24:26 +00:00
|
|
|
Controller_ConfigFile,
|
|
|
|
Controller_CurrentProfile,
|
2016-10-02 12:21:25 +00:00
|
|
|
Controller_Deadzone,
|
|
|
|
Controller_Sensitivity,
|
2016-11-23 08:25:14 +00:00
|
|
|
|
2021-03-13 10:19:02 +00:00
|
|
|
// Support window
|
2016-11-23 08:25:14 +00:00
|
|
|
SupportWindow_FirstRun,
|
|
|
|
SupportWindow_AlwaysShow,
|
|
|
|
SupportWindow_ShowingSupportWindow,
|
|
|
|
SupportWindow_RunCount,
|
2016-12-20 07:22:18 +00:00
|
|
|
|
2021-03-13 10:19:02 +00:00
|
|
|
// Game settings
|
2016-12-20 07:22:18 +00:00
|
|
|
Game_RunCount,
|
2016-06-05 01:32:57 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
void RegisterUISettings(void);
|
|
|
|
|
|
|
|
void UISettingsSaveBool(UISettingID Type, bool Value);
|
|
|
|
void UISettingsSaveDword(UISettingID Type, uint32_t Value);
|
2016-10-01 20:24:26 +00:00
|
|
|
void UISettingsSaveString(UISettingID Type, const std::string & Value);
|
2016-06-05 01:32:57 +00:00
|
|
|
|
|
|
|
bool UISettingsLoadBool(UISettingID Type);
|
|
|
|
uint32_t UISettingsLoadDword(UISettingID Type);
|
2016-10-01 20:24:26 +00:00
|
|
|
std::string UISettingsLoadStringVal(UISettingID Type);
|
2016-06-05 01:32:57 +00:00
|
|
|
|
|
|
|
/*
|
|
|
|
void UISettingsSaveBoolIndex(UISettingID Type, int32_t index, bool Value);
|
|
|
|
void UISettingsSaveDwordIndex(UISettingID Type, int32_t index, uint32_t Value);
|
|
|
|
void UISettingsSaveString(UISettingID Type, const std::string & Value);
|
|
|
|
void UISettingsSaveStringIndex(UISettingID Type, int32_t index, const std::string & Value);
|
|
|
|
|
|
|
|
void UISettingsDeleteSettingIndex(UISettingID Type, int32_t index);
|
|
|
|
|
|
|
|
bool UISettingsLoadBoolIndex(UISettingID Type, int32_t index);
|
|
|
|
bool UISettingsLoadDword(UISettingID Type, uint32_t & Value);
|
|
|
|
bool UISettingsLoadDwordIndex(UISettingID Type, int index, uint32_t & Value);
|
|
|
|
bool UISettingsLoadStringIndex(UISettingID Type, int32_t index, std::string & Value);
|
|
|
|
std::string UISettingsLoadStringIndex(UISettingID Type, int32_t index);
|
|
|
|
std::string UISettingsLoadStringVal(UISettingID Type);
|
|
|
|
bool UISettingsLoadStringVal(UISettingID Type, char * Buffer, int32_t BufferSize);
|
2021-03-13 10:19:02 +00:00
|
|
|
*/
|