Skip to content

Commit f7c1824

Browse files
committed
bump(rtrp), refactor: Update RTRP to fix invalid level error, refactor some stuff
1 parent ff2f9ce commit f7c1824

File tree

13 files changed

+134
-194
lines changed

13 files changed

+134
-194
lines changed

.github/ISSUE_TEMPLATE/report-bug.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ body:
2121
label: Version
2222
description: What version of GD-Roulette are you running?
2323
options:
24+
- 4.0.5
2425
- 4.0.4
2526
- 4.0.3
2627
- 4.0.2

.github/workflows/build.yml

Lines changed: 19 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -26,24 +26,33 @@ jobs:
2626
os: ubuntu-latest
2727
target: Android64
2828

29-
# - name: iOS
30-
# os: macos-latest
31-
# target: iOS
29+
- name: iOS
30+
os: macos-latest
31+
target: iOS
3232

3333
name: ${{ matrix.config.name }}
3434
runs-on: ${{ matrix.config.os }}
3535

3636
steps:
3737
- uses: actions/checkout@v4
3838

39+
# - name: Build the mod
40+
# uses: geode-catgirls/build-geode-mod@main
41+
# with:
42+
# cli: nightly
43+
# sdk: nightly
44+
# # bindings: SpaghettDev/bindings
45+
# # bindings-ref: sapphire-sdk
46+
# gh-pat: ${{ secrets.GH_PAT }}
47+
# combine: true
48+
# target: ${{ matrix.config.target }}
49+
# build-args: '--parallel 16'
50+
3951
- name: Build the mod
40-
uses: geode-catgirls/build-geode-mod@main
52+
uses: geode-sdk/build-geode-mod@main
4153
with:
42-
cli: nightly
43-
sdk: nightly
44-
# bindings: SpaghettDev/bindings
45-
# bindings-ref: sapphire-sdk
46-
gh-pat: ${{ secrets.GH_PAT }}
54+
bindings: geode-sdk/bindings
55+
bindings-ref: main
4756
combine: true
4857
target: ${{ matrix.config.target }}
4958
build-args: '--parallel 16'
@@ -54,7 +63,7 @@ jobs:
5463
needs: ['build']
5564

5665
steps:
57-
- uses: geode-catgirls/build-geode-mod/combine@main
66+
- uses: geode-sdk/build-geode-mod/combine@main
5867
id: build
5968

6069
- uses: actions/upload-artifact@v4

CHANGELOG.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,17 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](http://keepachangelog.com/)
66
and this project adheres to [Semantic Versioning](http://semver.org/).
77

8+
## [4.0.5] - 2025-12-29
9+
10+
### Changed
11+
12+
- Target Geode version (v4.10.0)
13+
- RTRP version (v5.1.0)
14+
15+
### Fixed
16+
17+
- Invalid response error on random levels
18+
819
## [4.0.4] - 2025-04-01
920

1021
### Fixed

CMakeLists.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
cmake_minimum_required(VERSION 3.21)
2-
set(CMAKE_CXX_STANDARD 20)
2+
set(CMAKE_CXX_STANDARD 23)
33
set(CMAKE_CXX_STANDARD_REQUIRED ON)
44
if ("${GEODE_TARGET_PLATFORM}" STREQUAL "iOS" OR IOS)
5-
set(CMAKE_OSX_ARCHITECTURES "arm64")
5+
set(CMAKE_OSX_ARCHITECTURES "arm64")
66
else()
7-
set(CMAKE_OSX_ARCHITECTURES "arm64;x86_64")
7+
set(CMAKE_OSX_ARCHITECTURES "arm64;x86_64")
88
endif()
99
set(CMAKE_CXX_VISIBILITY_PRESET hidden)
1010

@@ -35,7 +35,7 @@ target_include_directories(${PROJECT_NAME}
3535

3636
# make Visual Studio recognize folders as "filters"
3737
set_property(GLOBAL PROPERTY USE_FOLDERS ON)
38-
set_property(TARGET ${PROJECT_NAME} PROPERTY CXX_STANDARD 20)
38+
set_property(TARGET ${PROJECT_NAME} PROPERTY CXX_STANDARD 23)
3939

4040
source_group(TREE ${SRC_DIR} PREFIX "src" FILES ${SRC_MAIN})
4141

cmake/rtrp.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ include(FetchContent)
33
FetchContent_Declare(
44
RTRP
55
GIT_REPOSITORY https://github.com/SpaghettDev/RTRP.git
6-
GIT_TAG 9309faa447abf75b11c341c9345b3d9626c20f3d
6+
GIT_TAG 6a381e5d9f90ebe1640db73c8a4ba20b69577f45
77
GIT_PROGRESS TRUE
88
)
99
message("Fetching RTRP")

mod.json

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
11
{
2-
"geode": "4.3.1",
2+
"geode": "4.10.0",
33
"gd": {
44
"win": "2.2074",
55
"android": "2.2074",
6-
"mac": "2.2074"
6+
"mac": "2.2074",
7+
"ios": "2.2074"
78
},
8-
"version": "v4.0.4",
9+
"version": "v4.0.5",
910
"id": "spaghettdev.gd-roulette",
1011
"name": "GD-Roulette",
1112
"developer": "SpaghettDev",
@@ -29,10 +30,7 @@
2930
}
3031
},
3132
"dependencies": {
32-
"geode.node-ids": {
33-
"version": ">=v1.17.0",
34-
"importance": "required"
35-
},
33+
"geode.node-ids": ">=v1.17.0",
3634
"alphalaneous.pages_api": {
3735
"version": ">=v1.4.1",
3836
"importance": "suggested"

src/custom_layers/RLStatsAlertLayer.cpp

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,6 @@
77
#include <Geode/binding/ButtonSprite.hpp>
88
#include <Geode/binding/GJLevelList.hpp>
99
#include <Geode/binding/LevelListLayer.hpp>
10-
#include <Geode/binding/LoadingCircle.hpp>
11-
#include <Geode/binding/LevelCell.hpp>
12-
#include <Geode/binding/GJListLayer.hpp>
13-
#include <Geode/binding/BoomListView.hpp>
14-
#include <Geode/binding/TableView.hpp>
15-
#include <Geode/binding/CCContentLayer.hpp>
1610
#include <Geode/binding/TextArea.hpp>
1711

1812
#include "RouletteManager.hpp"
@@ -24,7 +18,7 @@ RLStatsAlertLayer* RLStatsAlertLayer::create(const GameState& gs)
2418
{
2519
auto ret = new RLStatsAlertLayer();
2620

27-
if (ret && ret->init(std::move(gs)))
21+
if (ret && ret->init(gs))
2822
ret->autorelease();
2923
else
3024
{

0 commit comments

Comments
 (0)