ddnet/src
Robert Müller 66ad9536fe Extend CScrollRegion to support scrolling when mouse at edge
Add `ScrollRelative` function to initiate relative scrolling programmatically, to realise scroll regions that scroll when the mouse is being dragged at the edge.

Add `DoEdgeScrolling` to encapsulate all the necessary edge scrolling logic based on the position of the mouse. The edge scrolling starts at a fixed distance from the edges. The scrolling speed is dependent on the distance of the mouse from this border.
2023-03-16 13:07:04 +01:00
..
android Add tests for overloaded hash operators, use operator instead 2022-11-12 20:36:38 +01:00
antibot Hand the client IP addresses to the antibot module 2023-01-11 01:35:50 +01:00
base Close process handle on Windows after process is killed 2023-03-10 18:02:39 +01:00
engine Save screenshot in separate thread to avoid lags 2023-03-11 13:19:57 +01:00
game Extend CScrollRegion to support scrolling when mouse at edge 2023-03-16 13:07:04 +01:00
macos Huge variable naming format 2022-07-08 18:01:29 +02:00
masterping Add tool to manually ping the mastersrv 2022-12-29 12:50:24 +01:00
mastersrv Add README.md for the mastersrv, briefly explaining the setup 2022-12-21 13:11:57 +01:00
rust-bridge Fix being run from rust-analyzer with a clean environment 2022-11-09 15:09:42 +01:00
steam Replace all usages of C standard headers with C++ headers 2023-03-01 19:26:51 +01:00
test Replace usages of C math functions 2023-03-01 19:26:53 +01:00
tools Replace leftover memcpy with mem_copy 2023-03-09 11:50:15 +01:00