diff options
Diffstat (limited to 'src/gfx_type.h')
-rw-r--r-- | src/gfx_type.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/gfx_type.h b/src/gfx_type.h index 0633bdd52..57a7ca324 100644 --- a/src/gfx_type.h +++ b/src/gfx_type.h @@ -138,6 +138,12 @@ struct CursorVars { bool in_window; ///< mouse inside this window, determines drawing logic bool vehchain; ///< vehicle chain is dragged + + bool UpdateCursorPosition(int x, int y, bool queued_warp); + +private: + bool queued_warp; + Point last_position; }; /** Data about how and where to blit pixels. */ |