Codechange: remove queue_wrap / last_position from mouse movement

No backend uses it anymore, so also no longer any need to support
it.
This commit is contained in:
Patric Stout
2023-06-03 23:10:16 +02:00
committed by Patric Stout
parent e83f244750
commit 0d840b4570
7 changed files with 12 additions and 44 deletions

View File

@@ -144,11 +144,7 @@ struct CursorVars {
bool vehchain; ///< vehicle chain is dragged
void UpdateCursorPositionRelative(int delta_x, int delta_y);
bool UpdateCursorPosition(int x, int y, bool queued_warp);
private:
bool queued_warp;
Point last_position;
bool UpdateCursorPosition(int x, int y);
};
/** Data about how and where to blit pixels. */