mirror of
https://github.com/dhewm/dhewm3.git
synced 2025-02-17 09:42:36 +00:00
The fullscreen guis pretend to be 640x480 internally, also for the mouse cursor position. So adding the actually moved pixels (when playing the game at a higher resolution) to the GUIs cursor position makes it move too fast. To fix that I detect (hopefully that check is reliable!) if the idUserInterfaceLocal instance is a fullscreen GUI and if so scale the reported mouse moved pixels with 640/actual_window_width and 480/actual_window_height. |
||
---|---|---|
.. | ||
cm | ||
d3xp | ||
framework | ||
game | ||
idlib | ||
MayaImport | ||
renderer | ||
sound | ||
sys | ||
tools | ||
TypeInfo | ||
ui | ||
CMakeLists.txt | ||
config.h.in |