X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=src%2Fgui%2Fmenu.cpp;h=66754c9ffd70424573da83fcef338d56f2abc0a2;hb=9ca6ad8086995cde21a4ae247dac53de336c15ec;hp=6c2970a1ee9f94458d6893de9ee97e5e7ebc0e22;hpb=08813a74da6ac1fd045a105e4e8105f1d7f716f0;p=supertux.git
diff --git a/src/gui/menu.cpp b/src/gui/menu.cpp
index 6c2970a1e..66754c9ff 100644
--- a/src/gui/menu.cpp
+++ b/src/gui/menu.cpp
@@ -14,224 +14,48 @@
// You should have received a copy of the GNU General Public License
// along with this program. If not, see .
+#include "gui/menu.hpp"
+
#include
#include "control/joystickkeyboardcontroller.hpp"
-#include "gui/menu.hpp"
-#include "supertux/main.hpp"
+#include "gui/menu_item.hpp"
+#include "gui/menu_manager.hpp"
+#include "gui/mousecursor.hpp"
+#include "supertux/globals.hpp"
#include "supertux/mainloop.hpp"
#include "supertux/resources.hpp"
#include "supertux/timer.hpp"
#include "util/gettext.hpp"
#include "video/drawing_context.hpp"
+#include "video/font.hpp"
static const float MENU_REPEAT_INITIAL = 0.4f;
static const float MENU_REPEAT_RATE = 0.1f;
-static const float FLICK_CURSOR_TIME = 0.5f;
extern SDL_Surface* g_screen;
-std::vector