Commit Graph

94 Commits

Author SHA1 Message Date
radius
88e84d1c79 fix a mistake I made when rewriting this code 2017-11-24 08:40:29 -05:00
radius
9b19d334c7 use a single list for achievements 2017-11-23 22:49:11 -05:00
Twinaphex
a490039253
Merge pull request #5759 from fr500/master
Achievement badges
2017-11-24 04:09:33 +01:00
twinaphex
8662d66f2e Try to be safer with calloc allocation 2017-11-24 04:08:32 +01:00
radius
ca2d2e4ba5 undefine this 2017-11-23 21:43:08 -05:00
radius
36b9bd9675 free CHEEVOS_VAR_JSON 2017-11-23 21:33:41 -05:00
Andrés
3744108790
Revert "use a single list for achievements" 2017-11-23 20:49:42 -05:00
radius
64f927292f use a single list for achievements 2017-11-23 20:35:54 -05:00
radius
faef304755 use filestream_write_file instead 2017-11-23 17:53:28 -05:00
radius
a865720d25 indentation 2017-11-23 17:49:55 -05:00
radius
459b669798 use filestream 2017-11-23 17:47:50 -05:00
radius
a80fc4a762 revert this for now 2017-11-23 17:40:22 -05:00
radius
1c0e692070 rewrite so the variables are not allocated on stack 2017-11-23 17:07:22 -05:00
radius
e55adf164a Merge remote-tracking branch 'gamedragon/cheevos_badges' 2017-11-23 14:42:55 -05:00
GameDragon2k
2b9636d782 Add xmb menu items 2017-11-23 11:55:53 -05:00
GameDragon2k
cfe59bcf2a Cheevos badges 2017-11-23 08:04:54 -05:00
GameDragon2k
63090ae2e4 Simple http request function to download badges. 2017-11-23 08:02:41 -05:00
GameDragon2k
8b9ad28ecb channges to populate and apply badges. 2017-11-23 07:56:47 -05:00
GameDragon2k
84e80e47df Initial test for badge icon 2017-11-23 07:53:24 -05:00
meleu
4318a43ab3
better grammar 2017-11-22 22:34:48 -02:00
meleu
8e0ee72283
cheevos: do not show "0 of 0 cheevos unlocked" msg
**This will happen only if `cheevos_verbose_enable = true`.**

When loading a game tha doesn't have any achievement, instead of showing an OSD message saying "You have 0 of 0 achievements unlocked." just say "This game doesn't have any achievement."

I've just added an `if(cheevos_locals.core.count > 0)` and added indentation. The diff makes it look like it got more changes than it actually got.
2017-11-22 12:56:17 -02:00
celerizer
7be0dd9b18
RA Leaderboards: BCD and Ignore Unused Fields
- Support for binary-coded-decimal submits (b0x1234)
- Ignore unused fields from older leaderboards (PRO, FOR, TTL, DES)
2017-11-19 14:16:49 -06:00
celerizer
6db4bd2d8a
RA Leaderboards: Submit condition hex multipliers
accidentally reverted a previous change
2017-11-12 11:27:12 -06:00
celerizer
91c40ddfbf
RA Leaderboards: Submit condition hex multipliers
Wasn't aware this was possible
2017-11-12 11:23:08 -06:00
celerizer
b11922dd17
RA Leaderboards: comment fixes
//s to comment blocks
2017-11-11 19:58:08 -06:00
celerizer
6e8cb62cb8
RA Leaderboards: changes at leiradel's request
Fixes:
- The cheevos_print_xxx functions have moved to cheevos_format_value, will be better for RPS in the future.
- CHEEVOS_CONSOLE_ZX81_SPECTRUM -> CHEEVOS_CONSOLE_ZX81
- Remove all instances of CHEEVOS_ENABLE_LBOARDS
- cheevos_parse_format rewritten

New:
- Multiple values multiplied by nothing add correctly
- Failsafe to prevent LBs from submitting 0
- Memory patching for Atari 2600
2017-11-11 17:30:10 -06:00
celerizer
764290b851
Free memory on invalid LB, allow decimal multipliers 2017-11-10 07:17:07 -06:00
celerizer
ea5de035bf
RetroAchievements leaderboards enable/fixes
- Leaderboards are enabled based on an Achievements settings boolean
- Leaderboards don't trigger in softcore
- Values multiplied by nothing are correctly parsed
- Leaderboard memaddrs are patched based on console like cheevos
- Support for '$' operator added
- Human-readable formatting for LB values
2017-11-09 20:33:29 -06:00
celerizer
7e185b7ce4
Leaderboard fixes, functions
Values multiplied by nothing always correctly add, leaderboard memaddrs are patched, support for '$' operator.
2017-11-09 19:48:38 -06:00
celerizer
1fe0002a21
Leaderboards
Fixed crashing errors for certain leaderboard expressions, added OSD messages, enable/disable options in menus, only allow LBs in hardcore mode, read FormatType and display accordingly on submit, memaddr patching for LB values (may not actually be needed), preliminary RPS stuff.
2017-10-31 01:08:29 -05:00
Andre Leiradella
9ee28f0f24 Moved all cheevos_cond_t related stuff to their own files 2017-10-22 19:42:15 +01:00
Andre Leiradella
cd918390bb Moved all cheevos_var_t related stuff to their own files 2017-10-22 17:11:23 +01:00
Andre Leiradella
83f6e70bfa Removed commas from the last enumerations values 2017-10-22 11:51:39 +01:00
Andre Leiradella
aa8b7f65c5 Added a different code path to calculate the hash for Atari Lynx ROMs 2017-10-21 19:22:22 +01:00
Andre Leiradella
c7849de707 Fixed some cheevos with required hits not registering 2017-10-15 16:51:26 +01:00
Andre Leiradella
d6dbe9a6ad Fixed some memory leaks; added logs for address patching 2017-10-15 16:49:25 +01:00
Andre Leiradella
1e40f73b76 Renamed coroutine variables to fix the griffin build 2017-10-15 13:35:49 +01:00
Andre Leiradella
f462d5e7c2 A saner way to how only retry messages 2017-10-14 14:06:26 +01:00
Andre Leiradella
aadc532b9c Only show retry messages after the first try 2017-10-14 13:44:24 +01:00
Andre Leiradella
5b7262d83f Added five retries with 3 secs interval for network connections during cheevos initialization 2017-10-14 12:53:14 +01:00
Andre Leiradella
9d817f95f5 Fixed wrong message when deactivating cheevos 2017-10-03 21:03:48 +01:00
Andre Leiradella
355b6dcbdd Merge branch 'master' of https://github.com/libretro/RetroArch 2017-10-03 20:07:19 +01:00
Rob Loach
d87d57a368
Fix the Cheevos log message format 2017-10-03 02:34:04 -04:00
Andre Leiradella
3010b8ab2e Fixed Add/Sub source conditions 2017-08-26 12:53:10 +01:00
Andre Leiradella
7846f0312b Conditions are true by default 2017-08-26 12:44:35 +01:00
Andre Leiradella
8cae8a5720 Fixes to the new condition types 2017-08-17 21:14:50 +01:00
ensra
6a36453f20 Cast ctype args to unsigned char 2017-08-08 12:21:48 +01:00
twinaphex
ab936adf1c Some C89 buildfixes 2017-08-06 17:08:29 +02:00
Andre Leiradella
2444d8b39c Fix GBC cheevos using addresses in the Echo RAM 2017-07-09 18:32:53 +01:00
Andre Leiradella
3a590f126d Increased size limit to compute hashes because of 64 Mb N64 games 2017-07-09 01:15:21 +01:00