Commit Graph

124 Commits

Author SHA1 Message Date
twinaphex
794de84961 Get rid of variable-length array 2017-12-30 08:09:35 +01:00
celerizer
a2ab7defa9
Fix unofficial achievements not being loaded
RetroArch is currently returning only achievements with flag 3 from the site, regardless of whether "Test Unofficial" is on or not. This change makes RetroArch return every achievement from the site when this the option is on or only those marked with Flag 3 (core cheevos) when off.
2017-12-28 17:48:58 -06:00
celerizer
a79bd5a509
Support Neo Geo Pocket
For after https://github.com/libretro/beetle-ngp-libretro/pull/37 is merged.
2017-12-28 16:38:57 -06:00
twinaphex
c7c4b723d6 Move path_file_exists to filestream and do away with filestream
dependencies in file/file_path
2017-12-14 20:05:46 +01:00
gblues
6904101c44 Clean up trailing whitespace
== DETAILS

Really simple code cleanup, because my editor flags trailing whitespaces
and it's pretty annoying.
2017-12-12 00:24:18 -08:00
twinaphex
c4d8a8c800 Free after intfstream_close 2017-12-11 20:24:00 +01:00
twinaphex
e62e9233d7 Add intfstream_get_size 2017-12-11 13:21:44 +01:00
twinaphex
61d3f90cae Add hint defines to libretro.h 2017-12-11 12:53:47 +01:00
twinaphex
318f17c4cb Start using VFS API constant defines 2017-12-11 12:15:00 +01:00
twinaphex
2e979ec537 Replace function signatures of file_stream file functions 2017-12-10 22:25:38 +01:00
Twinaphex
8b095eda74
Merge pull request #5878 from leiradel/cheevos_loaded
Fixed cheevos_loaded being true when there are no cheevos
2017-12-08 06:39:46 +01:00
leiradel
8c1e3e5d5b Fixed CXX_BUILD 2017-12-08 00:08:16 +00:00
leiradel
c53d3d35b8 Removed TODO comment 2017-12-07 23:51:15 +00:00
leiradel
bf8f7b444b Fixed cheevos_expr_value to be C89 compliant 2017-12-07 23:48:03 +00:00
leiradel
130a001846 Fixed wrong leaderboard count 2017-12-07 19:49:39 +00:00
twinaphex
32c1c3134e Fix another C89 issue 2017-12-05 16:45:57 +01:00
twinaphex
f9fa2ab2b7 More C89_BUILD fixes 2017-12-05 16:44:05 +01:00
twinaphex
863858ab00 Can't have anonymous variadic macros in C89 2017-12-05 16:42:37 +01:00
twinaphex
3ede6a9aeb Some C89_BUILD fixes 2017-12-05 16:35:03 +01:00
leiradel
ebbd1883ff Merge branch 'master' into cheevos_loaded 2017-11-26 22:50:39 +00:00
Andre Leiradella
6903602665 Set cheevos_loaded to false if the cheevos and leaderboard lists are empty 2017-11-26 22:03:59 +00:00
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
ec2808685d Add files to handle all cheevos badges. 2017-11-23 07:56:46 -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
twinaphex
c89ed117b6 Style nits 2017-11-18 19:11:14 +01:00
Rob Loach
6eb18ed03f
Fix some Cheevos free() memory calls 2017-11-18 12:40:46 -05:00
twinaphex
e6e27fe4cb Silence one Coverity warning 2017-11-17 20:11:22 +01:00
twinaphex
56a3bc10e3 Conditional frees 2017-11-17 19:52:35 +01:00
Brad Parker
07f3919811 only call setvbuf right after opening file, and use our own buffer for C89 compliance 2017-11-17 02:28:45 -05:00
celerizer
3519e4e16a
RA Leaderboards: Restore original var.c 2017-11-12 17:06:43 -06:00