Skip to content

Commit 6b0c95b

Browse files
authored
Add files via upload
1 parent 4f140c7 commit 6b0c95b

File tree

6 files changed

+107
-0
lines changed

6 files changed

+107
-0
lines changed

CMakeLists.txt

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
cmake_minimum_required(VERSION 3.21)
2+
set(CMAKE_CXX_STANDARD 20)
3+
set(CMAKE_CXX_STANDARD_REQUIRED ON)
4+
if ("${CMAKE_SYSTEM_NAME}" STREQUAL "iOS" OR IOS)
5+
set(CMAKE_OSX_ARCHITECTURES "arm64")
6+
else()
7+
set(CMAKE_OSX_ARCHITECTURES "arm64;x86_64")
8+
endif()
9+
set(CMAKE_CXX_VISIBILITY_PRESET hidden)
10+
11+
project(autorater VERSION 1.0.0)
12+
13+
file(GLOB_RECURSE SOURCES CONFIGURE_DEPENDS src/*.cpp)
14+
15+
add_library(${PROJECT_NAME} SHARED ${SOURCES})
16+
17+
if (NOT DEFINED ENV{GEODE_SDK})
18+
message(FATAL_ERROR "Unable to find Geode SDK! Please define GEODE_SDK environment variable to point to Geode")
19+
else()
20+
message(STATUS "Found Geode: $ENV{GEODE_SDK}")
21+
endif()
22+
23+
add_subdirectory($ENV{GEODE_SDK} ${CMAKE_CURRENT_BINARY_DIR}/geode)
24+
25+
setup_geode_mod(${PROJECT_NAME})

README.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# GD Auto Rater
2+
A Geometry Dash mod that automatically rates the difficulty of online levels.
3+
4+
---
5+
6+
## How to Use
7+
Turn on the mod.
8+
9+
You can enable/disable the auto rating feature, and override the difficulty the mod rates levels in the settings.
10+
11+
---
12+
13+
## Credits
14+
Inspiration: [Auto Like](mod:hbg1010.auto-like)
15+
16+
Made with love from Sweep <3

about.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# Auto Rater
2+
A Geometry Dash mod that automatically rates the difficulty of online levels.
3+
4+
---
5+
6+
## How to Use
7+
Turn on the mod.
8+
9+
You can enable/disable the auto rating feature, and override the difficulty the mod rates levels in the settings.
10+
11+
---
12+
13+
## Credits
14+
Inspiration: [Auto Like](mod:hbg1010.auto-like)
15+
16+
Made with love from Sweep <3

changelog.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# 1.0.0
2+
- Release

logo.png

64.5 KB
Loading

mod.json

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
{
2+
"geode": "4.5.0",
3+
"gd": {
4+
"win": "2.2074",
5+
"android": "2.2074"
6+
},
7+
"id": "sweep.auto-rater",
8+
"name": "Auto Rater",
9+
"version": "v1.0.0",
10+
"developer": "Sweep",
11+
"description": "Automatically rates the stars of levels.",
12+
"links": {
13+
"source": "https://github.com/SweepSweep2/gd-auto-rater"
14+
},
15+
"issues": {
16+
"info": "You can report issues by either creating a new issue on the GitHub, or messaging me on Discord: @sweepsweep2",
17+
"url": "https://github.com/SweepSweep2/gd-auto-rater/issues"
18+
},
19+
"settings": {
20+
"enable-auto-rater": {
21+
"type": "bool",
22+
"name": "Enable Auto-Rater",
23+
"default": true
24+
},
25+
"toggle-override-difficulty-rate": {
26+
"type": "bool",
27+
"name": "Enable Override Rate Difficulty",
28+
"default": false
29+
},
30+
"override-difficulty-rate": {
31+
"type": "int",
32+
"name": "Override Rate Difficulty",
33+
"description": "Rates all levels with this difficulty (in stars) instead of matching with the current level's difficulty. (0: don't override)",
34+
"min": 1,
35+
"max": 10,
36+
"default": 0,
37+
"enable-if": "setting:toggle-override-difficulty-rate",
38+
"control": {
39+
"slider": false
40+
}
41+
}
42+
},
43+
"tags": [
44+
"online",
45+
"universal",
46+
"enhancement"
47+
]
48+
}

0 commit comments

Comments
 (0)