Remove Achievements/Leaderboards/RP Enabled settings
The RetroAchievements client object now handles these three settings as a singular "spectator" mode that will be added in a future commit.
This commit is contained in:
1 parent
3bf5b8e610
commit
9a40ec06b5
6 files changed
+5
-75
No files matched your search
@@ -652,7 +652,7 @@ void AchievementManager::DisplayWelcomeMessage()
|
||||
fmt::format("Hardcore mode is {}", rc_client_get_hardcore_enabled(m_client) ? "ON" : "OFF"),
|
||||
OSD::Duration::VERY_LONG, color);
|
||||
OSD::AddMessage(fmt::format("Leaderboard submissions are {}",
|
||||
Config::Get(Config::RA_LEADERBOARDS_ENABLED) ? "ON" : "OFF"),
|
||||
rc_client_get_hardcore_enabled(m_client) ? "ON" : "OFF"),
|
||||
OSD::Duration::VERY_LONG, color);
|
||||
}
|
||||
|
||||
|
||||
@@ -15,12 +15,6 @@ const Info<bool> RA_ENABLED{{System::Achievements, "Achievements", "Enabled"}, f
|
||||
const Info<std::string> RA_HOST_URL{{System::Achievements, "Achievements", "HostUrl"}, ""};
|
||||
const Info<std::string> RA_USERNAME{{System::Achievements, "Achievements", "Username"}, ""};
|
||||
const Info<std::string> RA_API_TOKEN{{System::Achievements, "Achievements", "ApiToken"}, ""};
|
||||
const Info<bool> RA_ACHIEVEMENTS_ENABLED{
|
||||
{System::Achievements, "Achievements", "AchievementsEnabled"}, false};
|
||||
const Info<bool> RA_LEADERBOARDS_ENABLED{
|
||||
{System::Achievements, "Achievements", "LeaderboardsEnabled"}, false};
|
||||
const Info<bool> RA_RICH_PRESENCE_ENABLED{
|
||||
{System::Achievements, "Achievements", "RichPresenceEnabled"}, false};
|
||||
const Info<bool> RA_HARDCORE_ENABLED{{System::Achievements, "Achievements", "HardcoreEnabled"},
|
||||
false};
|
||||
const Info<bool> RA_PROGRESS_ENABLED{{System::Achievements, "Achievements", "ProgressEnabled"},
|
||||
|
||||
@@ -14,9 +14,6 @@ extern const Info<bool> RA_ENABLED;
|
||||
extern const Info<std::string> RA_USERNAME;
|
||||
extern const Info<std::string> RA_HOST_URL;
|
||||
extern const Info<std::string> RA_API_TOKEN;
|
||||
extern const Info<bool> RA_ACHIEVEMENTS_ENABLED;
|
||||
extern const Info<bool> RA_LEADERBOARDS_ENABLED;
|
||||
extern const Info<bool> RA_RICH_PRESENCE_ENABLED;
|
||||
extern const Info<bool> RA_HARDCORE_ENABLED;
|
||||
extern const Info<bool> RA_PROGRESS_ENABLED;
|
||||
extern const Info<bool> RA_BADGES_ENABLED;
|
||||
|
||||
Reference in new issue
Block a user