summaryrefslogtreecommitdiffstats
path: root/src/extras/frontendoption.h
diff options
context:
space:
mode:
authorerorcun <erorcunerorcun@hotmail.com.tr>2021-07-11 23:11:11 +0200
committererorcun <erorcunerorcun@hotmail.com.tr>2021-07-11 23:12:25 +0200
commit2a6f9c27578c69742be7209d749780700453c8a1 (patch)
treea4c9b38a4a9752f4ef315c3009f887e947e9b334 /src/extras/frontendoption.h
parentAdd PED DENSITY and CAR DENSITY lines to GXT (diff)
downloadre3-2a6f9c27578c69742be7209d749780700453c8a1.tar
re3-2a6f9c27578c69742be7209d749780700453c8a1.tar.gz
re3-2a6f9c27578c69742be7209d749780700453c8a1.tar.bz2
re3-2a6f9c27578c69742be7209d749780700453c8a1.tar.lz
re3-2a6f9c27578c69742be7209d749780700453c8a1.tar.xz
re3-2a6f9c27578c69742be7209d749780700453c8a1.tar.zst
re3-2a6f9c27578c69742be7209d749780700453c8a1.zip
Diffstat (limited to '')
-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 8b64335a..a571170f 100644
--- a/src/extras/frontendoption.h
+++ b/src/extras/frontendoption.h
@@ -40,6 +40,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.