Commit Graph
26 Commits
Author SHA1 Message Date
Matthew Coppola e4972ddbe3 Allow adjusting sliders with mousescroll 2025-02-23 22:49:24 -05:00
Matthew Coppola 721b9b004e Allow skipping credits for the port 2024-12-21 06:26:36 -05:00
Matthew Coppola 8945809c1f Factor in dstscroll to align mouse with chars in 3+ multiplayer 2024-12-17 17:40:10 -05:00
Matthew Coppola da07772b1c Allow typing with keyboard in menuitemKeyboard 2024-12-17 05:47:43 -05:00
Matthew Coppola 615e9267d8 Make mouse aim speed resolution-independent 2024-12-10 17:36:57 -05:00
Matthew Coppola c43f550a7e Prevent crash when copying player data 2024-12-09 16:20:56 -05:00
Matthew Coppola cb449bf7ce Increase precision for mouse speed options 2024-12-06 22:40:57 -05:00
Matthew Coppola e2e5bc352d Call text_end (text0f153780) for correctness sake 2024-12-06 17:20:24 -05:00
Matthew Coppola 687b966c5e Allow overriding g_TickRateDiv at runtime 2024-12-06 17:20:24 -05:00
Matthew Coppola 0b8a333e2b Rearrange the menu, clean up, and change some things 2024-12-06 17:20:23 -05:00
Matthew Coppola b34bb01240 Actually sync fullscreen and maximized states with the backend 2024-12-06 17:20:23 -05:00
Matthew Coppola 1e2f6dcb91 Fix mouse input not updating deferred slider while in dimmed mode 2024-12-06 17:20:23 -05:00
Matthew Coppola 210b299bd4 Add Display FPS options to Extended Video Options
Also changed how the window title FPS works, which is now derived from
the difference in time between subsequent video frames.
2024-12-06 17:20:23 -05:00
Matthew Coppola 6de98cfcd4 Update GUI texture filtering setting immediately 2024-12-06 17:20:23 -05:00
Matthew Coppola d43c4c0cba Allow changing MSAA at runtime 2024-12-06 17:20:23 -05:00
Matthew Coppola 1d14877bec Allow changing vsync and framerate limit at runtime
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.
2024-12-06 17:20:22 -05:00
Matthew Coppola 5aa1cc6117 Cache ints instead of strings for video modes 2024-12-06 17:20:22 -05:00
Matthew Coppola 1be0e3680b Add video option to center the window 2024-12-06 17:20:22 -05:00
Matthew Coppola 09b0a12b0a Allow changing video resolution at runtime + more
Fullscreen exclusive mode is togglable at runtime, as well, as a
dropdown menu with "borderless" and "exclusive" options. All variables
pertaining to video resolution, exclusive mode, and maximized state are
now synchronized. For instance, Alt+Enter will affect the state of the
fullscreen video option and maximizing the window via the title bar will
update the maximize window option accordingly.
2024-12-06 17:20:15 -05:00
Matthew Coppola a2e362caea Forbid mousescroll if dialog is dimmed 2024-12-04 21:23:21 -05:00
Matthew Coppola d7a612302e Discard player momentum during autowalk sequences
Prevents potential softlock during The Duel.
2024-11-17 03:56:20 -05:00
Matthew Coppola fb18da239f Move subpixel offset code & fix radar UV map
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.
2024-11-15 03:16:33 -05:00
Matthew Coppola bc82328353 Improve crosshair position accuracy by rounding 2024-11-15 03:16:33 -05:00
Matthew Coppola 938223db28 Center Maian and Skedar tri sights 2024-11-15 03:16:32 -05:00
Matthew Coppola 942c966bf2 Replace centered rects with subpixel offsets 2024-11-15 03:16:32 -05:00
Matthew Coppola e0d59345c7 Center-align crosshairs and zoom range 2024-11-15 03:16:32 -05:00