IMin, IMax, FMin, and FMax
Posted: Wed Dec 16, 2015 1:01 am
Pull Request
Simply put, these four functions get the minimum or maximum of the entered integer/floating numbers. Like (f)randompick, you can input as many values as you like.
And for those of you wondering why it's called 'imin/imax', it's because of conflicts with actor.txt. I.e. A_SetRipperMin(int min) causes zdoom to fail start-up. So, it has to be something else. I settled with imin/imax to indicate integer.
Simply put, these four functions get the minimum or maximum of the entered integer/floating numbers. Like (f)randompick, you can input as many values as you like.
And for those of you wondering why it's called 'imin/imax', it's because of conflicts with actor.txt. I.e. A_SetRipperMin(int min) causes zdoom to fail start-up. So, it has to be something else. I settled with imin/imax to indicate integer.