mirror of
https://github.com/geode-sdk/geode.git
synced 2025-04-24 13:23:50 -04:00
CCParticleSystem members
This commit is contained in:
parent
d950a6f1c7
commit
8041e7ebc9
2 changed files with 25 additions and 2 deletions
loader/include/Geode/cocos/particle_nodes
|
@ -487,6 +487,16 @@ public:
|
|||
protected:
|
||||
virtual void updateBlendFunc();
|
||||
public:
|
||||
// @note RobTop Addition
|
||||
bool m_bWorldPosUninitialized;
|
||||
// @note RobTop Addition
|
||||
CCPoint m_tWorldPos;
|
||||
// @note RobTop Addition
|
||||
ccColor4F m_tUniformColor;
|
||||
// @note RobTop Addition
|
||||
ccColor4F m_tUniformDeltaColor;
|
||||
// @note RobTop Addition
|
||||
bool m_bUseUniformColorMode;
|
||||
// saved/loaded in loadDefaults, loadScaledDefaults and saveDefaults
|
||||
|
||||
// @note RobTop Addition
|
||||
|
@ -500,11 +510,15 @@ public:
|
|||
// @note RobTop Addition
|
||||
float m_fDefaultEndSize;
|
||||
// @note RobTop Addition
|
||||
float m_fDefaultAngle;
|
||||
// @note RobTop Addition
|
||||
float m_fDefaultModeASpeed;
|
||||
// @note RobTop Addition
|
||||
float m_fDefaultModeASpeedVar;
|
||||
// @note RobTop Addition
|
||||
CCPoint m_tDefaultPosVar;
|
||||
// @note RobTop Addition
|
||||
int m_nCustomParticleIndex;
|
||||
public:
|
||||
// @note RobTop Addition
|
||||
void saveDefaults(void);
|
||||
|
|
|
@ -153,6 +153,15 @@ public:
|
|||
|
||||
GLuint m_pBuffersVBO[2]; //0: vertex 1: indices
|
||||
|
||||
// @note Robtop Addition
|
||||
CCRect m_tTextureRect;
|
||||
// @note Robtop Addition
|
||||
ccColor4B m_tQuadColor;
|
||||
// @note Robtop Addition
|
||||
GLushort m_uParticleIdx;
|
||||
// @note Robtop Addition
|
||||
GLubyte m_uOpacity;
|
||||
|
||||
public:
|
||||
/**
|
||||
* @js ctor
|
||||
|
@ -227,8 +236,8 @@ public:
|
|||
static CCParticleSystemQuad * create(const char*, bool);
|
||||
static CCParticleSystemQuad * createWithTotalParticles(unsigned int numberOfParticles, bool);
|
||||
|
||||
unsigned char getOpacity();
|
||||
void setOpacity(unsigned char);
|
||||
GLubyte getOpacity() { return m_uOpacity; }
|
||||
void setOpacity(GLubyte opacity) { m_uOpacity = opacity; }
|
||||
|
||||
void updateTexCoords();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue