From df817782b3e1d860ac7917d246168d4ca2254a1e Mon Sep 17 00:00:00 2001 From: auria Date: Mon, 14 Mar 2011 00:45:47 +0000 Subject: [PATCH] Add getter for fog in Track; it's not used atm but surely it can come in useful... (I added it when investigating bug 8) git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7878 178a84e3-b1eb-0310-8ba1-8eac791a3b58 --- src/tracks/track.hpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/tracks/track.hpp b/src/tracks/track.hpp index 4c167b228..67bd3fef1 100644 --- a/src/tracks/track.hpp +++ b/src/tracks/track.hpp @@ -317,6 +317,8 @@ public: WeatherType getWeatherType () const { return m_weather_type; } ParticleKind* getSkyParticles () { return m_sky_particles; } + bool isFogEnabled() const { return m_use_fog; } + std::vector< std::vector > buildHeightMap(); }; // class Track