start d_menu_option

This commit is contained in:
LagoLunatic
2024-11-05 20:53:59 -05:00
parent 92af4c4025
commit 0492ca2b52
12 changed files with 200 additions and 19 deletions
+3
View File
@@ -59,6 +59,9 @@ inline void cLib_setBit(T& value, T bit) {
template <typename T>
inline T cLib_minMaxLimit(T val, T min, T max) {
return (T)((T)val < (T)min ? (T)min : ((T)val > (T)max ? (T)max : (T)val));
// Might also be one of these? Try them first if having issues getting this inline to match.
// return (T)((T)val < min ? min : ((T)val > max ? max : (T)val));
// return (T)(val < min ? min : (val > max ? max : val));
}
template <typename T>