From 2c5b227161550720372b694535568ed3c135a27c Mon Sep 17 00:00:00 2001 From: Justin Pridgen Date: Sat, 12 Oct 2024 16:01:40 -0400 Subject: [PATCH] Please be the end --- CMakeLists.txt | 2 +- changelog.md | 3 +++ mod.json | 5 ++--- src/DemonsInBetween.cpp | 14 ++++++++++++-- 4 files changed, 18 insertions(+), 6 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index bca4cea..61b99ff 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -4,7 +4,7 @@ set(CMAKE_CXX_STANDARD_REQUIRED ON) set(CMAKE_OSX_ARCHITECTURES "x86_64;arm64") set(CMAKE_CXX_VISIBILITY_PRESET hidden) -project(DemonsInBetween VERSION 1.2.4) +project(DemonsInBetween VERSION 1.2.5) add_library(${PROJECT_NAME} SHARED src/DemonsInBetween.cpp diff --git a/changelog.md b/changelog.md index abd7fab..922167e 100644 --- a/changelog.md +++ b/changelog.md @@ -1,4 +1,7 @@ # Demons In Between Changelog +## v1.2.5 (2024-10-12) +- Attempted to fix that Android crash again + ## v1.2.4 (2024-09-04) - (Possibly) Fixed a bug where the game would sometimes crash when clicking on the demon info button on Android - Fixed a bug where the demon difficulty would show if the main level was locked diff --git a/mod.json b/mod.json index b050783..92b5e98 100644 --- a/mod.json +++ b/mod.json @@ -1,16 +1,15 @@ { - "geode": "3.4.0", + "geode": "3.8.1", "gd": { "android": "2.206", "win": "2.206", "mac": "2.206" }, - "version": "v1.2.4", + "version": "v1.2.5", "id": "hiimjustin000.demons_in_between", "name": "Demons In Between", "developer": "hiimjustin000", "description": "A mod that adds additional demon difficulties in between existing ones.", - "repository": "https://github.com/hiimjustin000/DemonsInBetween", "dependencies": [ { "id": "geode.node-ids", diff --git a/src/DemonsInBetween.cpp b/src/DemonsInBetween.cpp index f171bc1..c332d77 100644 --- a/src/DemonsInBetween.cpp +++ b/src/DemonsInBetween.cpp @@ -198,8 +198,18 @@ std::string DemonsInBetween::infoForLevel(GJGameLevel* level, LadderDemon const& case 6: originalDifficulty = "Extreme Demon"; break; } - return fmt::format("{}\nTier: {}\nEnjoyment: {}\nDifficulty: {}\nOriginal Difficulty: {}", - level->m_levelName.data(), demon.tier, demon.enjoyment >= 0.0 ? fmt::format("{}", demon.enjoyment) : "N/A", difficulty, originalDifficulty); + return fmt::format( + "{}\n" + "Tier: {}\n" + "Enjoyment: {}\n" + "Difficulty: {}\n" + "Original Difficulty: {}", + std::string(level->m_levelName), + demon.tier, + demon.enjoyment >= 0.0 ? fmt::format("{}", demon.enjoyment) : "N/A", + difficulty, + originalDifficulty + ); } CCSprite* DemonsInBetween::spriteForDifficulty(GJDifficultySprite* difficultySprite, int difficulty, GJDifficultyName name, GJFeatureState state) {