8#ifndef SRC_GPARTICLES_H_
9#define SRC_GPARTICLES_H_
48 virtual void init(
int particleNum);
56 void setLimit(
float fLimitL,
float fLimitR,
float fLimitT,
float fLimitB);
58 void setCurrentColor(
int nParticle,
float fRed,
float fGreen,
float fBlue,
float fAlpha);
59 void setFadeColor(
int nParticle,
float fRed,
float fGreen,
float fBlue,
float fAlpha);
61 void setGravity(
int nParticle,
float fX,
float fY,
float fZ);
62 void setLR(
int nParticle,
float fX,
float fY,
float fZ);
63 void setUL(
int nParticle,
float fX,
float fY,
float fZ);
64 void setAge(
int nParticle,
float fAge);
Definition gBaseParticles.h:43
virtual void init(int particleNum)
void setLR(int nParticle, float fX, float fY, float fZ)
void setCurrentColor(int nParticle, float fRed, float fGreen, float fBlue, float fAlpha)
gTexture * g
Definition gBaseParticles.h:88
gColor m_clrParticleColor
Definition gBaseParticles.h:89
void setGravity(int nParticle, float fX, float fY, float fZ)
void setInitialColor(float fRed, float fGreen, float fBlue, float fAlpha)
virtual ~gBaseParticles()
int m_nAge
Definition gBaseParticles.h:79
float m_fLimitL
Definition gBaseParticles.h:82
void setAge(int nParticle, float fAge)
void setLimit(float fLimitL, float fLimitR, float fLimitT, float fLimitB)
void setLife(int nParticle, float fLife)
void setGravityFactor(int nParticle, float fGravityFactor)
void loadTexture(std::string texturePath)
void setTexture(gTexture *texture)
void setImgPath(std::string szImgPath)
float m_fLimitT
Definition gBaseParticles.h:83
gParticle * particle
Definition gBaseParticles.h:76
void setFadeColor(int nParticle, float fRed, float fGreen, float fBlue, float fAlpha)
float m_fLimitR
Definition gBaseParticles.h:81
void setLimit(bool bLimit)
bool previousalpha
Definition gBaseParticles.h:92
virtual void resetParticle(int particleNo)
void setUL(int nParticle, float fX, float fY, float fZ)
std::string imagepath
Definition gBaseParticles.h:86
int particlenum
Definition gBaseParticles.h:78
bool m_bLimit
Definition gBaseParticles.h:75
float m_fLimitB
Definition gBaseParticles.h:84
int particleno
Definition gBaseParticles.h:91
bool m_bEngineActive
Definition gBaseParticles.h:77
void setDirection(int nParticle, float fX, float fY, float fZ)
void setFrame(int nParticle, int nFrame)
gPlane gp
Definition gBaseParticles.h:72
void setFadeLife(int nParticle, float fFadeLife)
Definition gBaseParticles.h:15
int particleno
Definition gBaseParticles.h:32
glm::vec3 bottomright
Definition gBaseParticles.h:24
gColor fadecolor
Definition gBaseParticles.h:18
float gravityfactor
Definition gBaseParticles.h:30
class gBaseParticles * pengine
Definition gBaseParticles.h:39
glm::vec3 direction
Definition gBaseParticles.h:20
float life
Definition gBaseParticles.h:29
float fadelife
Definition gBaseParticles.h:31
glm::vec3 topleft
Definition gBaseParticles.h:23
int frameno
Definition gBaseParticles.h:26
gColor currentcolor
Definition gBaseParticles.h:17
float age
Definition gBaseParticles.h:27
glm::vec3 gravity
Definition gBaseParticles.h:21
Definition gRenderObject.h:25