Skip to content

Commit ee9f321

Browse files
committed
dep/rcheevos: Remove files deleted upstream
1 parent 6126209 commit ee9f321

File tree

7 files changed

+66
-457
lines changed

7 files changed

+66
-457
lines changed

dep/rcheevos/CHANGELOG.md

Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,61 @@
1+
# v12.0.0
2+
* rc_client changes
3+
* add RC_CLIENT_EVENT_SUBSET_COMPLETED event
4+
* add 'avatar_url' to rc_client_user_t
5+
* add 'badge_url' to rc_client_game_t
6+
* add 'badge_url' and 'badge_locked_url' to rc_client_achievement_t
7+
* add rc_client_set_hash_callbacks
8+
* add rc_client_set_allow_background_memory_reads
9+
* renamed rc_client_begin_change_media to rc_client_begin_identify_and_change_media
10+
* renamed rc_client_begin_change_media_from_hash to rc_client_begin_change_media
11+
* use slim read/write locks for rc_mutex on Windows Vista+
12+
* use critical sections for rc_mutex on older versions of Windows
13+
* add translation layer in rc_client_external for cross-version support
14+
* rhash changes
15+
* rc_hash_init_verbose_message_callback and rc_hash_init_error_message_callback have been deprecated.
16+
- set values in iterator.callbacks instead.
17+
* rc_hash_init_custom_filereader and rc_hash_init_custom_cdreader have been deprecated.
18+
- set values in iterator.callbacks instead.
19+
* rc_hash_generate_from_file and rc_hash_generate_from_buffer have been deprecated.
20+
- use rc_hash_initialize_iterator and rc_hash_generate instead.
21+
* hash.c has been split into several smaller files which can be conditionally excluded from the build.
22+
- hash_disc.c can be excluded by defining RC_HASH_NO_DISC
23+
- hash_encrypted.c can be excluded by defining RC_HASH_NO_ENCRYPTED
24+
- hash_rom.c can be excluded by defining RC_HASH_NO_ROM
25+
- hash_zip.c can be excluded by defining RC_HASH_NO_ZIP
26+
* add hash method for RC_CONSOLE_WII
27+
* add hash method for Arduboy FX games (RC_CONSOLE_ARDUBOY)
28+
* fix hash for PCE homebrew games that aren't multiples of 128KB
29+
* rapi changes
30+
* add _hosted variations of rc_api_init functions for interacting with custom hosts
31+
- rc_api_set_host and rc_api_set_image_host have been deprecated
32+
* add rc_api_fetch_game_sets
33+
* add rc_api_fetch_followed_users
34+
* add rc_api_fetch_hash_library
35+
* add rc_api_fetch_all_user_progress
36+
* add 'avatar_url' to login response, achievement_info response, and leaderboard_info responses
37+
* add 'badge_url' to game_data response
38+
* rurl has been removed (deprecated in v10.0.0)
39+
* trigger parsing/processing code has been largely modified to improve processing performance
40+
* AddAddress/AddSource chains can now be shared across triggers to avoid recalculating them multiple times
41+
* triggers are preprocessed to allocate conditions as array instead of linked list.
42+
- array is sorted such that similar conditions (pause/reset/hittarget/etc) can be processed together
43+
without having to scan the linked list multiple times
44+
- the linked list still exists for backwards compatibility and to maintain the original ordering
45+
* each condition type has its own handler, eliminating many switches and branches when processing triggers
46+
* memrefs are now allocated in arrays (eliminating the linked list pointer from each to reduce memory footprint)
47+
* commas are now inserted into all numeric formats except SCORE. a new format type UNFORMATTED (@Unformatted) has
48+
been added to display a number without commas.
49+
- To forcibly exclude commas in a backwards-compatible way, use the @Unformatted macro and define Unformatted as
50+
a VALUE formatter. Legacy clients will use the VALUE formatted and new clients will use the @Unformatted macro.
51+
* add RC_CONSOLE_FAMICOM_DISK_SYSTEM (split off of RC_CONSOLE_NINTENDO)
52+
* update RC_CONSOLE_SNES memory map to support SA-1 I-RAM and BW-RAM
53+
* update RC_CONSOLE_SEGACD memory map to supprot WORD RAM
54+
* update RC_CONSOLE_N64 memory map to place RDRAM at $80000000 and expansion pak RAM at $80400000
55+
* remove HAVE_LUA define and support (implementation was never finished)
56+
* report error when RP contains address starting with `0x0x`.
57+
* add .natvis files to improve debugging in Visual Studio
58+
159
# v11.6.0
260
* backdate retried unlocks in rc_client
361
* add memory map and hash method for RC_CONSOLE_ZX_SPECTRUM

