- Timestamp:
- Jan 20, 2006, 9:33:36 PM (19 years ago)
- Location:
- trunk/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/Makefile.am
r6455 r6630 10 10 11 11 orxonox_CPPFLAGS = -DIS_ORXONOX 12 orxonox_LDFLAGS = -u global_ModelParticles_Factory 12 13 13 14 orxonox_DEPENDENCIES = \ … … 55 56 $(StoryEntities_SOURCES_) \ 56 57 orxonox.cc \ 58 \ 59 lib/particles/model_particles.cc \ 60 lib/particles/spark_particles.cc \ 61 lib/particles/sprite_particles.cc \ 62 \ 57 63 subprojects/benchmark.cc 58 64 -
trunk/src/lib/particles/particle_system.cc
r6629 r6630 260 260 void ParticleSystem::precache(unsigned int seconds, unsigned int ticksPerSecond) 261 261 { 262 263 std::list<ParticleEmitter*>::iterator emitter; 264 for (emitter = this->emitters.begin(); emitter != this->emitters.end(); emitter++) 265 (*emitter)->updateNode(.1), (*emitter)->updateNode(.1); 266 262 267 PRINTF(4)("Precaching %s::%s %d seconds %d timesPerSecond\n", this->getClassName(), this->getName(), seconds, ticksPerSecond); 263 268 this->debug(); … … 275 280 void ParticleSystem::tick(float dt) 276 281 { 282 printf("TICKED %f %d\n", dt, this->count); 277 283 Particle* tickPart = particles; // the particle to Tick 278 284 Particle* prevPart = NULL;
Note: See TracChangeset
for help on using the changeset viewer.