aldehir / ut2004-patches

QoL patches for UT2004.
25 stars 1 forks source link

Occasional "auto-dodging" at high FPS, more frequent at low. #1

Closed aldehir closed 11 months ago

aldehir commented 11 months ago

It appears moving the message pump within the tick rate enforcement has increased the frequency of "auto-dodges". I am exploring the issue, but it may be due to the timing between when a key is pressed and when the input is processed during the tick. Processing keyboard messages before eventPlayerTick() may help.

Alternatively, with the introduction of raw input and suppression of WM_MOUSEMOVE via the RIDEV_NOLEGACY flag, the impact of the message pump is greatly minimized. It may be better to restore the message pump to its original location and encourage use of raw input.

aldehir commented 11 months ago

Fixed in b7566056ec830d667dd2026aecdcc3e10f7b0e10