Skip to content

Commit

Permalink
v1.0.0 test
Browse files Browse the repository at this point in the history
  • Loading branch information
SergeyMC9730 committed Apr 23, 2024
0 parents commit 4a33687
Show file tree
Hide file tree
Showing 22 changed files with 2,273 additions and 0 deletions.
55 changes: 55 additions & 0 deletions .github/workflows/multi-platform.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
name: Build Geode Mod

on:
workflow_dispatch:
push:
branches:
- "**"

jobs:
build:
strategy:
fail-fast: false
matrix:
config:
- name: Windows
os: windows-latest

- 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:
bindings: geode-sdk/bindings
bindings-ref: main
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 }}
58 changes: 58 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
# 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/
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[submodule "json"]
path = json
url = https://github.com/nlohmann/json
28 changes: 28 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
cmake_minimum_required(VERSION 3.21)
set(CMAKE_CXX_STANDARD 20)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
set(CMAKE_OSX_ARCHITECTURES "x86_64")
set(CMAKE_CXX_VISIBILITY_PRESET hidden)

project(LevelHistory VERSION 1.0.0)

# Set up the mod binary
add_library(${PROJECT_NAME} SHARED
src/main.cpp src/GDHistoryProvider.cpp
src/ProviderPopup.cpp src/LevelProvider.cpp
src/LoadingCircleLayer.cpp src/ProviderPopupWait.cpp
# Add your cpp files here
)

target_include_directories(${PROJECT_NAME} PRIVATE json/single_include)

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)

# Set up dependencies, resources, link Geode
setup_geode_mod(${PROJECT_NAME})
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# LevelHistory

This is where she makes a mod.
12 changes: 12 additions & 0 deletions about.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# Level History

Look through <cy>deleted and outdated levels</c> using <cp>GDHistory</c> or other sources!

## As of `v1.0.0` GDHistory is supported only.

# How To Use

- Go to the Online menu
- Find <cy>folder icon</c> in the up right corner
- Select <cy>level provider</c> you want to use for this session
- <cp>GG</c>
1 change: 1 addition & 0 deletions json
Submodule json added at 8c391e
Binary file added logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added logo.xcf
Binary file not shown.
18 changes: 18 additions & 0 deletions mod.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"geode": "2.0.0-beta.22",
"gd": "2.204",
"version": "v1.0.0",
"id": "dogotrigger.level_history",
"name": "Level History",
"developer": "dogotrigger",
"description": "Look through deleted and outdated levels using GDHistory or other sources!",
"dependencies": [
{"id": "hjfod.gmd-api", "importance": "required", "version": "*"},
{"id": "geode.node-ids", "importance": "required", "version": "*"}
],
"repository": "https://github.com/SergeyMC9730/levelhistory",
"issues": {
"url": "https://github.com/SergeyMC9730/levelhistory/issues",
"info": "Any bugs with Level History should be reported here."
}
}
Loading

0 comments on commit 4a33687

Please sign in to comment.