mirror of
https://github.com/geode-sdk/geode.git
synced 2024-11-23 07:57:51 -05:00
add modify to CCParticleSystem, fix removed field
This commit is contained in:
parent
2ea4b97bd4
commit
fd3a587aa9
2 changed files with 13 additions and 3 deletions
|
@ -683,6 +683,10 @@ class cocos2d::CCObject {
|
||||||
}
|
}
|
||||||
|
|
||||||
class cocos2d::CCParticleSystem {
|
class cocos2d::CCParticleSystem {
|
||||||
|
CCParticleSystem() = mac 0x0;
|
||||||
|
virtual ~CCParticleSystem() = mac 0x0;
|
||||||
|
virtual auto update(float) = mac 0x0;
|
||||||
|
auto initParticle(cocos2d::tCCParticle*) = mac 0x0;
|
||||||
auto resetSystem() = mac 0x46bd50;
|
auto resetSystem() = mac 0x46bd50;
|
||||||
auto resumeSystem() = mac 0x46bd40;
|
auto resumeSystem() = mac 0x46bd40;
|
||||||
auto stopSystem() = mac 0x46bd10;
|
auto stopSystem() = mac 0x46bd10;
|
||||||
|
|
|
@ -174,6 +174,7 @@ emitter.startSpin = 0;
|
||||||
*/
|
*/
|
||||||
class CC_DLL CCParticleSystem : public CCNode, public CCTextureProtocol
|
class CC_DLL CCParticleSystem : public CCNode, public CCTextureProtocol
|
||||||
{
|
{
|
||||||
|
GEODE_FRIEND_MODIFY
|
||||||
protected:
|
protected:
|
||||||
gd::string m_sPlistFile;
|
gd::string m_sPlistFile;
|
||||||
//! time elapsed since the start of the system (in seconds)
|
//! time elapsed since the start of the system (in seconds)
|
||||||
|
@ -235,8 +236,12 @@ protected:
|
||||||
/** weak reference to the CCSpriteBatchNode that renders the CCSprite */
|
/** weak reference to the CCSpriteBatchNode that renders the CCSprite */
|
||||||
CC_PROPERTY(CCParticleBatchNode*, m_pBatchNode, BatchNode);
|
CC_PROPERTY(CCParticleBatchNode*, m_pBatchNode, BatchNode);
|
||||||
|
|
||||||
// RobTop removed this
|
RT_REMOVE(
|
||||||
///CC_SYNTHESIZE(unsigned int, m_uAtlasIndex, AtlasIndex);
|
CC_SYNTHESIZE(unsigned int, m_uAtlasIndex, AtlasIndex);
|
||||||
|
)
|
||||||
|
RT_ADD(
|
||||||
|
CC_SYNTHESIZE_NV(unsigned int, m_uAtlasIndex, AtlasIndex);
|
||||||
|
)
|
||||||
|
|
||||||
//true if scaled or rotated
|
//true if scaled or rotated
|
||||||
bool m_bTransformSystemDirty;
|
bool m_bTransformSystemDirty;
|
||||||
|
@ -373,6 +378,7 @@ public:
|
||||||
* @js ctor
|
* @js ctor
|
||||||
*/
|
*/
|
||||||
CCParticleSystem();
|
CCParticleSystem();
|
||||||
|
GEODE_CUSTOM_CONSTRUCTOR_COCOS(CCParticleSystem, CCNode)
|
||||||
/**
|
/**
|
||||||
* @js NA
|
* @js NA
|
||||||
* @lua NA
|
* @lua NA
|
||||||
|
|
Loading…
Reference in a new issue