some GP2X-related workarounds
[supertux.git] / src / mainloop.hpp
index e9fa1a1..6edb421 100644 (file)
@@ -28,13 +28,16 @@ class Console;
 class ScreenFade;
 class DrawingContext;
 
+/**
+ * Manages, updates and draws all Screens, Controllers, Menus and the Console.
+ */
 class MainLoop
 {
 public:
   MainLoop();
   ~MainLoop();
 
-  void run();
+  void run(DrawingContext &context);
   void exit_screen(ScreenFade* fade = NULL);
   void quit(ScreenFade* fade = NULL);
   void set_speed(float speed);