void BaseSystem::TryLoadSystems () { BaseSystem* it ( GetFirst () ); while( it != nullptr ) { if( it->IsDynamic () ) { it->SetActive ( true ); } GetNext ( it ); } }
void BaseSystem::TryUnloadSystems () { BaseSystem* it ( GetFirst () ); while( it != nullptr ) { if( it->IsDynamic () ) { if( !it->GotJob () ) it->SetActive ( false ); } GetNext ( it ); } }