diff options
Diffstat (limited to 'src/video/video_driver.hpp')
-rw-r--r-- | src/video/video_driver.hpp | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/video/video_driver.hpp b/src/video/video_driver.hpp index 57945862a..74bb20f4c 100644 --- a/src/video/video_driver.hpp +++ b/src/video/video_driver.hpp @@ -86,6 +86,20 @@ public: } /** + * Get whether the mouse cursor is drawn by the video driver. + * @return True if cursor drawing is done by the video driver. + */ + virtual bool UseSystemCursor() + { + return false; + } + + /** + * Clear all cached sprites. + */ + virtual void ClearSystemSprites() {} + + /** * Whether the driver has a graphical user interface with the end user. * Or in other words, whether we should spawn a thread for world generation * and NewGRF scanning so the graphical updates can keep coming. Otherwise |