| 569 | } |
| 570 | |
| 571 | bool EveTurretFiringFX::UpdateSynchronous( const EveUpdateContext& updateContext ) |
| 572 | { |
| 573 | // check all stretch effects and see if we have to start or stop them |
| 574 | for( unsigned int i = 0; i < m_stretch.size(); ++i ) |
| 575 | { |
| 576 | if( m_perMuzzleData[i].elapsedTime < m_firingDuration || m_isLoopFiring ) |
| 577 | { |
| 578 | auto stretchEffect = m_stretch[i]; |
| 579 | stretchEffect->UpdateEffectSync( updateContext ); |
| 580 | } |
| 581 | } |
| 582 | return true; |
| 583 | } |
| 584 | |
| 585 | void EveTurretFiringFX::UpdateVisibility( const EveUpdateContext& updateContext ) |
| 586 | { |
no test coverage detected