[UI] Added modify profile UI
- Changed default icons size from 75x75 to 64x64 to match console icons size - Added png_utils - Removed all dialogs from xam_ui.cc into separate entities under xam/ui - Added option to return INT32 and WSTRING type settings to host - Added multiple enums related to user settings - Added code to handle changing user pfp - Fixed bug with system app being added to GPD played list - Changed logic in: XamUserGetUserFlagsFromXUID - Implemented: XamUserIsOnlineEnabled - Implemented: XamUserGetMembershipTier - Implemented: XamUserGetMembershipTierFromXUID - Implemented: XamUserGetUserTenure - Partially Implemented: XamUserGetSubscriptionType
This commit is contained in:
committed by
Radosław Gliński
parent
270e88a7a7
commit
e601b5ab87
@@ -379,7 +379,7 @@ const static std::set<UserSettingId> title_writable_settings = {
|
||||
UserSettingId::XPROFILE_TITLE_SPECIFIC2,
|
||||
UserSettingId::XPROFILE_TITLE_SPECIFIC3};
|
||||
|
||||
enum PREFERRED_COLOR_OPTIONS : uint32_t {
|
||||
enum PREFERRED_COLOR_OPTIONS : uint8_t {
|
||||
PREFERRED_COLOR_NONE,
|
||||
PREFERRED_COLOR_BLACK,
|
||||
PREFERRED_COLOR_WHITE,
|
||||
@@ -393,6 +393,57 @@ enum PREFERRED_COLOR_OPTIONS : uint32_t {
|
||||
PREFERRED_COLOR_BROWN,
|
||||
PREFERRED_COLOR_SILVER
|
||||
};
|
||||
enum CONTROLLER_VIBRATION_OPTIONS : uint8_t {
|
||||
CONTROLLER_VIBRATION_OFF = 0,
|
||||
CONTROLLER_VIBRATION_ON = 3
|
||||
};
|
||||
|
||||
enum CONTROL_SENSITIVITY_OPTIONS : uint8_t {
|
||||
CONTROL_SENSITIVITY_MEDIUM = 0,
|
||||
CONTROL_SENSITIVITY_LOW,
|
||||
CONTROL_SENSITIVITY_HIGH
|
||||
};
|
||||
|
||||
enum GAMER_DIFFICULTY_OPTIONS : uint8_t {
|
||||
GAMER_DIFFICULTY_NORMAL = 0,
|
||||
GAMER_DIFFICULTY_EASY,
|
||||
GAMER_DIFFICULTY_HARD
|
||||
};
|
||||
|
||||
enum AUTO_AIM_OPTIONS : uint8_t { AUTO_AIM_OFF = 0, AUTO_AIM_ON };
|
||||
|
||||
enum AUTO_CENTER_OPTIONS : uint8_t { AUTO_CENTER_OFF = 0, AUTO_CENTER_ON };
|
||||
|
||||
enum MOVEMENT_CONTROL_OPTIONS : uint8_t {
|
||||
MOVEMENT_CONTROL_L_THUMBSTICK = 0,
|
||||
MOVEMENT_CONTROL_R_THUMBSTICK
|
||||
};
|
||||
|
||||
enum YAXIS_INVERSION_OPTIONS : uint8_t {
|
||||
YAXIS_INVERSION_OFF = 0,
|
||||
YAXIS_INVERSION_ON
|
||||
};
|
||||
|
||||
enum TRANSMISSION_OPTIONS : uint8_t {
|
||||
TRANSMISSION_AUTO = 0,
|
||||
TRANSMISSION_MANUAL
|
||||
};
|
||||
|
||||
enum CAMERA_LOCATION_OPTIONS : uint8_t {
|
||||
CAMERA_LOCATION_BEHIND = 0,
|
||||
CAMERA_LOCATION_IN_FRONT,
|
||||
CAMERA_LOCATION_INSIDE
|
||||
};
|
||||
|
||||
enum BRAKE_CONTROL_OPTIONS : uint8_t {
|
||||
BRAKE_CONTROL_TRIGGER = 0,
|
||||
BRAKE_CONTROL_BUTTON
|
||||
};
|
||||
|
||||
enum ACCELERATOR_CONTROL_OPTIONS : uint8_t {
|
||||
ACCELERATOR_CONTROL_TRIGGER = 0,
|
||||
ACCELERATOR_CONTROL_BUTTON
|
||||
};
|
||||
|
||||
class UserSetting : public UserData {
|
||||
public:
|
||||
|
||||
Reference in New Issue
Block a user