Commit Graph

4126 Commits

Author SHA1 Message Date
Henrik Rydgård
d0b42705a0 Switch over to rc-client 2023-07-08 18:59:37 +02:00
Henrik Rydgård
0bf0a4a1ef UIContext: Add an easy way to draw drop shadows under rectangular things 2023-07-08 18:25:00 +02:00
Henrik Rydgård
952e125c7e Break out rendering of "notices" from OnScreenDisplay. They can now also be used as views.
Use it for the new message in ControlMappingScreen, when you try to map
a combo when that's disabled. It'll have more uses.
2023-07-07 15:23:19 +02:00
Henrik Rydgård
b9327073bb Add checkbox controlling if new mappings can be combo mappings.
These can be problematic with certain controllers that send double
signals. Like PS4 controllers on Android, the analog triggers send dual
axis events, and additionally digital events.
2023-07-07 10:42:08 +02:00
Henrik Rydgård
16efa1d877
Merge pull request #17672 from hrydgard/android-show-exceptions
Android: Show some Java exceptions as they happen
2023-07-06 20:24:06 +02:00
Henrik Rydgård
bc35c3341f Allow putting a user string in reported java exceptions 2023-07-06 19:21:19 +02:00
Henrik Rydgård
9d877106d7 Android: Report various exceptions that we catch to the user if they happen
This can let users help debug some obscure cases.
2023-07-06 19:06:27 +02:00
Henrik Rydgård
e1060c80ff
Merge pull request #17671 from hrydgard/android-message-cleanup
Android string message cleanup
2023-07-06 19:06:14 +02:00
Henrik Rydgård
b15b283600 Buildfixes 2023-07-06 18:40:06 +02:00
Henrik Rydgård
30f470a696
Merge pull request #17670 from hrydgard/input-fixes
Control and menu navigation fixes
2023-07-06 17:44:06 +02:00
Henrik Rydgård
84fffec4f3 Switch all NativeMessageReceived to System_PostUIMessage 2023-07-06 17:26:02 +02:00
Henrik Rydgård
ac4506e389 Stop "messages from java" to leak out to NativeMessageReceived except where explicitly allowed 2023-07-06 17:13:04 +02:00
Henrik Rydgård
c3d7074e30 Fix . button in the hostname/ip address editor 2023-07-06 16:49:36 +02:00
Henrik Rydgård
f27850ec1d Minor cleanup in MoveFocus, set tags on screen roots for debugging 2023-07-06 16:34:54 +02:00
Henrik Rydgård
356cc64eb5 Logging improvements, cleanup 2023-07-06 14:56:52 +02:00
Henrik Rydgård
fc3f7da3af TouchTestScreen: Have 8 entries logged instead of 2. 2023-07-06 11:48:25 +02:00
Henrik Rydgård
667abd0a48 GameInfoCache: Some fixes for the icon loaded flag.
Not really important but why not. Extracted from #17646
2023-07-02 17:18:13 +02:00
Henrik Rydgård
a7c21b582e Move UI/RetroAchievements.{cpp,h} to Core.
Necessary to avoid some dependency inversion.

