Skip to content

Commit 4385c46

Browse files
committed
Bump to version 4
1 parent 6ddb43d commit 4385c46

File tree

6 files changed

+10
-10
lines changed

6 files changed

+10
-10
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
cmake_minimum_required(VERSION 3.24)
22

3-
project(ScreamAPI VERSION 3.1.0)
3+
project(ScreamAPI VERSION 4.0.0)
44

55
include(KoalaBox/cmake/KoalaBox.cmake)
66

README.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ They serve as utilities for text or GUI editors.
204204
|`$schema`
205205
|URL of a JSON Schema that corresponds to this config.
206206
|String
207-
|https://raw.githubusercontent.com/acidicoala/ScreamAPI/refs/tags/v3.1.0/res/ScreamAPI.schema.json[ScreamAPI.schema.json]
207+
|https://raw.githubusercontent.com/acidicoala/ScreamAPI/refs/tags/v4.0.0/res/ScreamAPI.schema.json[ScreamAPI.schema.json]
208208
|URL to a valid ScreamAPI config JSON schema
209209
210210
|`$version`
@@ -224,7 +224,7 @@ Below you can find an example config where nearly each option has been customize
224224
[source,json]
225225
----
226226
{
227-
"$schema": "https://raw.githubusercontent.com/acidicoala/ScreamAPI/refs/tags/v3.1.0/res/ScreamAPI.schema.json",
227+
"$schema": "https://raw.githubusercontent.com/acidicoala/ScreamAPI/refs/tags/v4.0.0/res/ScreamAPI.schema.json",
228228
"$version": 3,
229229
"logging": true,
230230
"log_eos": true,

res/ScreamAPI.config.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"$schema": "https://raw.githubusercontent.com/acidicoala/ScreamAPI/refs/tags/v3.1.0/res/ScreamAPI.schema.json",
2+
"$schema": "https://raw.githubusercontent.com/acidicoala/ScreamAPI/refs/tags/v4.0.0/res/ScreamAPI.schema.json",
33
"$version": 3,
44
"logging": true,
55
"log_eos": false,

res/ScreamAPI.schema.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"$schema": "https://json-schema.org/draft/2020-12/schema",
3-
"$id": "https://raw.githubusercontent.com/acidicoala/ScreamAPI/refs/tags/v3.1.0/res/ScreamAPI.schema.json",
3+
"$id": "https://raw.githubusercontent.com/acidicoala/ScreamAPI/refs/tags/v4.0.0/res/ScreamAPI.schema.json",
44
"title": "ScreamAPI Configuration",
55
"type": "object",
66
"properties": {
@@ -77,7 +77,7 @@
7777
"additionalProperties": false,
7878
"examples": [
7979
{
80-
"$schema": "https://raw.githubusercontent.com/acidicoala/ScreamAPI/refs/tags/v3.1.0/res/ScreamAPI.schema.json",
80+
"$schema": "https://raw.githubusercontent.com/acidicoala/ScreamAPI/refs/tags/v4.0.0/res/ScreamAPI.schema.json",
8181
"$version": 3,
8282
"logging": true,
8383
"log_eos": true,

src/eos/ecom_entitlements.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,8 +67,8 @@ namespace {
6767
}
6868

6969
// Entitlements API is not how games should normally query DLC ownership.
70-
// However, some games like The Escapists 2 do make use of it, instead of the Items API.
71-
// Hence, we need to handle Entitlements API asw well.
70+
// However, some games like Sonic Mania & The Escapists 2 do make use of it in addition to the Items API.
71+
// Hence, we need to handle Entitlements API as well.
7272

7373
DLL_EXPORT(void) EOS_Ecom_QueryEntitlements(
7474
EOS_EcomHandle* const Handle,

src/eos/ecom_items.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ DLL_EXPORT(void) EOS_Ecom_QueryOwnership(
1111
void* ClientData,
1212
const EOS_Ecom_OnQueryOwnershipCallback CompletionDelegate
1313
) {
14-
LOG_INFO("Game requested ownership of {} items:", Options->CatalogItemIdCount);
14+
LOG_INFO("Game requested ownership of {} item(s):", Options->CatalogItemIdCount);
1515

1616
for(uint32_t i = 0; i < Options->CatalogItemIdCount; i++) {
1717
LOG_INFO(" {}", Options->CatalogItemIds[i]);
@@ -29,7 +29,7 @@ DLL_EXPORT(void) EOS_Ecom_QueryOwnership(
2929
[](const EOS_Ecom_QueryOwnershipCallbackInfo* Data) {
3030
const auto* const container = static_cast<Container*>(Data->ClientData);
3131

32-
LOG_INFO("Responding with {} items:", Data->ItemOwnershipCount);
32+
LOG_INFO("Responding with {} item(s):", Data->ItemOwnershipCount);
3333

3434
for(uint32_t i = 0; i < Data->ItemOwnershipCount; i++) {
3535
const auto* const item = Data->ItemOwnership + i;

0 commit comments

Comments
 (0)