summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/VideoBackendBase.cpp
diff options
context:
space:
mode:
authorLillyJadeKatrin <lilly.kitty.1988@gmail.com>2024-03-09 21:34:20 -0500
committerLillyJadeKatrin <lilly.kitty.1988@gmail.com>2024-05-01 06:43:20 -0400
commitd2069e888d75abc51fa23e9dd5d43f405e48ce33 (patch)
tree9d51d0f4f7552324447309db2ce906f790401365 /Source/Core/VideoCommon/VideoBackendBase.cpp
parent3793d723b970be7ae8f40457dd64fbae1cfdb9e9 (diff)
Refactored AchievementProgressWidget to maintain AchievementBox list
AchievementProgressWidget maintains in memory a map of AchievementBox pointers so that UpdateData can operate on them individually. UpdateData is overhauled for three options: UpdateData(true) will destroy the entire list and re-create it from scratch as before, to be used if the game or player changes/closes/logs out. UpdateData(false) will loop through the map and call UpdateData on every achievement box, to be used for certain settings changes such as enabling badges or disabling hardcore mode. UpdateData(set<IDs>) will call UpdateData on only the IDs in the set, to be used when achievements are unlocked.
Diffstat (limited to 'Source/Core/VideoCommon/VideoBackendBase.cpp')
0 files changed, 0 insertions, 0 deletions