summaryrefslogtreecommitdiffstats
path: root/src/extras
diff options
context:
space:
mode:
authorerorcun <erorcunerorcun@hotmail.com.tr>2021-08-02 17:23:06 +0200
committerGitHub <noreply@github.com>2021-08-02 17:23:06 +0200
commitae1deb2209a5345d51b13c9534a2ef9877cbe09b (patch)
tree93589ebfc2b9ef71b71afe9a45369d55127807eb /src/extras
parentFix radio scroll when player controls disabled (diff)
parentFix R* optimization that prevents peds to spawn (diff)
downloadre3-ae1deb2209a5345d51b13c9534a2ef9877cbe09b.tar
re3-ae1deb2209a5345d51b13c9534a2ef9877cbe09b.tar.gz
re3-ae1deb2209a5345d51b13c9534a2ef9877cbe09b.tar.bz2
re3-ae1deb2209a5345d51b13c9534a2ef9877cbe09b.tar.lz
re3-ae1deb2209a5345d51b13c9534a2ef9877cbe09b.tar.xz
re3-ae1deb2209a5345d51b13c9534a2ef9877cbe09b.tar.zst
re3-ae1deb2209a5345d51b13c9534a2ef9877cbe09b.zip
Diffstat (limited to 'src/extras')
-rw-r--r--src/extras/frontendoption.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/extras/frontendoption.h b/src/extras/frontendoption.h
index 05cd5fa0..db1b9021 100644
--- a/src/extras/frontendoption.h
+++ b/src/extras/frontendoption.h
@@ -35,6 +35,8 @@ typedef void (*ReturnPrevPageFunc)();
typedef void (*ChangeFunc)(int8 before, int8 after); // called after updating the value.
// only called on enter if onlyApplyOnEnter set, otherwise called on every value change
+typedef void (*ChangeFuncFloat)(float before, float after); // called after updating the value.
+
// for dynamic options
typedef wchar* (*DrawFunc)(bool* disabled, bool userHovering); // you must return a pointer for right text.
// you can also set *disabled if you want to gray it out.