Emitters are looping when play mode is looping, except for when retiring
| 338 | |
| 339 | // Emitters are looping when play mode is looping, except for when retiring |
| 340 | static bool IsEmitterLooping(Emitter* emitter, dmParticleDDF::Emitter* emitter_ddf) |
| 341 | { |
| 342 | return emitter->m_Retiring == 0 && emitter_ddf->m_Mode == PLAY_MODE_LOOP; |
| 343 | } |
| 344 | |
| 345 | static void FastForwardEmitter(Prototype* prototype, Instance* instance, EmitterPrototype* emitter_prototype, Emitter* emitter, dmParticleDDF::Emitter* emitter_ddf, float time) |
| 346 | { |
no outgoing calls
no test coverage detected