#include "papi.h"
#include "actions.h"
#include "ParticleGroup.h"
#include <vector>
#include <string>
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 () |
typedef std::vector<PActionBase *> ActionList |
Definition at line 17 of file ParticleState.h.
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().
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().