Example #1
0
void RenderableEffect::adjustSettings(const std::string &version, Effect *effect) {
    if (IsVersionOlder("4.2.20", version)) {
        // almost all of the settings from older 4.x series need adjustment for speed things
        AdjustSettingsToBeFitToTime(effect->GetEffectIndex(), effect->GetSettings(), effect->GetStartTimeMS(), effect->GetEndTimeMS(), effect->GetPalette());
    }
    if (IsVersionOlder("2016.36", version)) {
        RemoveDefaults(version, effect);
    }
}
Example #2
0
bool MusicEffect::needToAdjustSettings(const std::string &version)
{
    return IsVersionOlder("2016.27", version);
}
Example #3
0
bool SnowflakesEffect::needToAdjustSettings(const std::string &version)
{
    return IsVersionOlder("4.3.03", version);
}
Example #4
0
bool RenderableEffect::needToAdjustSettings(const std::string &version) {
    return IsVersionOlder("2016.35", version);
}
Example #5
0
bool RenderableEffect::needToAdjustSettings(const std::string &version) {
    // almost all of the settings from older 4.x series need adjustment for speed things
    return IsVersionOlder("4.2.20", version);
}