X-Git-Url: https://git.jsancho.org/?a=blobdiff_plain;ds=sidebyside;f=Source%2FMenu.cpp;h=f1fb94f5021e904476be8a4e129e25656086c046;hb=bdabd9d4a53be2fa9d90f900f7e5949d2f0ef75c;hp=affdf9a5c3b19b7d29da1b9ffebd90c1e50bc324;hpb=b757d628d06570c93feb2f485b7a9f9b8134ca25;p=lugaru.git
diff --git a/Source/Menu.cpp b/Source/Menu.cpp
index affdf9a..f1fb94f 100644
--- a/Source/Menu.cpp
+++ b/Source/Menu.cpp
@@ -1,186 +1,220 @@
+/*
+Copyright (C) 2003, 2010 - Wolfire Games
+Copyright (C) 2010-2016 - Lugaru contributors (see AUTHORS file)
+
+This file is part of Lugaru.
+
+Lugaru is free software; you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation; either version 2 of the License, or
+(at your option) any later version.
+
+Lugaru is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with Lugaru. If not, see .
+*/
+
#include
#include
+#include
#include "gamegl.h"
#include "Menu.h"
-using namespace Menu;
+#include "Settings.h"
+#include "Input.h"
+#include "Campaign.h"
+
+// Should not be needed, Menu should call methods from other classes to launch maps and challenges and so on
+#include "Awards.h"
+#include "openal_wrapper.h"
+
+using namespace Game;
extern float multiplier;
+extern std::set> resolutions;
+extern int mainmenu;
+extern std::vector campaignlevels;
+extern float musicvolume[4];
+extern float oldmusicvolume[4];
+extern bool stillloading;
+extern bool visibleloading;
+extern int whichchoice;
+extern int leveltheme;
+
+extern void toggleFullscreen();
+
+int entername = 0;
+
+std::vector