- SoundManager doesn't need Effects for now - ambient sound volume
[supertux.git] / src / video / screen.cpp
index 3ddd9b3..7ceb28e 100644 (file)
@@ -23,6 +23,7 @@
 #include <cstdlib>
 #include <cstring>
 #include <cerrno>
+#include <assert.h>
 
 #include <unistd.h>
 
 
 #include "gameconfig.h"
 #include "screen.h"
-#include "app/globals.h"
+#include "main.h"
 #include "video/drawing_context.h"
 #include "math/vector.h"
 
 static const float LOOP_DELAY = 20.0;
 extern SDL_Surface* screen;
 
-using namespace SuperTux;
-
 /* 'Stolen' from the SDL documentation.
  * Return the pixel value at (x, y)
  * NOTE: The surface must be locked before calling this!