EffectIncrementF


Project maintained by profezzorn Hosted on GitHub Pages — Theme by mattgraham

Usage 🔗

EffectIncrementF<EFFECT, MAX, I>

Arguments 🔗

Description 🔗

Increases by value I (up to MAX) each time EFFECT is triggered If current value + I = MAX, it returns 0. If adding I exceeds MAX, the function returns 0 + any remainder in excesss of MAX

See Also 🔗

EffectPulse, LockupPulseF, IncrementWithReset, IncrementModulo, ThresholdPulseF, IncrementF

Source Link 🔗

https://github.com/profezzorn/ProffieOS/blob/6f8add544c627172ad2dd698c90e5e55078a420a/functions/effect_increment.h#L88