-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit bda1838
Showing
18 changed files
with
1,014 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,68 @@ | ||
name: Build Geode Mod | ||
|
||
on: | ||
workflow_dispatch: | ||
push: | ||
branches: | ||
- "master" | ||
|
||
jobs: | ||
build: | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
config: | ||
- name: Windows | ||
os: windows-latest | ||
build-config: RelWithDebInfo | ||
|
||
- name: macOS | ||
os: macos-latest | ||
|
||
- name: Android32 | ||
os: ubuntu-latest | ||
target: Android32 | ||
|
||
- name: Android64 | ||
os: ubuntu-latest | ||
target: Android64 | ||
|
||
name: ${{ matrix.config.name }} | ||
runs-on: ${{ matrix.config.os }} | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
- name: Build the mod | ||
uses: geode-sdk/build-geode-mod@main | ||
with: | ||
build-config: ${{ matrix.config.build-config || 'Release' }} | ||
export-pdb: true | ||
combine: true | ||
target: ${{ matrix.config.target }} | ||
|
||
package: | ||
name: Package builds | ||
runs-on: ubuntu-latest | ||
needs: ['build'] | ||
|
||
steps: | ||
- uses: geode-sdk/build-geode-mod/combine@main | ||
id: build | ||
|
||
- uses: actions/upload-artifact@v4 | ||
with: | ||
name: Build Output | ||
path: ${{ steps.build.outputs.build-output }} | ||
|
||
release: | ||
name: Release the mod | ||
runs-on: ubuntu-latest | ||
needs: ['package'] | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
- uses: hiimjustin000/release-geode-mod@main | ||
with: | ||
token: ${{ secrets.GITHUB_TOKEN }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,61 @@ | ||
# Prerequisites | ||
*.d | ||
|
||
# Compiled Object files | ||
*.slo | ||
*.lo | ||
*.o | ||
*.obj | ||
|
||
# Precompiled Headers | ||
*.gch | ||
*.pch | ||
|
||
# Compiled Dynamic libraries | ||
*.so | ||
*.dylib | ||
*.dll | ||
|
||
# Fortran module files | ||
*.mod | ||
*.smod | ||
|
||
# Compiled Static libraries | ||
*.lai | ||
*.la | ||
*.a | ||
*.lib | ||
|
||
# Executables | ||
*.exe | ||
*.out | ||
*.app | ||
|
||
# Macos be like | ||
**/.DS_Store | ||
|
||
# Cache files for Sublime Text | ||
*.tmlanguage.cache | ||
*.tmPreferences.cache | ||
*.stTheme.cache | ||
|
||
# Ignore build folders | ||
**/build | ||
# Ignore platform specific build folders | ||
build-*/ | ||
|
||
# Workspace files are user-specific | ||
*.sublime-workspace | ||
|
||
# ILY vscode | ||
**/.vscode | ||
.idea/ | ||
|
||
# clangd | ||
.cache/ | ||
|
||
# Visual Studio | ||
.vs/ | ||
|
||
# Bruh | ||
logo.pdn |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
cmake_minimum_required(VERSION 3.21) | ||
set(CMAKE_CXX_STANDARD 20) | ||
set(CMAKE_CXX_STANDARD_REQUIRED ON) | ||
if (APPLE) | ||
set(CMAKE_OSX_ARCHITECTURES "x86_64;arm64") | ||
endif() | ||
set(CMAKE_CXX_VISIBILITY_PRESET hidden) | ||
|
||
project(BetterSafe VERSION 1.0.0) | ||
|
||
add_library(${PROJECT_NAME} SHARED | ||
src/BetterSafe.cpp | ||
src/BSCalendarPopup.cpp | ||
src/BSHoverNode.cpp | ||
src/main.cpp | ||
) | ||
|
||
if (NOT DEFINED ENV{GEODE_SDK}) | ||
message(FATAL_ERROR "Unable to find Geode SDK! Please define GEODE_SDK environment variable to point to Geode") | ||
else() | ||
message(STATUS "Found Geode: $ENV{GEODE_SDK}") | ||
endif() | ||
|
||
add_subdirectory($ENV{GEODE_SDK} ${CMAKE_CURRENT_BINARY_DIR}/geode) | ||
|
||
setup_geode_mod(${PROJECT_NAME}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
MIT License | ||
|
||
Copyright (c) 2024 hiimjustin000 | ||
|
||
Permission is hereby granted, free of charge, to any person obtaining a copy | ||
of this software and associated documentation files (the "Software"), to deal | ||
in the Software without restriction, including without limitation the rights | ||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
copies of the Software, and to permit persons to whom the Software is | ||
furnished to do so, subject to the following conditions: | ||
|
||
The above copyright notice and this permission notice shall be included in all | ||
copies or substantial portions of the Software. | ||
|
||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE | ||
SOFTWARE. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
# Better Safe | ||
A mod that expands The Safe with a calendar. | ||
|
||
# Features | ||
- Calendars for daily and weekly levels, showing what was featured on each day | ||
- Daily and weekly level previews, showing basic information about the level on click | ||
- Navigation buttons to go to the previous or next month | ||
- A label showing the current month and year, which can be used to switch to a specific month | ||
|
||
# Credits | ||
- [Opianisal](https://gdbrowser.com/u/25221350) - Idea for the mod | ||
- [Every Rated Level Spreadsheet](https://docs.google.com/spreadsheets/d/1BBx9X8IYBtr7dA5cWu_smM2XBkLZzCXy7TjeEWRgag0) - Help with daily/weekly dates | ||
- [hiimjustin000](https://gdbrowser.com/u/7466002) - Creator of the mod | ||
|
||
# Gallery | ||
![Daily Calendar](./resources/daily-calendar.png)\ | ||
![Weekly Calendar](./resources/weekly-calendar.png) | ||
|
||
# License | ||
This mod is licensed under the [MIT License](./LICENSE). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
# Better Safe | ||
A mod that expands The Safe with a calendar. | ||
|
||
# Features | ||
- Calendars for daily and weekly levels, showing what was featured on each day | ||
- Daily and weekly level previews, showing basic information about the level on click | ||
- Navigation buttons to go to the previous or next month | ||
- A label showing the current month and year, which can be used to switch to a specific month | ||
|
||
# Credits | ||
- [Opianisal](user:25221350) - Idea for the mod | ||
- [Every Rated Level Spreadsheet](https://docs.google.com/spreadsheets/d/1BBx9X8IYBtr7dA5cWu_smM2XBkLZzCXy7TjeEWRgag0) - Help with daily/weekly dates | ||
- [hiimjustin000](user:7466002) - Creator of the mod | ||
|
||
# Gallery | ||
![Daily Calendar](hiimjustin000.better_safe/daily-calendar.png?scale=0.75)\ | ||
![Weekly Calendar](hiimjustin000.better_safe/weekly-calendar.png?scale=0.75) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# Better Safe Changelog | ||
## v1.0.0 (2024-09-12) | ||
- Initial release |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
{ | ||
"geode": "3.5.0", | ||
"gd": { | ||
"android": "2.206", | ||
"win": "2.206", | ||
"mac": "2.206" | ||
}, | ||
"version": "v1.0.0", | ||
"id": "hiimjustin000.better_safe", | ||
"name": "Better Safe", | ||
"developer": "hiimjustin000", | ||
"description": "A mod that expands The Safe with a calendar.", | ||
"repository": "https://github.com/hiimjustin000/BetterSafe", | ||
"settings": { | ||
"sunday-first": { | ||
"name": "Sunday First", | ||
"description": "Start the week on Sunday instead of Monday.", | ||
"type": "bool", | ||
"default": false | ||
} | ||
}, | ||
"resources": { | ||
"sprites": [ | ||
"resources/*.png" | ||
] | ||
}, | ||
"links": { | ||
"community": "https://discord.gg/QVKmbvBXA7", | ||
"source": "https://github.com/hiimjustin000/BetterSafe", | ||
"homepage": "https://www.hiimjustin000.com" | ||
}, | ||
"tags": [ | ||
"content", | ||
"enhancement", | ||
"interface", | ||
"online", | ||
"utility" | ||
] | ||
} |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.