Gotta figure out how this will interact with the libretro stuff..
2023-07-02 12:02:20 +02:00
Henrik Rydgård
769aa9f0da Remove incomplete sound code from RetroAchievements code (will redo) 2023-07-02 11:52:24 +02:00
Henrik Rydgård
eb21a2e6c9 Break out the OSD data holder from Common/System/System.h, into OSD.cpp/h 2023-06-30 17:15:49 +02:00
Henrik Rydgård
f7c09ba488 Remove the RAIntegration stuff for now (wasn't actually enabled)
This is just the untested achievement editor integration code from DuckStation.

Removing this code will make the conversion to ra_client_t easier.
Might eventually add this capability back properly in one way or another.

Part of #17631
2023-06-28 00:56:02 +02:00
Henrik Rydgård
27847abac4 Fix two OSD rendering bugs (messages with text2 didn't render it, text alignment with icon) 2023-06-27 23:39:13 +02:00
Henrik Rydgård
5f38883973 Translate achievement stuff to Swedish 2023-06-27 18:04:27 +02:00
Henrik Rydgård
23d4f7abe8 Implement viewing of leaderboards 2023-06-27 11:12:25 +02:00
Henrik Rydgård
df8a745350 RetroAchievements: Add a tab for debug stats 2023-06-27 10:33:40 +02:00
Henrik Rydgård
b991e9d8fd Minor cleanups, add most translation strings to en_US.ini 2023-06-27 09:53:03 +02:00
Henrik Rydgård
81e1293693 Token name and path fix 2023-06-26 17:21:39 +02:00
Henrik Rydgård
d4239e7c98 Keeping it simple - putting the token in memstick/PSP/SYSTEM for now 2023-06-26 17:09:35 +02:00
Henrik Rydgård
23e37b7ca7 Achivement list rendering fix (wrong alpha) 2023-06-26 10:13:18 +02:00
Henrik Rydgård
4134acc492 Use the new "secret storage" to store the retroachievements token 2023-06-26 10:01:42 +02:00
Henrik Rydgård
87846c5fcb Add simple facility for storing secret in app-private storage on Android (other platforms not so good) 2023-06-26 10:01:42 +02:00
Henrik Rydgård
37fb3be4d5 Visual improvements, notify if game unknown to RetroAchievements 2023-06-26 10:01:42 +02:00
Henrik Rydgård
b0dc1dbbf0 Login: Support desktop platforms other than Windows. 2023-06-26 10:01:42 +02:00
Henrik Rydgård
d63415dfc4 Set up a custom rc_hash_filereader to make things work on Android (login left to do) 2023-06-26 10:01:42 +02:00
Henrik Rydgård
9502d55260 Fix 2023-06-26 10:01:42 +02:00
Henrik Rydgård
69a5ca0e1d A bunch of visual updates and fixes. Lots left to polish. 2023-06-26 10:01:42 +02:00
Henrik Rydgård
c442d1de86 Implement rendering of unlocked achievements. Not final design. 2023-06-26 10:01:42 +02:00
Henrik Rydgård
078002d867 Show progress when downloading achievement data 2023-06-26 10:01:41 +02:00
Henrik Rydgård
3218422a69 Attempt to add memory access validation through rc_runtime_invalidate_address 2023-06-26 10:01:41 +02:00
Henrik Rydgård
da36d78d4f De-spam the logs 2023-06-26 10:01:41 +02:00
Henrik Rydgård
3b6989bff7 Hook up progress bar, minor fixes 2023-06-26 10:01:41 +02:00
Henrik Rydgård
eaa1975ac9 Improve logging on bad memory access from RA 2023-06-26 10:01:41 +02:00
Henrik Rydgård
54a378f145 Fix bug in Achievements::SafeHasAchievementsOrLeaderboards() 2023-06-26 10:01:41 +02:00
Henrik Rydgård
4e8c29d58d Minor drawing issue 2023-06-26 10:01:41 +02:00
Henrik Rydgård
80ff3f89bf Improve the pause screen achievement list, show a game banner at the top 2023-06-26 10:01:41 +02:00
Henrik Rydgård
c379f6f486 Implement retroachievements login (on platforms that support the login dialog) 2023-06-26 10:01:41 +02:00
Henrik Rydgård
1d0badae56 Achievements: Show achievement icons in list 2023-06-26 10:01:41 +02:00
Henrik Rydgård
603dc7493a Image caching work 2023-06-26 10:01:41 +02:00
Henrik Rydgård
6326880070 Properly include stenzek's DuckStation copyright notices in the retro files 2023-06-26 10:01:41 +02:00
Henrik Rydgård
93de74144e Add basic achievement rendering 2023-06-26 10:01:41 +02:00