From ec1dd0bf618f2c4fe17c62db9eec3b5e056574a0 Mon Sep 17 00:00:00 2001 From: Patric Stout Date: Sat, 20 Feb 2021 11:15:15 +0100 Subject: Codechange: be consistent in what CheckPaletteAnim() does and when it is called Additionally, make sure this is a class method. Later commits will make use of this. --- src/video/video_driver.hpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/video/video_driver.hpp') diff --git a/src/video/video_driver.hpp b/src/video/video_driver.hpp index b8acb2bb8..768b2fe6c 100644 --- a/src/video/video_driver.hpp +++ b/src/video/video_driver.hpp @@ -184,6 +184,11 @@ protected: */ virtual void PaintThread() {} + /** + * Process any pending palette animation. + */ + virtual void CheckPaletteAnim() {} + std::chrono::steady_clock::duration GetGameInterval() { return std::chrono::milliseconds(MILLISECONDS_PER_TICK); -- cgit v1.2.3-54-g00ecf