From 3ece963bc25cbc809ad109064e40e10d5f9b82cc Mon Sep 17 00:00:00 2001 From: auria Date: Wed, 24 Feb 2010 22:10:27 +0000 Subject: [PATCH] Lowered dependencies of Star (now accepts any scene node, no more uselessly requires an animated mesh) git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4830 178a84e3-b1eb-0310-8ba1-8eac791a3b58 --- src/graphics/stars.cpp | 2 +- src/graphics/stars.hpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/graphics/stars.cpp b/src/graphics/stars.cpp index 76465eb98..6928d2398 100644 --- a/src/graphics/stars.cpp +++ b/src/graphics/stars.cpp @@ -29,7 +29,7 @@ const int STAR_AMOUNT = 7; const float RADIUS = 0.7f; const float STAR_SIZE = 0.4f; -Stars::Stars(scene::IAnimatedMeshSceneNode* parentKart) +Stars::Stars(scene::ISceneNode* parentKart) { m_parent_kart_node = parentKart; m_enabled = false; diff --git a/src/graphics/stars.hpp b/src/graphics/stars.hpp index 881493c0e..be15f226c 100644 --- a/src/graphics/stars.hpp +++ b/src/graphics/stars.hpp @@ -45,7 +45,7 @@ private: float m_remaining_time; public: - Stars (scene::IAnimatedMeshSceneNode* parentKart); + Stars (scene::ISceneNode* parentKart); ~Stars (); void showFor(float time); void reset();