dep/rcheevos/CMakeLists.txt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ add_library(rcheevos
1111
include/rc_hash.h
1212
include/rc_runtime.h
1313
include/rc_runtime_types.h
14-
include/rc_url.h
1514
include/rc_util.h
1615
src/rapi/rc_api_common.c
1716
src/rapi/rc_api_common.h
@@ -41,7 +40,6 @@ add_library(rcheevos
4140
src/rc_version.h
4241
src/rhash/md5.c
4342
src/rhash/md5.h
44-
src/rurl/url.c
4543
)
4644

4745
target_include_directories(rcheevos PRIVATE "${CMAKE_CURRENT_SOURCE_DIR}/include")

dep/rcheevos/README.md

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ Keep in mind that **rcheevos** does *not* provide HTTP network connections. Clie
66

77
Not all structures defined by **rcheevos** can be created via the public API, but are exposed to allow interactions beyond just creation, destruction, and testing, such as the ones required by UI code that helps to create them.
88

9+
**NOTE**: development occurs on the _develop_ branch, which is set as the default branch in GitHub so newly opened PRs will request to be merged into the _develop_ branch. When integrating **rcheevos** into your project, we recommend using the _master_ branch, which corresponds to the last official release, and minimizes the risk of encountering a bug that has been introduced since the last official release.
10+
911
## API
1012

1113
An understanding about how achievements are developed may be useful, you can read more about it [here](https://docs.retroachievements.org/developer-docs/).
@@ -27,21 +29,17 @@ Platforms supported by RetroAchievements are enumerated in `rc_consoles.h`. Note
2729
2830
## Runtime support
2931
30-
Provides a set of functions for managing an active game - initializing and processing achievements, leaderboards, and rich presence. When important things occur, events are raised for the caller via a callback.
31-
32-
The `rc_client_t` functions wrap a `rc_runtime_t` and manage the API calls and other common functionality (like managing the user information, identifying/loading a game, and building the active/inactive achievements list for the UI). Please see [the wiki](https://github.com/RetroAchievements/rcheevos/wiki/rc_client-integration) for details on using the `rc_client_t` functions.
32+
A set of functions for managing an active game is provided by the library. If you are considering adding achievement support to your emulator, you should look at the `rc_client_t` functions which will prepare the API calls and other implement other common functionality (like managing the user information, identifying/loading a game, and building the active/inactive achievements list for the UI). It has several callback functions which allow the client to implement dependent functionality (UI and HTTP calls). Please see [the wiki](https://github.com/RetroAchievements/rcheevos/wiki/rc_client-integration) for details on using the `rc_client_t` functions.
3333
3434
## Server Communication
3535
3636
**rapi** builds URLs to access many RetroAchievements web services. Its purpose it to just to free the developer from having to URL-encode parameters and build correct URLs that are valid for the server.
3737
3838
**rapi** does *not* make HTTP requests.
3939
40-
NOTE: **rapi** is a replacement for **rurl**. **rurl** has been deprecated.
41-
4240
NOTE: `rc_client` is the preferred way to have a client interact with the server.
4341
44-
These are in `rc_api_user.h`, `rc_api_runtime.h` and `rc_api_common.h`.
42+
**rapi** headers are `rc_api_user.h`, `rc_api_runtime.h` and `rc_api_common.h`.
4543
4644
The basic process of making an **rapi** call is to initialize a params object, call a function to convert it to a URL, send that to the server, then pass the response to a function to convert it into a response object, and handle the response values.
4745
@@ -63,3 +61,7 @@ These are in `rc_hash.h`.
6361
int rc_hash_iterate(char hash[33], rc_hash_iterator_t* iterator);
6462
void rc_hash_destroy_iterator(rc_hash_iterator_t* iterator);
6563
```
64+
65+
### Custom file handling
66+
67+
**rhash** (and by extension **rc_client**) support custom handlers for opening/reading files. This allows the client to redirect file reads to support custom file formats (like ZIP or CHD).

dep/rcheevos/include/rc_url.h

Lines changed: 0 additions & 36 deletions
This file was deleted.

dep/rcheevos/rcheevos.vcxproj

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@
3030
<ClCompile Include="src\rc_compat.c" />
3131
<ClCompile Include="src\rc_util.c" />
3232
<ClCompile Include="src\rhash\md5.c" />
33-
<ClCompile Include="src\rurl\url.c" />
3433
</ItemGroup>
3534
<ItemGroup>
3635
<ClInclude Include="include\rcheevos.h" />
@@ -45,7 +44,6 @@
4544
<ClInclude Include="include\rc_hash.h" />
4645
<ClInclude Include="include\rc_runtime.h" />
4746
<ClInclude Include="include\rc_runtime_types.h" />
48-
<ClInclude Include="include\rc_url.h" />
4947
<ClInclude Include="include\rc_util.h" />
5048
<ClInclude Include="src\rapi\rc_api_common.h" />
5149
<ClInclude Include="src\rcheevos\rc_internal.h" />

dep/rcheevos/rcheevos.vcxproj.filters

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,6 @@
44
<Filter Include="rcheevos">
55
<UniqueIdentifier>{0d8ef204-a486-4873-a41d-743ca6cbe840}</UniqueIdentifier>
66
</Filter>
7-
<Filter Include="rurl">
8-
<UniqueIdentifier>{3aa9379e-4fd1-4772-b18c-b899631a4161}</UniqueIdentifier>
9-
</Filter>
107
<Filter Include="rhash">
118
<UniqueIdentifier>{c95da822-5bca-4274-b57e-d2092e76e8f1}</UniqueIdentifier>
129
</Filter>
@@ -18,9 +15,6 @@
1815
</Filter>
1916
</ItemGroup>
2017
<ItemGroup>
21-
<ClCompile Include="src\rurl\url.c">
22-
<Filter>rurl</Filter>
23-
</ClCompile>
2418
<ClCompile Include="src\rhash\md5.c">
2519
<Filter>rhash</Filter>
2620
</ClCompile>
@@ -100,9 +94,6 @@
10094
<ClInclude Include="include\rc_runtime_types.h">
10195
<Filter>include</Filter>
10296
</ClInclude>
103-
<ClInclude Include="include\rc_url.h">
104-
<Filter>include</Filter>
105-
</ClInclude>
10697
<ClInclude Include="include\rcheevos.h">
10798
<Filter>include</Filter>
10899
</ClInclude>

0 commit comments

Comments
 (0)