Add ped and car density slider to menu, remove dumb collision "optimization"

This commit is contained in:
erorcun
2021-07-12 00:11:11 +03:00
parent 11434f96cc
commit 2a6f9c2757
11 changed files with 157 additions and 50 deletions

View File

@ -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.