Codechange: replace _realtime_tick with std::chrono for mouse events

(cherry picked from commit 853bfc3562)
This commit is contained in:
Patric Stout
2021-02-26 14:00:53 +01:00
committed by Jonathan G Rennison
parent d4f208d9c1
commit 3744d71b13
3 changed files with 21 additions and 20 deletions

View File

@@ -26,7 +26,6 @@ enum NewGrfDebugSpritePickerMode {
struct NewGrfDebugSpritePicker {
NewGrfDebugSpritePickerMode mode; ///< Current state
void *clicked_pixel; ///< Clicked pixel (pointer to blitter buffer)
uint32 click_time; ///< Realtime tick when clicked to detect next frame
std::vector<SpriteID> sprites; ///< Sprites found
};