Changeset 6512 in orxonox.OLD for trunk/src/lib/particles
- Timestamp:
- Jan 17, 2006, 10:01:07 PM (19 years ago)
- Location:
- trunk/src/lib/particles
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/lib/particles/particle_emitter.cc
r5750 r6512 93 93 void ParticleEmitter::loadParams(const TiXmlElement* root) 94 94 { 95 static_cast<PNode*>(this)->loadParams(root);95 PNode::loadParams(root); 96 96 97 97 LoadParam(root, "type", this, ParticleEmitter, setType) -
trunk/src/lib/particles/particle_emitter.h
r5405 r6512 39 39 40 40 void init(); 41 v oid loadParams(const TiXmlElement* root);41 virtual void loadParams(const TiXmlElement* root); 42 42 43 43 /* controlling the emitter: interface */ -
trunk/src/lib/particles/particle_engine.h
r5944 r6512 37 37 inline static ParticleEngine* getInstance() { if (!singletonRef) singletonRef = new ParticleEngine(); return singletonRef; }; 38 38 39 v oid loadParams(const TiXmlElement* root);39 virtual void loadParams(const TiXmlElement* root); 40 40 41 41 void tick(float dt); -
trunk/src/lib/particles/particle_system.cc
r6308 r6512 116 116 void ParticleSystem::loadParams(const TiXmlElement* root) 117 117 { 118 static_cast<WorldEntity*>(this)->loadParams(root);119 static_cast<PhysicsInterface*>(this)->loadParams(root);118 WorldEntity::loadParams(root); 119 PhysicsInterface::loadParams(root); 120 120 121 121 LoadParam(root, "max-count", this, ParticleSystem, setMaxCount) -
trunk/src/lib/particles/particle_system.h
r5446 r6512 74 74 75 75 void init(); 76 v oid loadParams(const TiXmlElement* root);76 virtual void loadParams(const TiXmlElement* root); 77 77 78 78 void setType(const char* particleType);
Note: See TracChangeset
for help on using the changeset viewer.