Additional code was introduced to handle edge cases. Sliders are always
dimmed when clicked with the mouse, now. When the mouse button is
release, dimmed mode is turned off. This was done to prevent adjacent
slider items from being accidentally modified by moving the mouse over
them with the left mouse button held down, as well as to allow proper
functioning of deferred sliders with the mouse.
- change FPS calculation to use average FPS, use real time instead of render time for interval timing
- remove Maximize Window (you already have a maximize button and it's saved to the INI)
- remove Display FPS Interval from settings (the average user won't care and whoever cares can change it in the INI)
- remove the tickrate override flag and implicit tickrate adjustment in the framerate limit option, instead add one checkbox to uncap tickrate (mostly because I'd like the game to default to the og 60 FPS cap since high FPS is still unstable)
- rearrange some options a bit
backspace key now repeats properly
TYPE WITH KEYBOARD changes into a tooltip when typing
players with controllers are allowed to type, because that seems more convenient
players 2, 3 and 4 are allowed to type too if they hit the button, but only one player can have keyboard focus at a time
Also implements a new menu item flag: MENUITEMFLAG_SLIDER_DEFERRED,
which only calls the MENUOP_GETSLIDER callback on entering dimmed mode,
storing its value for later ticks, and only calls the MENUOP_SET
callback on leaving dimmed mode. This was necessary to prevent the
framerate limit slider from immediately affecting the framerate, leading
to an annoying slow down as the value was decremented to 0.
The subpixel offset code has been moved into the draw_rectangle
function, so it can be applied to more than just the fill_rectangle
function.
The radar texture was displaced along its V component and has
been corrected. It has also been subpixel-adjusted to align with the
player's radar dot.