| 55 | } |
| 56 | |
| 57 | void EffectChain::Init() |
| 58 | { |
| 59 | IDrawableModule::Init(); |
| 60 | |
| 61 | mEffectTypesToSpawn = TheSynth->GetEffectFactory()->GetSpawnableEffects(); |
| 62 | mEffectSpawnList->SetUnknownItemString("add effect:"); |
| 63 | for (int i = 0; i < mEffectTypesToSpawn.size(); ++i) |
| 64 | mEffectSpawnList->AddLabel(mEffectTypesToSpawn[i].c_str(), i); |
| 65 | |
| 66 | mInitialized = true; |
| 67 | } |
| 68 | |
| 69 | void EffectChain::AddEffect(std::string type, std::string desiredName, bool onTheFly) |
| 70 | { |
no test coverage detected