Skip to content

Commit

Permalink
Please be the end
Browse files Browse the repository at this point in the history
  • Loading branch information
hiimjasmine00 committed Oct 12, 2024
1 parent 189f1e9 commit 2c5b227
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 6 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 3 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
5 changes: 2 additions & 3 deletions mod.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
14 changes: 12 additions & 2 deletions src/DemonsInBetween.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -198,8 +198,18 @@ std::string DemonsInBetween::infoForLevel(GJGameLevel* level, LadderDemon const&
case 6: originalDifficulty = "Extreme Demon"; break;
}

return fmt::format("<cy>{}</c>\n<cg>Tier</c>: {}\n<cl>Enjoyment</c>: {}\n<cp>Difficulty</c>: {}\n<co>Original Difficulty</c>: {}",
level->m_levelName.data(), demon.tier, demon.enjoyment >= 0.0 ? fmt::format("{}", demon.enjoyment) : "N/A", difficulty, originalDifficulty);
return fmt::format(
"<cy>{}</c>\n"
"<cg>Tier</c>: {}\n"
"<cl>Enjoyment</c>: {}\n"
"<cp>Difficulty</c>: {}\n"
"<co>Original Difficulty</c>: {}",
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) {
Expand Down

0 comments on commit 2c5b227

Please sign in to comment.