Changeset 5111 in orxonox.OLD for trunk/src/lib/particles
- Timestamp:
- Aug 23, 2005, 11:13:56 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/lib/particles/particle_engine.cc
r5110 r5111 53 53 // delete all remaining systems 54 54 tIterator<ParticleSystem>* sysIt = this->systemList->getIterator(); 55 ParticleSystem* tmpSys = sysIt-> firstElement();55 ParticleSystem* tmpSys = sysIt->nextElement(); 56 56 while(tmpSys) 57 57 { … … 64 64 // delete all remaining emitters 65 65 tIterator<ParticleEmitter>* emitIt = this->emitterList->getIterator(); 66 ParticleEmitter* tmpEmit = emitIt-> firstElement();66 ParticleEmitter* tmpEmit = emitIt->nextElement(); 67 67 while(tmpEmit) 68 68 { … … 147 147 // look, if we have already added this connection 148 148 tIterator<ParticleConnection>* tmpConIt = connectionList->getIterator(); 149 ParticleConnection* tmpConnection = tmpConIt-> firstElement();149 ParticleConnection* tmpConnection = tmpConIt->nextElement(); 150 150 while(tmpConnection) 151 151 { … … 178 178 // remove any connections, that have this system within 179 179 tIterator<ParticleConnection>* tmpConIt = connectionList->getIterator(); 180 ParticleConnection* tmpConnection = tmpConIt-> firstElement();180 ParticleConnection* tmpConnection = tmpConIt->nextElement(); 181 181 while(tmpConnection) 182 182 { … … 199 199 // remove any connections, that have this emitter within 200 200 tIterator<ParticleConnection>* tmpConIt = connectionList->getIterator(); 201 ParticleConnection* tmpConnection = tmpConIt-> firstElement();201 ParticleConnection* tmpConnection = tmpConIt->nextElement(); 202 202 while(tmpConnection) 203 203 { … … 224 224 // look, if we have already added this connection 225 225 tIterator<ParticleConnection>* tmpConIt = connectionList->getIterator(); 226 ParticleConnection* tmpConnection = tmpConIt-> firstElement();226 ParticleConnection* tmpConnection = tmpConIt->nextElement(); 227 227 while(tmpConnection) 228 228 { … … 260 260 // ticks all the ParticleSystems 261 261 tIterator<ParticleSystem>* tmpIt = systemList->getIterator(); 262 ParticleSystem* tmpSys = tmpIt-> firstElement();262 ParticleSystem* tmpSys = tmpIt->nextElement(); 263 263 while(tmpSys) 264 264 { … … 270 270 // add new Particles to each System connected to an Emitter. 271 271 tIterator<ParticleConnection>* tmpConIt = connectionList->getIterator(); 272 ParticleConnection* tmpConnection = tmpConIt-> firstElement();272 ParticleConnection* tmpConnection = tmpConIt->nextElement(); 273 273 while(tmpConnection) 274 274 { … … 285 285 { 286 286 tIterator<ParticleSystem>* tmpIt = systemList->getIterator(); 287 ParticleSystem* tmpSys = tmpIt-> firstElement();287 ParticleSystem* tmpSys = tmpIt->nextElement(); 288 288 while(tmpSys) 289 289 { … … 302 302 { 303 303 tIterator<ParticleSystem>* tmpIt = systemList->getIterator(); 304 ParticleSystem* tmpSys = tmpIt-> firstElement();304 ParticleSystem* tmpSys = tmpIt->nextElement(); 305 305 while(tmpSys) 306 306 { … … 324 324 int count = 0; 325 325 tIterator<ParticleSystem>* tmpIt = systemList->getIterator(); 326 ParticleSystem* tmpSys = tmpIt-> firstElement();326 ParticleSystem* tmpSys = tmpIt->nextElement(); 327 327 while(tmpSys) 328 328 { … … 346 346 { 347 347 tIterator<ParticleEmitter>* tmpIt = emitterList->getIterator(); 348 ParticleEmitter* tmpEmit = tmpIt-> firstElement();348 ParticleEmitter* tmpEmit = tmpIt->nextElement(); 349 349 while(tmpEmit) 350 350 { … … 369 369 int count = 0; 370 370 tIterator<ParticleEmitter>* tmpIt = emitterList->getIterator(); 371 ParticleEmitter* tmpEmit = tmpIt-> firstElement();371 ParticleEmitter* tmpEmit = tmpIt->nextElement(); 372 372 while(tmpEmit) 373 373 { … … 402 402 403 403 tIterator<ParticleConnection>* tmpConIt = connectionList->getIterator(); 404 ParticleConnection* tmpConnection = tmpConIt-> firstElement();404 ParticleConnection* tmpConnection = tmpConIt->nextElement(); 405 405 while(tmpConnection) 406 406 { … … 414 414 { 415 415 tIterator<ParticleSystem>* tmpIt = systemList->getIterator(); 416 ParticleSystem* tmpSys = tmpIt-> firstElement();416 ParticleSystem* tmpSys = tmpIt->nextElement(); 417 417 while(tmpSys) 418 418 { … … 429 429 { 430 430 tIterator<ParticleEmitter>* tmpIt = emitterList->getIterator(); 431 ParticleEmitter* tmpEmit = tmpIt-> firstElement();431 ParticleEmitter* tmpEmit = tmpIt->nextElement(); 432 432 while(tmpEmit) 433 433 {
Note: See TracChangeset
for help on using the changeset viewer.