src/thirdparty/particles/ParticleDLL/ParticleState.h File Reference

#include "papi.h"
#include "actions.h"
#include "ParticleGroup.h"
#include <vector>
#include <string>

Include dependency graph for ParticleState.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  ParticleState

Defines

#define PASSERT(x, y)   {if(!(x)) { _GetPState().SetError(PERR_INTERNAL_ERROR, (y)); }}

Typedefs

typedef std::vector
< PActionBase * > 
ActionList

Functions

ParticleState_GetPState ()
void _PLock ()
void _PUnLock ()


Define Documentation

#define PASSERT ( x,
 )     {if(!(x)) { _GetPState().SetError(PERR_INTERNAL_ERROR, (y)); }}

Definition at line 96 of file ParticleState.h.

Referenced by PABounce::Exec().


Typedef Documentation

typedef std::vector<PActionBase *> ActionList

Definition at line 17 of file ParticleState.h.


Function Documentation

ParticleState& _GetPState (  )  [inline]

Definition at line 83 of file ParticleState.h.

References __ps.

Referenced by pAvoid(), pBirthCallback(), pBounce(), pCallActionList(), pColor(), pColorD(), pCopyGroup(), pCopyVertexB(), pCurrentGroup(), pDamping(), pDeathCallback(), pDeleteActionLists(), pDeleteParticleGroups(), pEndActionList(), pExplosion(), pFollow(), pFountain(), pGenActionLists(), pGenParticleGroups(), pGetGroupCount(), pGetMaxParticles(), pGetParticlePointer(), pGetParticles(), pGravitate(), pGravity(), pJet(), pKillOld(), pMass(), pMatchRotVelocity(), pMatchVelocity(), pMove(), pNewActionList(), pOrbitLine(), pOrbitPoint(), pRandomAccel(), pRandomDisplace(), pRandomRotVelocity(), pRandomVelocity(), pReset(), pRestore(), pRotDamping(), pRotVelocity(), pRotVelocityD(), pSetMaxParticles(), pSink(), pSinkVelocity(), pSize(), pSizeD(), pSort(), pSource(), pSpeedLimit(), pStartingAge(), pTargetColor(), pTargetRotVelocity(), pTargetSize(), pTargetVelocity(), pTimeStep(), pUpVec(), pUpVecD(), pVelocity(), pVelocityD(), pVertex(), pVertexB(), pVertexBD(), pVertexBTracks(), and pVortex().

00084 {
00085     // This is the global state.
00086     extern ParticleState __ps;
00087 
00088     return __ps;
00089 }

void _PLock (  )  [inline]

Definition at line 91 of file ParticleState.h.

Referenced by pCallActionList(), pCopyGroup(), pCurrentGroup(), pDeleteActionLists(), pDeleteParticleGroups(), pGenActionLists(), pGenParticleGroups(), pGetGroupCount(), pGetMaxParticles(), pGetParticles(), and pNewActionList().

00091 {}

Here is the caller graph for this function:

void _PUnLock (  )  [inline]

Definition at line 92 of file ParticleState.h.

Referenced by pCallActionList(), pCopyGroup(), pCurrentGroup(), pDeleteActionLists(), pDeleteParticleGroups(), pGenActionLists(), pGenParticleGroups(), pGetGroupCount(), pGetMaxParticles(), pGetParticles(), and pNewActionList().

00092 {}

Here is the caller graph for this function:


Generated on Sat Mar 15 23:10:22 2008 for Armagetron Advanced by  doxygen 1.5.4