Skip to content
Merged
Show file tree
Hide file tree
Changes from all 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
2 changes: 1 addition & 1 deletion bindings/2.2081/GeometryDash.bro
Original file line number Diff line number Diff line change
Expand Up @@ -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<SongTriggerState>* 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;
Expand Down
3 changes: 2 additions & 1 deletion bindings/2.2081/inline/GJBaseGameLayer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -957,14 +957,15 @@ 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;
}
PlayerButtonCommand command = {};
command.m_button = (PlayerButton) button;
command.m_isPush = push;
command.m_isPlayer2 = isPlayer2;
command.m_timestamp = timestamp;
m_queuedButtons.push_back(command);
}

Expand Down
Loading