Skip to content

Commit

Permalink
asdf
Browse files Browse the repository at this point in the history
  • Loading branch information
TheSillyDoggo committed Aug 11, 2024
1 parent 3594ec9 commit ffac5d5
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 4 deletions.
4 changes: 4 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# 1.5.6

- Fixed Force Platformer not showing platformer UI on mobile

# 1.5.5

- Fixed Crashing almost all the time on macOS / iOS
Expand Down
5 changes: 3 additions & 2 deletions mod.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
{
"geode": "3.4.0",
"version": "v1.5.5",
"version": "v1.5.6",
"gd": {
"win": "2.206",
"android": "2.206",
"mac": "2.206"
"mac": "2.206",
"ios": "2.206"
},
"early-load": true,
"id": "thesillydoggo.qolmod",
Expand Down
5 changes: 3 additions & 2 deletions src/Defines/Platform.h
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,6 @@

#ifndef GEODE_IS_IOS
#define QOLMOD_ALL_MODES_PLATFORMER
#define QOLMOD_NO_SPIDER_DASH
#endif
#endif

#define QOLMOD_NO_SPIDER_DASH
7 changes: 7 additions & 0 deletions src/Hacks/ForcePlatformer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,13 @@ class $modify (PlayLayer)
if (m_player2)
m_player2->togglePlatformerMode(true);

#ifdef GEODE_IS_MOBILE

if (m_uiLayer)
m_uiLayer->togglePlatformerMode(true);

#endif

return true;
}

Expand Down

0 comments on commit ffac5d5

Please sign in to comment.