Commit Graph

126 Commits

Author SHA1 Message Date
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
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
6a08ca6a18
Get up-to-date with master 2017-11-09 19:57:10 -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
db1b53fd21 Fixed CID 178160: Uninitialized variables (UNINIT) 2017-10-22 18:02: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
Andre Leiradella
c3650f077a Removed the lazy initialization stuff, it's not needed anymore 2017-07-08 23:05:35 +01:00
Andre Leiradella
a62052eb0a Added support for N64 cheevos 2017-07-08 21:15:04 +01:00
Andre Leiradella
abd22ae770 Dump delay to wait for Mupen64 to initialize 2017-07-08 00:48:26 +01:00
Andre Leiradella
5e2e586f6e Support N64 cheevos 2017-07-07 23:12:38 +01:00
meleu
b4902e7df5 small fix on number of unlocked cheevos message
The previous version was showing the number of **locked** cheevos.
2017-07-03 17:16:39 -03:00
meleu
e9d8525e29 show login info only after a RA login procedure
The previous logic shows login info every time a game is launched.
2017-07-02 08:38:44 +01:00
meleu
58de712b77 show useful OSD messages to cheevos users after launching a game 2017-07-01 23:20:44 -03:00
twinaphex
b11620e1eb Add retro_timers.h/retro_math.h 2017-06-28 04:41:38 +02:00
Twinaphex
808b973752 (OSX) Silence warnings 2017-05-16 08:44:17 +02:00
Andre Leiradella
4a611b5096 Use next_pow2 2017-05-14 21:59:29 +01:00
twinaphex
80d9d1f143 Rewrite task_queue 2017-05-14 20:43:48 +02:00
twinaphex
055044be96 Set these values back to defaults here 2017-05-14 04:13:08 +02:00
twinaphex
c78ce113b4 CXX_BUILD buildfix 2017-05-14 03:29:26 +02:00
twinaphex
e5ed82858f C89_BUILD buildfix 2017-05-14 03:24:59 +02:00
Andre Leiradella
4764ba8770 Removed debug logs; added activity log 2017-05-14 01:20:07 +01:00
Andre Leiradella
fb5d31816d Taskified cheevos 2017-05-14 01:01:17 +01:00
twinaphex
42ebe7a7ad Merge runloop.c and retroarch.c 2017-05-11 09:11:46 +02:00
Andre Leiradella
7404abf938 Don't use more than 32 MB of the content data to compute the hash 2017-05-07 19:46:22 +01:00
Andre Leiradella
844d1475e6 Reverted cheevos changes in preparation for conversion to task; fixed 4884 2017-05-07 19:06:03 +01:00
twinaphex
33f2fe8029 Move cheevos.c to tasks/task_cheevos.c and add TODO/FIXME note 2017-05-06 05:50:46 +02:00
twinaphex
2c28505e04 Refactor cheevos_load 2017-05-06 05:13:28 +02:00
twinaphex
dfed19cb4d (Cheevos) More cleanups 2017-05-04 16:15:19 +02:00
twinaphex
10b636f80d (Cheevos) Cleanups 2017-05-04 16:13:11 +02:00
Andre Leiradella
7058207197 Prevent the menu from getting garbage for the cheevos list 2017-04-29 18:50:52 +01:00
Andre Leiradella
982c862deb Undefine the macro by default 2017-04-29 14:42:04 +01:00
Andre Leiradella
8a50b7373b Added a define to save the achievements JSON 2017-04-29 14:37:09 +01:00
twinaphex
f0c2d786ae Update arrays struct 2017-04-28 22:59:13 +02:00
twinaphex
ed53be7c81 Move all bool settings 2017-04-28 14:11:34 +02:00
twinaphex
ace37d2c7a Cleanups 2017-04-27 01:10:44 +02:00
twinaphex
3ec5816259 Rewrite RUNLOOP_CTL_SYSTEM_INFO_GET 2017-04-23 16:41:26 +02:00
Twinaphex
216e7bcdaf Silence more warnings on iOS 2017-02-26 21:46:19 +01:00
Twinaphex
b7b3b2cb5f Try to prevent truckload of warnings on iOS 2017-02-26 10:33:03 +01:00
Andre Leiradella
1b2685949a Fix for when net_http_get returns NET_HTTP_GET_OK but a NULL body 2017-02-15 21:30:47 +00:00
twinaphex
0143b537a8 Avoid warnings 2017-02-13 20:24:27 +01:00
Andre Leiradella
4fc758799f Only compile support for leaderboards if CHEEVOS_ENABLE_LBOARDS is defined 2017-02-12 16:18:32 +00:00
Twinaphex
8d2bafb279 Merge pull request #4596 from leiradel/master
Fixed crash in cheevos_get_description
2017-02-08 21:43:53 +01:00
Andre Leiradella
3785fc4524 Fixed crash in cheevos_get_description 2017-02-08 19:45:01 +00:00
Twinaphex
cea6945963 Merge pull request #4571 from leiradel/master
Added preliminary support for Retro Achievements leaderboards
2017-02-06 05:53:33 +01:00
twinaphex
52d46dcaf4 Fix another relative include 2017-02-06 05:51:51 +01:00
twinaphex
6e5b7c3a7b Fix relative includes 2017-02-06 05:51:28 +01:00
Andre Leiradella
bfcb8227f5 Fix typpo; parse constant values in leaderboards 2017-02-05 17:00:07 +00:00
Andre Leiradella
b5153ced9d Make leaderboard term multipliers signed; mark leaderboards explicitly in log messages 2017-02-05 16:39:14 +00:00
Andre Leiradella
6b9ba1e2b1 Added preliminary support for Retro Achievements leaderboards 2017-02-05 16:23:13 +00:00
Andre Leiradella
0c8ee93e3e Moved cheevos files to their own folder in preparation for the changes to support leaderboards 2017-02-03 10:03:57 +00:00