Skip to content
Merged
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
36 changes: 28 additions & 8 deletions bindings/2.2074/GeometryDash.bro
Original file line number Diff line number Diff line change
Expand Up @@ -4756,7 +4756,7 @@ class EnhancedGameObject : GameObject {
virtual void updateSyncedAnimation(float, int) = win 0x1a4e30, imac 0x2499e0, m1 0x1f7c7c, ios 0x347598;
virtual TodoReturn updateAnimateOnTrigger(bool) = imac 0x24b920, m1 0x1f903c, ios 0x348938;

TodoReturn createRotateAction(float, int);
void createRotateAction(float angle, int clockwiseDirection);
bool init(char const*) = win 0x1a1800;
TodoReturn previewAnimateOnTrigger();
TodoReturn refreshRotateAction();
Expand All @@ -4770,8 +4770,19 @@ class EnhancedGameObject : GameObject {
void updateUserCoin() = win 0x1a3970, imac 0x5a9770, m1 0x4e3b94;
TodoReturn waitForAnimationTrigger();

PAD = android32 0x25, win 0x2a, android64 0x22, mac 0x22;

bool m_poweredOn;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this ones a weird one because android32 becomes 0x26 but others are fine, maybe the old pad was wrong

int m_state;
int m_animationRandomizedStartValue;
float m_animationStart;
// No idea what these 3 fields are supposed to be. But we know what types they are...
float field4_0xd;
int field5_0x11;
bool field6_0x15;
float m_frameTime;
bool m_visible;
bool m_shouldNotHideAnimFreeze;
bool m_usesSpecialAnimation;
short m_frames;
bool m_hasCustomAnimation;
bool m_hasCustomRotation;
// property 98
Expand All @@ -4780,8 +4791,11 @@ class EnhancedGameObject : GameObject {

// property 97
float m_rotationSpeed;
PAD = android32 0xc, win 0xc, android64 0xc, mac 0xc;

float m_rotationAngle;
float m_rotationDelta;
float m_rotationAnimationSpeed;

// property 106
bool m_animationRandomizedStart;
// property 107
Expand All @@ -4798,16 +4812,22 @@ class EnhancedGameObject : GameObject {
int m_singleFrame;
// property 592
bool m_animationOffset;
PAD = android32 0xf, win 0xf, android64 0xf, mac 0xf;

bool m_animationTriggered;
int m_unkAnimationInt;
int m_maybeAnimationVariableXInt;
int m_maybeAnimationVariableYInt;
// property 214
bool m_animateOnlyWhenActive;
// property 444
bool m_isNoMultiActivate;
// property 99
bool m_isMultiActivate;
PAD = android32 0x4, win 0x4, android64 0x8, mac 0x8;
}
bool m_activated;
bool m_activatedByPlayer1;
bool m_activatedByPlayer2;
bool m_hasUniqueCoin;
cocos2d::ccColor3B m_unkAnimationColor;
Copy link
Member

@altalk23 altalk23 Nov 28, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not so sure about the validity of this as first member of effectgameobject is also cccolor3b (and pads dont match)
member tests could be helpful

}

[[link(android)]]
class EnhancedTriggerObject : EffectGameObject {
Expand Down