Changeset View
Changeset View
Standalone View
Standalone View
source/simulation2/components/CCmpParticleManager.cpp
Show All 24 Lines | |||||
#include "renderer/SceneRenderer.h" | #include "renderer/SceneRenderer.h" | ||||
#include "simulation2/MessageTypes.h" | #include "simulation2/MessageTypes.h" | ||||
class CCmpParticleManager final : public ICmpParticleManager | class CCmpParticleManager final : public ICmpParticleManager | ||||
{ | { | ||||
public: | public: | ||||
static void ClassInit(CComponentManager& componentManager) | static void ClassInit(CComponentManager& componentManager) | ||||
{ | { | ||||
componentManager.SubscribeToMessageType(MT_Interpolate); | componentManager.SubscribeToMessageType(CID_ParticleManager, MT_Interpolate); | ||||
} | } | ||||
DEFAULT_COMPONENT_ALLOCATOR(ParticleManager) | DEFAULT_COMPONENT_ALLOCATOR(ParticleManager) | ||||
bool useSimTime; | bool useSimTime; | ||||
static std::string GetSchema() | static std::string GetSchema() | ||||
{ | { | ||||
▲ Show 20 Lines • Show All 45 Lines • Show Last 20 Lines |
Wildfire Games · Phabricator