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

This commit is contained in:
Patric Stout
2021-02-26 14:00:53 +01:00
committed by Patric Stout
parent 53c28a8ec9
commit 853bfc3562
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
};