From 12faa0167fdf2983d1096dcb76d60f02aa9a1fa7 Mon Sep 17 00:00:00 2001 From: samuncle Date: Sun, 20 Jan 2013 12:22:07 +0000 Subject: [PATCH] Now stk can use animated textures git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12393 178a84e3-b1eb-0310-8ba1-8eac791a3b58 --- src/graphics/moving_texture.hpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/graphics/moving_texture.hpp b/src/graphics/moving_texture.hpp index 3ffdbe325..352d4bca6 100644 --- a/src/graphics/moving_texture.hpp +++ b/src/graphics/moving_texture.hpp @@ -36,6 +36,12 @@ class MovingTexture : public NoCopy private: /** Translation increment per second. */ float m_dx, m_dy; + + /** Delta set by user and count */ + float m_dt; + float m_count; + bool m_isAnimatedByStep; + /** Current x,y position. */ float m_x, m_y; /** The texture matrix of this texture. */