Added colored borders to badges in achievements dialog

The achievement badges will now have a blue or gold border to identify whether they have been unlocked in softcore or hardcore mode. Similarly, the game badge will have a blue border if all achievements have been unlocked in either mode or a gold border if all achievements have been unlocked in hardcore mode.
This commit is contained in:
LillyJadeKatrin
2023-07-04 16:17:10 -04:00
parent ba83efded6
commit 80d77cfdad
3 changed files with 20 additions and 1 deletions

View File

@ -79,6 +79,10 @@ public:
BadgeStatus unlocked_badge;
};
static constexpr std::string_view GRAY = "transparent";
static constexpr std::string_view GOLD = "#FFD700";
static constexpr std::string_view BLUE = "#0B71C1";
static AchievementManager* GetInstance();
void Init();
void SetUpdateCallback(UpdateCallback callback);