CParticle Class¶
Overview¶
Note
The CParticle class handles particle effects typically seen in spells and spell effects
The structure used for this class is CParticle
Quick Reference¶
Quick Ref |
void CParticle::CParticle(CParticle& copyParticle) |
void CParticle::CParticle(long posX, long posY, long posZ, long velX, long velY, long velZ, unsigned long rgbInitColor, short nTailLength, long nGravity, unsigned short wType) |
void CParticle::CParticle() |
void CParticle::~CParticle() |
unsigned char CParticle::AsynchronousUpdate() |
int CParticle::GetParticleSize(unsigned short nBlobSize) |
void CParticle::Render(CPoint& worldToScreen, CRect& rClip, unsigned short nFlag, unsigned short nBlobSize) |
Constructors¶
Name |
Description |
Constructs a |
|
Destroys a |
CParticle::CParticle¶
Constructs a CParticle
object
void CParticle::CParticle(CParticle& copyParticle);
Parameters
CParticle& copyParticle -
Remarks
Constructs a CParticle
object
CParticle::CParticle¶
Constructs a CParticle
object
void CParticle::CParticle(
long posX,
long posY,
long posZ,
long velX,
long velY,
long velZ,
unsigned long rgbInitColor,
short nTailLength,
long nGravity,
unsigned short wType);
Parameters
long
posX -long
posY -long
posZ -long
velX -long
velY -long
velZ -unsigned long
rgbInitColor -short
nTailLength -long
nGravity -unsigned short
wType -
Remarks
Constructs a CParticle
object
CParticle::CParticle¶
Constructs a CParticle
object
void CParticle::CParticle();
Remarks
Constructs a CParticle
object
CParticle::~CParticle¶
Destroys the CParticle
object
virtual void CParticle::~CParticle();
Remarks
Destroys the CParticle
object
Methods¶
Name |
Description |
CParticle::AsynchronousUpdate¶
unsigned char CParticle::AsynchronousUpdate();
Return Value
Returns unsigned char
Remarks
CParticle::GetParticleSize¶
int CParticle::GetParticleSize(unsigned short nBlobSize);
Parameters
unsigned short
nBlobSize -
Return Value
Returns int
Remarks
CParticle::Render¶
void CParticle::Render(
CPoint& worldToScreen,
CRect& rClip,
unsigned short nFlag,
unsigned short nBlobSize);
Parameters
Remarks