-------------------------------------------------------------------------------------- Description: Implements IInitialize interface. Starts loading particle geometry file. Return Value: true always --------------------------------------------------------------------------------------
| 33 | // true always |
| 34 | // -------------------------------------------------------------------------------------- |
| 35 | bool Tr2StaticEmitter::Initialize() |
| 36 | { |
| 37 | if( !m_geometryResourcePath.empty() ) |
| 38 | { |
| 39 | BeResMan->GetResource( m_geometryResourcePath, |
| 40 | "raw", |
| 41 | m_geometryResource ); |
| 42 | } |
| 43 | if( m_particleSystem && m_isThreadSafe ) |
| 44 | { |
| 45 | m_particleSystem->SetThreadSafeFlag(); |
| 46 | } |
| 47 | return true; |
| 48 | } |
| 49 | |
| 50 | // -------------------------------------------------------------------------------------- |
| 51 | // Description: |
nothing calls this directly
no test coverage detected