Commit Graph

131 Commits

Author SHA1 Message Date
twinaphex f54476fdd8 Remove unused variables 2015-12-06 18:39:48 +01:00
twinaphex d33f0b5239 Don't make async_jobs dependent on global state anymore 2015-12-06 18:37:57 +01:00
twinaphex 1cfb39a9d1 merge menu.c and menu_driver.c 2015-12-06 17:55:27 +01:00
twinaphex 074f14b132 Add verbosity.c/verbosity.h 2015-11-23 12:03:38 +01:00
Higor Eurípedes 27f77a4291 (cheevos) Fix clang warning 2015-11-19 10:05:08 -03:00
Andre Leiradella fe79269133 don't test cheevos if there are none 2015-11-10 00:21:35 -02:00
Andre Leiradella 181fae83eb fixed warnings in cxx build 2015-11-09 23:46:44 -02:00
Andre Leiradella b6f995a1d7 moved the async job queue to the global_t scope 2015-11-08 22:53:17 -02:00
Andre Leiradella 3479ba2dba url-encode user-provided data 2015-11-08 17:40:25 -02:00
Andre Leiradella 2253e4c236 added cheevos_get_description to get a cheevo's description given its index 2015-11-08 16:42:23 -02:00
Andre Leiradella 6c8e32205d fixed wrong comparison 2015-11-08 15:42:44 -02:00
Andre Leiradella b1b5cb93e0 removed unnecessary comparisons 2015-11-08 15:33:16 -02:00
twinaphex 78d26b2e6f (cheevos.c) Further cleanups 2015-11-08 18:09:04 +01:00
twinaphex 7b61f1eb27 Further cleanups 2015-11-08 18:05:58 +01:00
twinaphex f57675fa40 Cleanup cheevos_populate_menu 2015-11-08 18:03:56 +01:00
Andre Leiradella c007298494 fixed the achievements list menu 2015-11-08 13:51:14 -02:00
Andre Leiradella 8700450410 list cheevos in the frontend menu 2015-11-08 13:19:54 -02:00
Andre Leiradella 5e9a25412d added cheevos_ to all functions to future-proof cheevos against name clashes in griffin.c 2015-11-08 12:41:57 -02:00
Andre Leiradella 1dec6333d2 retry to post the playing game and achievement unlock activities 2015-11-08 01:34:44 -02:00
Andre Leiradella 17ef8fba27 fix crashes for cores that don't require content to run 2015-11-06 19:14:18 -02:00
Andre Leiradella d61d703d33 added log message when the core doesn't support cheevos 2015-11-06 17:37:06 -02:00
Andre Leiradella 8ff77c5a56 fixed extension scanner 2015-11-06 13:34:34 -02:00
Andre Leiradella 660be775cc avoid using the same finder more than once 2015-11-05 23:14:50 -02:00
Andre Leiradella b7c6f80888 better rom detection; playing activity is sent asynchronously 2015-11-04 22:41:12 -02:00
Andre Leiradella 045c576729 fixed cheevos_get_value when the key isn't found 2015-11-04 01:22:59 -02:00
Andre Leiradella 14dde87e7b fix cheevos_fill_md5; better way to check if the core supports cheevos 2015-11-04 01:05:46 -02:00
Andre Leiradella 07ae4e7aeb added log messages for the md5 methods being used to identify games for cheevos 2015-11-03 15:33:49 -02:00
Twinaphex 1a73f239a1 Merge pull request #2340 from leiradel/master
show a message if the core doesn't support cheevos
2015-11-03 17:37:18 +01:00
Andre Leiradella 20d8571bbd show a message if the core doesn't support cheevos 2015-11-03 14:28:18 -02:00
twinaphex 9b6e1a1536 (cheevos.c) Use next_pow2 from retro_miscellaneous.h 2015-11-03 13:42:24 +01:00
Andre Leiradella a1b8c566dc fixed detection of nes games 2015-11-03 10:06:03 -02:00
Andre Leiradella 7dc68443d6 correct evaluation of genesis md5 hashes 2015-11-03 00:54:26 -02:00
twinaphex fa9ef5b021 Backport leiradel PR - 'support need_fullpath; changed how md5 hashes
are tested'
2015-11-02 17:17:34 +01:00
Twinaphex 9025fbfe45 Merge pull request #2320 from leiradel/master
Added notifications for problems with cheevos; added game hash to the…
2015-10-31 12:42:23 +01:00
Andre Leiradella f3e016fc0a Added notifications for problems with cheevos; added game hash to the log 2015-10-30 19:31:21 -02:00
twinaphex 640767ff24 Move header includes to cheevos.h 2015-10-30 14:21:29 +01:00
twinaphex fd9ecb70af (Android) Add HAVE_CHEEVOS 2015-10-30 13:31:56 +01:00
twinaphex 971f5277d7 Move async_job to libretro-common 2015-10-28 07:47:57 +01:00
Andre Leiradella fda10142b4 added error messages to the log when net_http_get fails in cheevos.c 2015-10-27 21:54:51 -02:00
Andre Leiradella 674752ca96 sumbit achievements asynchronously to the server; download list of unlocked achievements to prevent earning the same achievement more than once; disabled achievements if the game was started with cheats enabled or after they were enabled during game play; fixed code style 2015-10-27 15:50:41 -02:00
Andre Leiradella 0ea54b966d removed http_get.[ch], using net_http_special now 2015-10-24 12:00:52 -02:00
Andre Leiradella 53f77acf37 move http_get to its own file; fix copyright 2015-10-23 23:25:27 -02:00
twinaphex 85fb94c452 Create net_http_special 2015-10-20 04:40:25 +02:00
Twinaphex 74030ec5c1 (Cheevos) Silence warnings 2015-10-20 04:32:16 +02:00
Twinaphex 9f5a9eddbd Merge pull request #2262 from leiradel/master
moved net_http_get back to cheevos.c
2015-10-20 03:24:52 +02:00
Andre Leiradella 33fc0cc803 moved net_http_get back to cheevos.c 2015-10-19 23:20:10 -02:00
Twinaphex 227bb3fe49 Remove malloc.h 2015-10-20 03:03:40 +02:00
Andre Leiradella b6a3da5a41 moved net_http_get to net_http.c; added timeout to cheevos http requests 2015-10-19 20:37:54 -02:00
Andre Leiradella eab254d6dc check malloc result 2015-10-19 14:57:05 -02:00
Andre Leiradella 10ca5833a3 only add cheevos to the build when HAVE_NETWORKING is enabled 2015-10-19 13:15:23 -02:00
twinaphex 7f843fe21e Start splitting up accounts options 2015-10-18 22:08:17 +02:00
Andre Leiradella 11d89ba289 don't even try to load achievements if they're disabled 2015-10-18 16:02:36 -02:00
Andre Leiradella 7456f2d032 even better error handling 2015-10-16 22:51:09 -03:00
Andre Leiradella 703f5e01e9 better error handling 2015-10-16 20:57:11 -03:00
twinaphex f48771ea42 (cheevos) Backport 'moved cheevos configuration to the config file' 2015-10-16 18:14:29 +02:00
twinaphex 41b27ad242 Backport 'map the ram as a contiguous block" 2015-10-16 18:07:57 +02:00
twinaphex 21f23ea51d Backport 'remove cheevos from the build unless HAVE_CHEEVOS=1;' 2015-10-16 18:04:59 +02:00
twinaphex 677d757c18 backport 'add guard for unknown roms with 8MB or more' 2015-10-16 18:00:22 +02:00
twinaphex b0b37cea98 cheevos.c - android buildfix 2015-10-15 16:08:19 +02:00
twinaphex 4604a1dd20 cheevos.c - cleanup 2015-10-15 16:07:18 +02:00
twinaphex c02e8ee202 cheevos.c - cleanup 2015-10-15 16:05:47 +02:00
twinaphex 0a3db8f7bb Update cheevos - style nits 2015-10-15 16:04:26 +02:00
Twinaphex bbcd49b6df Merge pull request #2238 from leiradel/master
fixed function signature
2015-10-15 04:51:58 +02:00
Andre Leiradella bbad416082 fixed function signature 2015-10-14 23:48:42 -03:00
Twinaphex 1c74fb0b77 Merge pull request #2237 from leiradel/master
removed special snes case, recompute md5 if the first one fails instead
2015-10-15 02:54:00 +02:00
Andre Leiradella 6cce351e3d prefix log messages with CHEEVOS 2015-10-14 21:30:23 -03:00
Andre Leiradella 3f1d902aad show achievement using osd messages 2015-10-14 21:08:19 -03:00
Andre Leiradella ff2d6b9c2b removed special snes case, recompute md5 if the first one fails instead 2015-10-14 20:52:25 -03:00
Twinaphex c077a69fa8 Merge pull request #2235 from leiradel/master
download the achievements list from retroachievements.org
2015-10-14 05:20:43 +02:00
Andre Leiradella cb24d13f8c download the achievements list from retroachievements.org 2015-10-14 00:12:01 -03:00
Twinaphex 0ca3043ee4 Merge pull request #2234 from leiradel/master
added md5
2015-10-14 04:01:09 +02:00
Andre Leiradella 479f574e1e better formatting of super mario world's cheevos; added some webservice examples 2015-10-13 18:59:26 -03:00
Twinaphex 590fc9605c Merge pull request #2231 from leiradel/master
fixed test logic, no more false positives; some minor changes
2015-10-11 18:05:06 +02:00
Andre Leiradella 64e479a802 fixed test logic, no more false positives; some minor changes 2015-10-11 12:55:29 -03:00
Twinaphex ce3f8f91b6 Merge pull request #2229 from leiradel/master
prefix fun
2015-10-10 16:17:51 +02:00
Andre Leiradella e372b50b7c prefix fun 2015-10-10 11:06:59 -03:00
twinaphex 81a50cf0fe cheevos.c - don't use malloc.h - not there on OSX/iOS 2015-10-10 11:07:49 +02:00
twinaphex 2a952fc083 (Cheevos) Buildfix 2015-10-09 20:42:39 +02:00
Andre Leiradella 89a7496413 fixed more function signatures 2015-10-09 13:52:15 -03:00
Andre Leiradella 9485298f78 fix function signatures; fix license on jsonsax 2015-10-09 13:48:17 -03:00
Andre Leiradella fa3f17d219 preliminary code for retro achievements (cheevos) 2015-10-09 13:29:57 -03:00