Skip to content

Commit 4ab9ff9

Browse files
misc ctors (#1332)
* misc ctors * i guess it has to be like this * Update GeometryDash.bro * Update BoomListView.cpp * Update LevelOptionsLayer.cpp * Update LevelOptionsLayer.cpp * Update LevelOptionsLayer.cpp * Update SetupCollisionStateTriggerPopup.cpp --------- Co-authored-by: Jasmine <52604018+hiimjasmine00@users.noreply.github.com>
1 parent 71481b5 commit 4ab9ff9

4 files changed

Lines changed: 7 additions & 12 deletions

File tree

bindings/2.2081/GeometryDash.bro

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -725,7 +725,7 @@ class BoomListLayer : cocos2d::CCLayerColor {
725725

726726
[[link(android)]]
727727
class BoomListView : cocos2d::CCLayer, TableViewDelegate, TableViewDataSource {
728-
BoomListView() = inline;
728+
BoomListView() = win 0x3be90, inline;
729729
~BoomListView() = win 0x3bf80, imac 0x30c2f0, m1 0x29bc44, ios 0x1cfde0;
730730

731731
static BoomListView* create(cocos2d::CCArray* entries, TableViewCellDelegate* delegate, float height, float width, int page, BoomListType type, float y) = win inline, imac 0x30c610, m1 0x29be54, ios inline;
@@ -12372,7 +12372,7 @@ class LevelManagerDelegate {
1237212372
[[link(android)]]
1237312373
class LevelOptionsLayer : GJOptionsLayer {
1237412374
// virtual ~LevelOptionsLayer();
12375-
LevelOptionsLayer() = inline;
12375+
LevelOptionsLayer() = win 0x31e730, inline;
1237612376

1237712377
static LevelOptionsLayer* create(LevelSettingsObject* object) = win inline, imac 0x26e720, m1 0x2117fc, ios 0x17babc;
1237812378

@@ -16869,7 +16869,7 @@ class SetupCollisionStateTriggerPopup : SetupInstantCollisionTriggerPopup {
1686916869
// virtual ~SetupCollisionStateTriggerPopup();
1687016870
SetupCollisionStateTriggerPopup() = inline;
1687116871

16872-
static SetupCollisionStateTriggerPopup* create(EffectGameObject* object, cocos2d::CCArray* objects) = win inline, imac 0x397d20, m1 0x31d938, ios 0x231488;
16872+
static SetupCollisionStateTriggerPopup* create(EffectGameObject* object, cocos2d::CCArray* objects) = win 0x41a8b0, imac 0x397d20, m1 0x31d938, ios 0x231488;
1687316873

1687416874
bool init(EffectGameObject* object, cocos2d::CCArray* objects) = win 0x41a9c0, imac 0x397f50, m1 0x31dac4, ios 0x231564;
1687516875
}

bindings/2.2081/inline/BoomListView.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
#include <Geode/Bindings.hpp>
22

3+
#if !defined(GEODE_IS_WINDOWS)
34
BoomListView::BoomListView() {
45
m_tableView = nullptr;
56
m_entries = nullptr;
@@ -10,6 +11,7 @@ BoomListView::BoomListView() {
1011
m_currentPage = 0;
1112
m_locked = false;
1213
}
14+
#endif
1315

1416
bool BoomListView::init(cocos2d::CCArray* entries, BoomListType type, float width, float height) {
1517
return this->init(entries, nullptr, height, width, 0, type, 0.0f);

bindings/2.2081/inline/LevelOptionsLayer.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
11
#include <Geode/Bindings.hpp>
22

3+
#if !defined(GEODE_IS_WINDOWS)
34
LevelOptionsLayer::LevelOptionsLayer() {
45
m_settingsObject = nullptr;
56
}
7+
#endif
68

79
#if defined(GEODE_IS_WINDOWS) || defined(GEODE_IS_IOS)
810
#endif

bindings/2.2081/inline/SetupCollisionStateTriggerPopup.cpp

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,6 @@ SetupCollisionStateTriggerPopup::SetupCollisionStateTriggerPopup() {}
66
#endif
77

88
#if defined(GEODE_IS_WINDOWS)
9-
SetupCollisionStateTriggerPopup* SetupCollisionStateTriggerPopup::create(EffectGameObject* object, cocos2d::CCArray* objects) {
10-
auto ret = new SetupCollisionStateTriggerPopup();
11-
if (ret->init(object, objects)) {
12-
ret->autorelease();
13-
return ret;
14-
}
15-
delete ret;
16-
return nullptr;
17-
}
189
#endif
1910

2011
#if defined(GEODE_IS_IOS)

0 commit comments

Comments
 (0)