Main Page
Namespaces
Classes
Files
Directories
Class List
Class Hierarchy
Class Members
CParticleSystem Class Reference
#include <ParticleSystem.h>
List of all members.
Public Types
enum
RENDER_METHOD
{
RENDER_METHOD_MANUAL_CPU_BILLBOARDS
,
RENDER_METHOD_ARB_POINT_SPRITES
,
RENDER_METHOD_CG_VERTEX_SHADER
}
Public Member Functions
CParticleSystem
(void)
~CParticleSystem
(void)
void
SetMaxParticles
(DWORD dwMaxParticles)
DWORD
GetMaxParticles
(void)
void
SetNumToRelease
(DWORD dwNumToRelease)
DWORD
GetNumToRelease
(void)
void
SetReleaseInterval
(float fReleaseInterval)
float
GetReleaseInterval
(void)
void
SetLifeCycle
(float fLifeCycle)
float
GetLifeCycle
(void)
void
SetSize
(float fSize)
float
GetSize
(void)
float
GetMaxPointSize
(void)
void
SetColor
(
VECTOR
clrColor)
VECTOR
GetColor
(void)
void
SetPosition
(
VECTOR
vPosition)
VECTOR
GetPosition
(void)
void
SetVelocity
(
VECTOR
vVelocity)
VECTOR
GetVelocity
(void)
void
SetGravity
(
VECTOR
vGravity)
VECTOR
GetGravity
(void)
void
SetWind
(
VECTOR
vWind)
VECTOR
GetWind
(void)
void
SetAirResistence
(bool bAirResistence)
bool
GetAirResistence
(void)
void
SetVelocityVar
(float fVelocityVar)
float
GetVelocityVar
(void)
void
SetRenderMethod
(
RENDER_METHOD
renderMethod)
RENDER_METHOD
GetRenderMethod
(void)
void
SetCollisionPlane
(
VECTOR
vPlaneNormal,
VECTOR
vPoint, float fBounceFactor=1.0f, int nCollisionResult=CR_BOUNCE)
int
Init
(void)
int
Update
(float fElapsedTime)
void
Render
(void)
void
SetTexture
(char *tex)
void
RestartParticleSystem
(void)
Private Attributes
Particle
*
m_pActiveList
Particle
*
m_pFreeList
Plane
*
m_pPlanes
DWORD
m_dwActiveCount
float
m_fCurrentTime
float
m_fLastUpdate
float
m_fMaxPointSize
bool
m_bDeviceSupportsPSIZE
GLuint
m_textureID
RENDER_METHOD
m_renderMethod
DWORD
m_dwMaxParticles
DWORD
m_dwNumToRelease
float
m_fReleaseInterval
float
m_fLifeCycle
float
m_fSize
VECTOR
m_clrColor
VECTOR
m_vPosition
VECTOR
m_vVelocity
VECTOR
m_vGravity
VECTOR
m_vWind
bool
m_bAirResistence
float
m_fVelocityVar
char *
m_chTexFile
Member Enumeration Documentation
enum
CParticleSystem::RENDER_METHOD
Enumerator:
RENDER_METHOD_MANUAL_CPU_BILLBOARDS
RENDER_METHOD_ARB_POINT_SPRITES
RENDER_METHOD_CG_VERTEX_SHADER
Constructor & Destructor Documentation
CParticleSystem::CParticleSystem
(
void
)
CParticleSystem::~CParticleSystem
(
void
)
Member Function Documentation
bool CParticleSystem::GetAirResistence
(
void
)
[inline]
VECTOR
CParticleSystem::GetColor
(
void
)
[inline]
VECTOR
CParticleSystem::GetGravity
(
void
)
[inline]
float CParticleSystem::GetLifeCycle
(
void
)
[inline]
DWORD CParticleSystem::GetMaxParticles
(
void
)
[inline]
float CParticleSystem::GetMaxPointSize
(
void
)
[inline]
DWORD CParticleSystem::GetNumToRelease
(
void
)
[inline]
VECTOR
CParticleSystem::GetPosition
(
void
)
[inline]
float CParticleSystem::GetReleaseInterval
(
void
)
[inline]
RENDER_METHOD
CParticleSystem::GetRenderMethod
(
void
)
[inline]
float CParticleSystem::GetSize
(
void
)
[inline]
VECTOR
CParticleSystem::GetVelocity
(
void
)
[inline]
float CParticleSystem::GetVelocityVar
(
void
)
[inline]
VECTOR
CParticleSystem::GetWind
(
void
)
[inline]
int CParticleSystem::Init
(
void
)
void CParticleSystem::Render
(
void
)
void CParticleSystem::RestartParticleSystem
(
void
)
void CParticleSystem::SetAirResistence
(
bool
bAirResistence
)
[inline]
void CParticleSystem::SetCollisionPlane
(
VECTOR
vPlaneNormal
,
VECTOR
vPoint
,
float
fBounceFactor
=
1.0f
,
int
nCollisionResult
=
CR_BOUNCE
)
void CParticleSystem::SetColor
(
VECTOR
clrColor
)
[inline]
void CParticleSystem::SetGravity
(
VECTOR
vGravity
)
[inline]
void CParticleSystem::SetLifeCycle
(
float
fLifeCycle
)
[inline]
void CParticleSystem::SetMaxParticles
(
DWORD
dwMaxParticles
)
[inline]
void CParticleSystem::SetNumToRelease
(
DWORD
dwNumToRelease
)
[inline]
void CParticleSystem::SetPosition
(
VECTOR
vPosition
)
[inline]
void CParticleSystem::SetReleaseInterval
(
float
fReleaseInterval
)
[inline]
void CParticleSystem::SetRenderMethod
(
RENDER_METHOD
renderMethod
)
[inline]
void CParticleSystem::SetSize
(
float
fSize
)
[inline]
void CParticleSystem::SetTexture
(
char *
tex
)
void CParticleSystem::SetVelocity
(
VECTOR
vVelocity
)
[inline]
void CParticleSystem::SetVelocityVar
(
float
fVelocityVar
)
[inline]
void CParticleSystem::SetWind
(
VECTOR
vWind
)
[inline]
int CParticleSystem::Update
(
float
fElapsedTime
)
Member Data Documentation
bool
CParticleSystem::m_bAirResistence
[private]
bool
CParticleSystem::m_bDeviceSupportsPSIZE
[private]
char*
CParticleSystem::m_chTexFile
[private]
VECTOR
CParticleSystem::m_clrColor
[private]
DWORD
CParticleSystem::m_dwActiveCount
[private]
DWORD
CParticleSystem::m_dwMaxParticles
[private]
DWORD
CParticleSystem::m_dwNumToRelease
[private]
float
CParticleSystem::m_fCurrentTime
[private]
float
CParticleSystem::m_fLastUpdate
[private]
float
CParticleSystem::m_fLifeCycle
[private]
float
CParticleSystem::m_fMaxPointSize
[private]
float
CParticleSystem::m_fReleaseInterval
[private]
float
CParticleSystem::m_fSize
[private]
float
CParticleSystem::m_fVelocityVar
[private]
Particle
*
CParticleSystem::m_pActiveList
[private]
Particle
*
CParticleSystem::m_pFreeList
[private]
Plane
*
CParticleSystem::m_pPlanes
[private]
RENDER_METHOD
CParticleSystem::m_renderMethod
[private]
GLuint
CParticleSystem::m_textureID
[private]
VECTOR
CParticleSystem::m_vGravity
[private]
VECTOR
CParticleSystem::m_vPosition
[private]
VECTOR
CParticleSystem::m_vVelocity
[private]
VECTOR
CParticleSystem::m_vWind
[private]
The documentation for this class was generated from the following files:
F:/ECHTZEIT/InsideTime/
ParticleSystem.h
F:/ECHTZEIT/InsideTime/
ParticleSystem.cpp
Generated on Sun Jan 22 16:23:51 2006 for Inside Time by
1.4.5