Skip to content

Commit 66a1c20

Browse files
authored
add CCSpriteWithHue funcs for mac
1 parent e1b3f14 commit 66a1c20

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

bindings/2.2074/GeometryDash.bro

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1870,7 +1870,7 @@ class CCSpriteWithHue : cocos2d::CCSprite {
18701870
delete ret;
18711871
return nullptr;
18721872
}
1873-
static CCSpriteWithHue* createWithSpriteFrame(cocos2d::CCSpriteFrame* frame) = win inline {
1873+
static CCSpriteWithHue* createWithSpriteFrame(cocos2d::CCSpriteFrame* frame) = win inline, imac 0x5d8690, m1 0x50bd18 {
18741874
auto ret = new CCSpriteWithHue();
18751875
if (ret->initWithSpriteFrame(frame)) {
18761876
ret->autorelease();
@@ -1879,7 +1879,9 @@ class CCSpriteWithHue : cocos2d::CCSprite {
18791879
delete ret;
18801880
return nullptr;
18811881
}
1882-
static CCSpriteWithHue* createWithSpriteFrameName(gd::string const&);
1882+
static CCSpriteWithHue* createWithSpriteFrameName(gd::string const&) = win inline, imac 0x5d8770, m1 0x50be14 {
1883+
return CCSpriteWithHue::createWithSpriteFrame(cocos2d::CCSpriteFrameCache::sharedSpriteFrameCache()->spriteFrameByName(frameName.c_str()));
1884+
}
18831885
static CCSpriteWithHue* createWithTexture(cocos2d::CCTexture2D* texture, cocos2d::CCRect const& rect, bool rotated) = win inline {
18841886
auto ret = new CCSpriteWithHue();
18851887
if (ret->initWithTexture(texture, rect, rotated)) {
@@ -16641,7 +16643,7 @@ class RewardUnlockLayer : FLAlertLayer, CurrencyRewardDelegate {
1664116643
virtual void currencyWillExit(CurrencyRewardLayer*) = win 0x3ba210, m1 0x1c25a0, imac 0x20dd20, ios 0x1c8dec;
1664216644

1664316645
void connectionTimeout() = win 0x3b7850, imac 0x20b430, m1 0x1bff18;
16644-
bool init(int, RewardsPage*) = m1 0x1bef6c;
16646+
bool init(int, RewardsPage*) = win 0x3b6a80, m1 0x1bef6c, imac 0x20a3e0;
1664516647
void labelEnterFinishedO(cocos2d::CCObject*) = win inline {}
1664616648
void onClose(cocos2d::CCObject* sender) = win 0x3ba220, imac 0x20b3d0, m1 0x1bfec0;
1664716649
void playDropSound() = win 0x3b78b0, m1 0x1bfd64;
@@ -16652,8 +16654,8 @@ class RewardUnlockLayer : FLAlertLayer, CurrencyRewardDelegate {
1665216654
}
1665316655
void showCloseButton() = imac 0x20dc90, m1 0x1c2524;
1665416656
bool showCollectReward(GJRewardItem*) = win 0x3b7790, imac 0x209c30, m1 0x1be8e8;
16655-
void step2() = win 0x3b7950, m1 0x1bfdf0;
16656-
void step3() = win 0x3b7a50, imac 0x20d5a0;
16657+
void step2() = win 0x3b7950, imac 0x20b300, m1 0x1bfdf0;
16658+
void step3() = win 0x3b7a50, imac 0x20d5a0, m1 0x1c1e40;
1665716659

1665816660
cocos2d::CCArray* m_backgroundObjects;
1665916661
RewardsPage* m_rewardsPage;

0 commit comments

Comments
 (0)