Skip to content

Commit 87644ba

Browse files
committed
CCMotionStreak bindings
1 parent 3a3df15 commit 87644ba

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

bindings/2.2074/Cocos2d.bro

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -768,7 +768,7 @@ class cocos2d::CCMotionStreak : cocos2d::CCNodeRGBA, cocos2d::CCTextureProtocol
768768
// void setFastMode(bool);
769769
// void setM_fMaxSeg(float);
770770
// void setStartingPositionInitialized(bool);
771-
void setStroke(float);
771+
void setStroke(float) = m1 0x4b6c40, imac 0x560180, ios 0x17aaf8;
772772

773773
// CCMotionStreak(cocos2d::CCMotionStreak const&);
774774
CCMotionStreak() = imac 0x55f120, m1 0x4b5cf4, ios 0x17a068;
@@ -779,7 +779,12 @@ class cocos2d::CCMotionStreak : cocos2d::CCNodeRGBA, cocos2d::CCTextureProtocol
779779
void reset() = m1 0x4b6c48, imac 0x560190, ios 0x17ab00;
780780
void resumeStroke() = m1 0x4b6510, imac 0x55fb40, ios 0x17a618;
781781
void stopStroke() = m1 0x4b6508, imac 0x55fb30, ios 0x17a610;
782-
void tintWithColor(cocos2d::ccColor3B);
782+
void tintWithColor(cocos2d::ccColor3B) = m1 0x4b6334, imac 0x55f8d0, ios inline {
783+
this->setColor(p0);
784+
for (int i = 0; i < m_uNuPoints * 2; i++) {
785+
*reinterpret_cast<ccColor3B*>(m_pColorPointer + i * 4) = p0;
786+
}
787+
}
783788
void updateFade(float) = m1 0x4b64f8, imac 0x55fb10, ios 0x17a600;
784789

785790
virtual ~CCMotionStreak() = imac 0x55f2c0, m1 0x4b5e2c, ios 0x17a104;

0 commit comments

Comments
 (0)