Changed egg shadow draw layer so it will no longer appear in front of bonusblocks...
[supertux.git] / src / supertux / fadeout.cpp
index 58d2ecd..b03efce 100644 (file)
 //  along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
 #include "supertux/fadeout.hpp"
-#include "supertux/main.hpp"
+#include "supertux/globals.hpp"
 #include "video/drawing_context.hpp"
 
-FadeOut::FadeOut(float fade_time, Color color)
-  : color(color), fade_time(fade_time), accum_time(0)
+FadeOut::FadeOut(float fade_time_, Color color_)
+  : color(color_), fade_time(fade_time_), accum_time(0)
 {
 }