Skip to content

Commit c9f9929

Browse files
committed
Fix PlayerCheckpoint and PlayerObject
1 parent 361a59a commit c9f9929

2 files changed

Lines changed: 9 additions & 3 deletions

File tree

bindings/2.2081/GeometryDash.bro

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14137,7 +14137,7 @@ class PlayerButtonCommand {
1413714137
[[link(android), depends(DashRingObject)]]
1413814138
class PlayerCheckpoint : cocos2d::CCNode {
1413914139
// virtual ~PlayerCheckpoint();
14140-
PlayerCheckpoint() = ios 0x1273c4, inline;
14140+
PlayerCheckpoint() = m1 0xb1ac4, imac 0xc9aa0, ios 0x1273c4, inline;
1414114141

1414214142
static PlayerCheckpoint* create() = win 0x3bb010, imac 0xbb860, m1 0xa8cac, ios 0x11fd08;
1414314143

@@ -14209,6 +14209,9 @@ class PlayerCheckpoint : cocos2d::CCNode {
1420914209
double m_groundYVelocity;
1421014210
double m_yVelocityRelated;
1421114211
double m_scaleXRelated3;
14212+
android, ios {
14213+
bool m_collidingBetweenSteps;
14214+
}
1421214215
double m_scaleXRelated4;
1421314216
double m_scaleXRelated5;
1421414217
bool m_isCollidingWithSlope;
@@ -14475,7 +14478,7 @@ class PlayerObject : GameObject, AnimatedSpriteDelegate {
1447514478
void playingEndEffect() = win inline, imac 0x41aa60, m1 0x38f930, ios 0x22ca30;
1447614479
void playSpawnEffect() = win 0x397480, imac 0x4133a0, m1 0x3889d8, ios 0x22762c;
1447714480
void playSpiderDashEffect(cocos2d::CCPoint from, cocos2d::CCPoint to) = win 0x395170, imac 0x40e490, m1 0x384378, ios 0x2255dc;
14478-
void postCollision(float dt, bool) = win 0x38d580, imac 0x4047f0, m1 0x37c258, ios 0x21ea64;
14481+
void postCollision(float dt, bool betweenSteps) = win 0x38d580, imac 0x4047f0, m1 0x37c258, ios 0x21ea64;
1447914482
void preCollision() = win inline, imac 0x404660, m1 0x37c100, ios 0x21e958;
1448014483
bool preSlopeCollision(float dt, GameObject* object) = win 0x38f2e0, imac 0x40b650, m1 0x3819b0, ios 0x223278;
1448114484
void propellPlayer(float yVelocity, bool noEffects, int objectType) = win 0x39f850, imac 0x41adf0, m1 0x38fcac, ios 0x22cd04;
@@ -14636,6 +14639,9 @@ class PlayerObject : GameObject, AnimatedSpriteDelegate {
1463614639
double m_groundYVelocity;
1463714640
double m_yVelocityRelated;
1463814641
double m_scaleXRelated3;
14642+
android, ios {
14643+
bool m_collidingBetweenSteps;
14644+
}
1463914645
double m_scaleXRelated4;
1464014646
double m_scaleXRelated5;
1464114647
bool m_isCollidingWithSlope;

bindings/2.2081/inline/PlayerCheckpoint.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#include <Geode/Geode.hpp>
22

3-
#if !defined(GEODE_IS_IOS)
3+
#if defined(GEODE_IS_WINDOWS) || defined(GEODE_IS_ANDROID)
44
PlayerCheckpoint::PlayerCheckpoint() {
55
m_yVelocityUnrounded = 0.0;
66
m_isUpsideDown = false;

0 commit comments

Comments
 (0)