Commit Graph

227 Commits (18768bcaba5cce29a0594f6c672d64cecb5bb0bc)

Author SHA1 Message Date
Connor McLaughlin 2459ac7cc5
Achievements: Fix crash on unknown game 1 year ago
Stenzek 6e4da72552
System: Remove use of CDImage title metadata
This way memory card filenames are consistent regardless of the
image format.

Also make GetGameMemoryCardPath() and GetMemoryCardForSlot()
behave the same.
1 year ago
Stenzek 627fec4e30
FullscreenUI: Tweak text colours slightly 1 year ago
Stenzek c3e5075c60
Achievements: Show notification when challenge fails
If mode is set to notifications.
1 year ago
Stenzek d7ed9a736d
Achievements: Show most recent progress update in pause menu 1 year ago
Stenzek 78fa54344e
SmallString: Make constructors explicit
Catch more errors at compile-time.
1 year ago
Stenzek 414ddf78cc
Achievements: Display warning for unsupported achievements 1 year ago
Stenzek 2a2a011854
FullscreenUI: Improve title padding of achievements
Need to redo this whole dialog's layout, but this'll do for now.
1 year ago
Stenzek 9b99d997f5
Achievements: Fix display of game completion date 1 year ago
Stenzek e38039873e
Achievements: Infer and display beaten/completed time 1 year ago
Stenzek 501380ec7c
Achievements: Split up overlay setting
Split into challenge indicator modes, leaderboard trackers, and progress
indicators.
1 year ago
Davide Pesavento 70d6a2d1af Achievements: Revert back to long date format for unlock/submit time 1 year ago
Stenzek 9b353f841e
Misc: Use host locale formatting for dates
Fixes achievement unlocks and lasted played times being shown in US
format.
1 year ago
Stenzek f65ca0dab3
FullscreenUI: Don't round achievements inner progress bars 1 year ago
Stenzek 311e93fae4
FullscreenUI: Use game path for loading screen image
Makes it work with custom titles.
1 year ago
Stenzek 278614a415
FullscreenUI: Display game cover when loading 1 year ago
Stenzek 8ef97b9b46
FullscreenUI: Sort unlocked achievements by unlock time 1 year ago
Stenzek be867c815d
FullscreenUI: Minor polish to achievements list 1 year ago
Stenzek 9e319ff495
FullscreenUI: Avoid ID duplication in choice dialogs
If two items, e.g. discs happen to have the same display name.
1 year ago
Stenzek 33b1e82e34
Achievements: Fix imgui assertion in leaderboard view 1 year ago
Stenzek 68fa33e075
FullscreenUI: Polish achievements page 1 year ago
Stenzek d18910a619
Achievements: Release lock while waiting for HTTP requests 1 year ago
Stenzek 88a63f04be
FullscreenUI: More hardcoded size removal
In achievements and elsewhere.
1 year ago
Stenzek 5063a49f2a
FullscreenUI: Remove hardcoded sizes for menu items
Make it dynamic based on content instead.
1 year ago
KamFretoZ fa0a926133
Deps: Bump FontAwesome to 6.7.2 (#3456) 1 year ago
Davide Pesavento 6ef3df5a5c
Achievements: Use gethostuuid() as machine key on macOS (#3452) 1 year ago
Stenzek 77457a3b1d
ImGuiManager: Switch to dynamic fonts 1 year ago
Stenzek d54077e345
Achievements: Add 'Refresh Progress' option
Manually refreshes the all progress database if you have completed
unlocks on other devices/machines.
1 year ago
Stenzek 0205f9fa04
Achievements: Update progress database unconditionally on unlock
Doesn't make sense to preserve the greater count, since it can be
reset through the RA webpage, and SC/HC seems to work fine here.
1 year ago
Stenzek d9367229e9
Achievements: Avoid duplicate tracker display 1 year ago
Stenzek fc7934a2be
FullscreenUI: Fix nav focus loss in leaderboards
Stops hotkeys triggering when using mouse navigation.

Also fixes the first leaderboard entry not focusing on page swap.
1 year ago
Davide Pesavento 401f2652ca
Achievements: Use round instead of ceil for unlocked percentage (#3418) 1 year ago
Stenzek 6cde51b7b5
Achievements: Tidy up API calls 1 year ago
Stenzek aee66edd6e
Achievements: Unload RAIntegration on UI thread
Fixes crash when toggling it on/off.
1 year ago
Stenzek 2aea3e1c3c
FullscreenUI: Add vertical padding to several windows
Looks less cluttered.

- Achievement/leaderboard lists.
- Game list/game grid.
- Save state selector.
1 year ago
Stenzek 30fe7f3e4a
Achievements: Manually generate badge URLs when using RAIntegration
It doesn't fill in these fields (currently at least).
1 year ago
Stenzek d326d307b4
Achievements: Fix memory writes using CPU addresses 1 year ago
Stenzek 559f831c30
Achievements: Defer login/game identify until after RAIntegration load 1 year ago
Stenzek 1fa77e530b
FullscreenUI: Center achievement/leaderboard images
Fixes the placeholder image being stretched.
1 year ago
Stenzek 057398b4ab
FullscreenUI: Mostly replace C string usage with string_view 1 year ago
Stenzek 8f8f7cd1cb
Achievements: Queue RAIntegration writes on CPU thread 1 year ago
Stenzek fca250257c
Achievements: Initialize RAIntegration in two parts 1 year ago
Stenzek e7a3465598
Achievements: Display hardcore disabled subtitle in game summary 1 year ago
Stenzek 284b13cd43
Achievements: Fix starting with RAIntegration-forced HC mode 1 year ago
Stenzek 8e73b1db7e
Achievements: Display notification on subset complete 1 year ago
Stenzek 6165b504b8
Achievements: Use new badge_url/badge_locked_url fields 1 year ago
Stenzek 4708a8fda4
Achievements: Fix login while ingame 1 year ago
Stenzek 21560537c2
Achievements: Fix crash starting with no game 1 year ago
Stenzek d286b96c2d
Achievements: Swap RAInterface for RAIntegration via rc_client 1 year ago
Stenzek 1bb1354d4e
Achievements: Use rc_client as source of truth for HC mode 1 year ago
Stenzek a0aac8ef17
dep/rcheevos: Bump to latest upstream 1 year ago
Stenzek e41543c38a
Achievements: Cache latest/nearest achievement info
When using RAIntegration through rc_client, the rc_client_achievement_t
pointer does not persist after rc_client_destroy_achievement_list().
1 year ago
Stenzek b794e841a9
Achievements: Improve HC self-disable 1 year ago
Stenzek 584ed4bb38
FullscreenUI: Fix progress bar line at 0% 2 years ago
Stenzek 0f6e5bb1fe
FullscreenUI: Fix pause menu achievements text progress colour 2 years ago
Stenzek bbdc6ab4e0
Misc: Fix a bunch of code analysis warnings
Quite a few of these were legitimate.
2 years ago
Stenzek 04c5a9f1b2
FullscreenUI: Improve leaderboard text contrast 2 years ago
Stenzek 64513395f3
FullscreenUI: Add fade transition to most screen changes 2 years ago
Stenzek 54c42f9c27
Achievements: Consider all-hidden-leaderboards as no leaderboards
Stops the menu option being available and showing 0 leaderboards.
2 years ago
Stenzek b4ae19411b
Achievements: Show unconfirmed unlocks in pause menu 2 years ago
Stenzek a1e5bb7bc0
FullscreenUI: Display legend for achievement status icons 2 years ago
Stenzek 4f00a7c7c1
FullscreenUI: Add rounding to achievements progress bars 2 years ago
Stenzek 3420af829c
FullscreenUI: Display unlock rarity in achievements view 2 years ago
Stenzek b6fa2cecd3
FullscreenUI: Fix shadowed text alpha again 2 years ago
Stenzek 9c971825a9
FullscreenUI: Apply theme to ingame achievement overlays 2 years ago
Stenzek e422afdec1
FullscreenUI: Improve achievements pause menu overlays
- Add most recent unlock/nearest completion.
- Make it look nicer and better fit with the rest of the interface.
2 years ago
Stenzek d6ab840e4b
FullscreenUI: Use RetroAchievements game icon as fallback game image 2 years ago
Stenzek 492a55ee8b
FullscreenUI: Add icons to achievement list categories 2 years ago
Stenzek 9f0bbccd50
Achievements: Fix progress bar text alignment 2 years ago
Stenzek 34fdbafe85
FullscreenUI: Add drop shadows to most text
Improves readability with custom backgrounds.
2 years ago
Stenzek 91370ee5ac
Achievements: Update both HC and SC counts on unlock/boot 2 years ago
Stenzek fa3815d681
Achievements: Fix progress database corruption 2 years ago
Stenzek 5fb5dcdd70
Achievements: Improve summary popup
Put hardcore mode notice on its own line, rather than in
parenthesis in the title.
2 years ago
Stenzek b5925ab139
Achievements: Include any codepoints above 0x100 in dynamic range 2 years ago
Stenzek d314b25f91
System: Fix per-game achievements hardcore mode
By mostly reverting 4dd6365a99, I didn't
think of all the implications. Not just per-game HC mode, but it's also
problematic on Android too.
2 years ago
Stenzek 4dd6365a99
System: Simplify HC disable confirm on startup
Use one path on all platforms, always asynchronous.
2 years ago
Stenzek 0e3668a7bb
GameList: Show achievement information in game list 2 years ago
Stenzek 6512ed8a8c
Achievements: Add offline tracking of progress and hash library 2 years ago
Stenzek d4b0b7fc29
Achievements: Include rc_client version in user agent 2 years ago
Stenzek 6a09d6ecda
Achievements: Don't store hash as a string
This is needed to store achievement metadata in the game list.
2 years ago
Stenzek f219b47e98
FullscreenUI: Use constant width/height scale on Android
Fixes achievement notifications being differently sized
depending on the screen rotation.
2 years ago
Stenzek 43e7be902c
Misc: Add missing error reporting to a couple of WriteBinaryFiles() 2 years ago
Stenzek 79245b6cd6
FullscreenUI: Make footer text background semitransparent 2 years ago
Stenzek 3621705933
Achievements: Ensure loading old states behave the same as new 2 years ago
Stenzek 8f39dbb464
Achievements: Fix race condition invalidating images 2 years ago
Stenzek d3ee12d358
Achievements: Login error notification should be translatable 2 years ago
Stenzek e43d7046ba
Achievements: Attempt relogin on system boot
And display an error notification if login fails, instead of
invalidating the token.
2 years ago
Stenzek 0f76543685
Achivements: Set rc_client log level from host log level 2 years ago
Stenzek c43533f8d8
FullscreenUI: Extend achievement overlays to screen margins
Fixes overlays getting caught in rounded corners on Android.
2 years ago
Stenzek 9921d2074c
Achievements: Fix serialization on Linux 2 years ago
Stenzek 0528ce567c
Achievement: Fix glitchy fade indicator animation 2 years ago
Stenzek 00eb54cd15
Achievements: Refactor state serialization
Fix load failures, and eliminate the buffer copy.
2 years ago
Stenzek 9b62632951
Achievements: Re-add NeedsIdleUpdate()
Forgot I needed this on Android..
2 years ago
Stenzek 6b754e6759
FullscreenUI: Fix CPU/GPU thread race on achievements toggle 2 years ago
Stenzek 2d659fc3eb
GPU: Move backend work off CPU thread 2 years ago
Stenzek 31c1cfa650
Achievements: Remove unused NeedsIdleUpdate() 2 years ago
Stenzek 53c08c52ed
ImGuiFullscreen: Pack state in struct 2 years ago
Stenzek 25063d4018
Achievements: Fix overlay stacking 2 years ago
Stenzek 0faa9cf650
Build: Add Devel configuration
Gets you debug assertions and logging, while still producing an
optimized executable.
2 years ago
Stenzek b059cda8d5
Achievements: Pack state in struct 2 years ago