mirror of
https://github.com/Detanup01/gbe_fork.git
synced 2024-11-23 19:25:35 +08:00
new option to disable overlay progress notifications
This commit is contained in:
parent
a384994ac2
commit
663f1a9350
@ -270,6 +270,7 @@ public:
|
|||||||
int overlay_renderer_detector_timeout_sec = 15; // "Saints Row (2022)" takes almost ~8 sec to detect renderer (DX12)
|
int overlay_renderer_detector_timeout_sec = 15; // "Saints Row (2022)" takes almost ~8 sec to detect renderer (DX12)
|
||||||
bool disable_overlay_achievement_notification = false;
|
bool disable_overlay_achievement_notification = false;
|
||||||
bool disable_overlay_friend_notification = false;
|
bool disable_overlay_friend_notification = false;
|
||||||
|
bool disable_overlay_achievement_progress = false;
|
||||||
//warn people who use local save
|
//warn people who use local save
|
||||||
bool overlay_warn_local_save = false;
|
bool overlay_warn_local_save = false;
|
||||||
//disable overlay warning for local save
|
//disable overlay warning for local save
|
||||||
|
@ -645,6 +645,7 @@ static std::set<std::string> parse_supported_languages(class Local_Storage *loca
|
|||||||
// if the current emu language is not in the supported languages list
|
// if the current emu language is not in the supported languages list
|
||||||
if (!supported_languages.count(language)) {
|
if (!supported_languages.count(language)) {
|
||||||
if (first_language.size()) { // get the first supported language if the list wasn't empty
|
if (first_language.size()) { // get the first supported language if the list wasn't empty
|
||||||
|
PRINT_DEBUG("[?] Your language '%s' isn't found in supported_languages.txt, using '%s' instead", language.c_str(), first_language.c_str());
|
||||||
language = first_language;
|
language = first_language;
|
||||||
} else { // otherwise just lie and add it then!
|
} else { // otherwise just lie and add it then!
|
||||||
supported_languages.insert(language);
|
supported_languages.insert(language);
|
||||||
@ -1222,6 +1223,9 @@ static void parse_overlay_general_config(class Settings *settings_client, class
|
|||||||
settings_client->disable_overlay_friend_notification = ini.GetBoolValue("overlay::general", "disable_friend_notification", settings_client->disable_overlay_friend_notification);
|
settings_client->disable_overlay_friend_notification = ini.GetBoolValue("overlay::general", "disable_friend_notification", settings_client->disable_overlay_friend_notification);
|
||||||
settings_server->disable_overlay_friend_notification = ini.GetBoolValue("overlay::general", "disable_friend_notification", settings_server->disable_overlay_friend_notification);
|
settings_server->disable_overlay_friend_notification = ini.GetBoolValue("overlay::general", "disable_friend_notification", settings_server->disable_overlay_friend_notification);
|
||||||
|
|
||||||
|
settings_client->disable_overlay_achievement_progress = ini.GetBoolValue("overlay::general", "disable_achievement_progress", settings_client->disable_overlay_achievement_progress);
|
||||||
|
settings_server->disable_overlay_achievement_progress = ini.GetBoolValue("overlay::general", "disable_achievement_progress", settings_server->disable_overlay_achievement_progress);
|
||||||
|
|
||||||
settings_client->disable_overlay_warning_any = ini.GetBoolValue("overlay::general", "disable_warning_any", settings_client->disable_overlay_warning_any);
|
settings_client->disable_overlay_warning_any = ini.GetBoolValue("overlay::general", "disable_warning_any", settings_client->disable_overlay_warning_any);
|
||||||
settings_server->disable_overlay_warning_any = ini.GetBoolValue("overlay::general", "disable_warning_any", settings_server->disable_overlay_warning_any);
|
settings_server->disable_overlay_warning_any = ini.GetBoolValue("overlay::general", "disable_warning_any", settings_server->disable_overlay_warning_any);
|
||||||
|
|
||||||
|
@ -23,6 +23,8 @@ renderer_detector_timeout_sec=15
|
|||||||
disable_achievement_notification=0
|
disable_achievement_notification=0
|
||||||
# disable friends invitations and messages notifications
|
# disable friends invitations and messages notifications
|
||||||
disable_friend_notification=0
|
disable_friend_notification=0
|
||||||
|
# disable showing notifications for achievements progress
|
||||||
|
disable_achievement_progress=0
|
||||||
# disable any warning in the overlay
|
# disable any warning in the overlay
|
||||||
disable_warning_any=0
|
disable_warning_any=0
|
||||||
# disable the bad app ID warning in the overlay
|
# disable the bad app ID warning in the overlay
|
||||||
|
Loading…
Reference in New Issue
Block a user