From 7bec9e222e0bd9679c2b4dc695b98bf19e018be7 Mon Sep 17 00:00:00 2001 From: chagh-dev Date: Thu, 5 Feb 2026 03:02:12 +0300 Subject: [PATCH] more c bs --- bindings/2.2081/GeometryDash.bro | 2 +- bindings/2.2081/inline/GJBaseGameLayer.cpp | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/bindings/2.2081/GeometryDash.bro b/bindings/2.2081/GeometryDash.bro index 058141dc3..4b5ea6528 100644 --- a/bindings/2.2081/GeometryDash.bro +++ b/bindings/2.2081/GeometryDash.bro @@ -7596,7 +7596,7 @@ class GJBaseGameLayer : cocos2d::CCLayer, TriggerEffectDelegate { bool processSongState(int musicID, float spawnDelay, float levelTime, int songOffset, float volume, float speed, gd::vector* states, SongTriggerGameObject* object) = win 0x245350, imac 0x161dc0, m1 0x12fcd0, ios 0x207074; void processStateObjects() = win inline, imac 0x12a7c0, m1 0x1028b8, ios 0x1ea840; void processTransformActions(bool visibleFrame) = win 0x22c680, imac 0x144ce0, m1 0x118960, ios 0x1f7544; - void queueButton(int button, bool push, bool isPlayer2) = win inline, imac 0x14a900, m1 0x11d2d8, ios 0x1fa9bc; + void queueButton(int button, bool push, bool isPlayer2, double timestamp) = win inline, imac 0x14a900, m1 0x11d2d8, ios 0x1fa9bc; void queueTimeWarp(float timeWarp) = win inline, imac 0x14f370, m1 0x121104, ios 0x1fd444; void reAddToStickyGroup(GameObject* object) = win inline, imac 0x13e200, m1 0x112e18, ios 0x1f3080; void recordAction(int button, bool down, bool player2) = win inline, imac 0x14b570, m1 0x11deec, ios 0x1fb2a8; diff --git a/bindings/2.2081/inline/GJBaseGameLayer.cpp b/bindings/2.2081/inline/GJBaseGameLayer.cpp index 9332aff1c..b4ee6114d 100644 --- a/bindings/2.2081/inline/GJBaseGameLayer.cpp +++ b/bindings/2.2081/inline/GJBaseGameLayer.cpp @@ -957,7 +957,7 @@ void GJBaseGameLayer::processStateObjects() { } } -void GJBaseGameLayer::queueButton(int button, bool push, bool isPlayer2) { +void GJBaseGameLayer::queueButton(int button, bool push, bool isPlayer2, double timestamp) { if (button <= 0 || button > 3) { return; } @@ -965,6 +965,7 @@ void GJBaseGameLayer::queueButton(int button, bool push, bool isPlayer2) { command.m_button = (PlayerButton) button; command.m_isPush = push; command.m_isPlayer2 = isPlayer2; + command.m_timestamp = timestamp; m_queuedButtons.push_back(command); }