37 lines
899 B
C++
37 lines
899 B
C++
/////////////////////////////////////////////////////
|
|
/////////////////////////////////////////////////////
|
|
//
|
|
// GeneralParticleSystem
|
|
//
|
|
/////////////////////////////////////////////////////
|
|
/////////////////////////////////////////////////////
|
|
#include "CKAll.h"
|
|
|
|
#include "ParticleSystemRenderCallbacks.h"
|
|
#include "ParticleManager.h"
|
|
|
|
#include "ParticleGuids.h"
|
|
|
|
CKERROR CreateGeneralParticleSystemProto(CKBehaviorPrototype **);
|
|
int GeneralParticleSystem(const CKBehaviorContext& behcontext);
|
|
CKERROR GeneralParticleSystemCallback(const CKBehaviorContext& behcontext);
|
|
|
|
// ACC - July 10,2002
|
|
#ifndef THREADPARAM
|
|
#define THREADPARAM
|
|
#include "BlockingQueue.h"
|
|
|
|
class ThreadParam {
|
|
public:
|
|
ParticleEmitter* pe;
|
|
float DeltaTime;
|
|
|
|
};
|
|
|
|
int UpdateParticleSystemEnqueue(ParticleEmitter* aPE, float aDeltaTime);
|
|
|
|
#ifdef WIN32
|
|
DWORD WINAPI PSWorkerThreadFunc(LPVOID junk);
|
|
#endif
|
|
|
|
#endif |