]> git.jsancho.org Git - lugaru.git/blobdiff - Source/GameInitDispose.cpp
Sorted all source files in folders
[lugaru.git] / Source / GameInitDispose.cpp
index 12515eb7cab8442f660cb0e8cb497a1c0d4ca9b3..036f80f9a4fc737d8c4d8ed2085958b8318dc2e6 100644 (file)
@@ -19,11 +19,11 @@ along with Lugaru.  If not, see <http://www.gnu.org/licenses/>.
 */
 
 #include "Game.h"
-#include "openal_wrapper.h"
 #include "Animation/Animation.h"
-#include "Texture.h"
+#include "Audio/openal_wrapper.h"
+#include "Graphic/Texture.h"
+#include "Menu/Menu.h"
 #include "Utils/Folders.h"
-#include "Menu.h"
 
 extern float screenwidth, screenheight;
 extern float viewdistance;
@@ -57,7 +57,6 @@ extern float flashamount, flashr, flashg, flashb;
 extern int flashdelay;
 extern int whichjointstartarray[26];
 extern int whichjointendarray[26];
-extern int difficulty;
 extern float slomospeed;
 extern bool gamestarted;
 
@@ -79,7 +78,7 @@ void Dispose()
     LOGFUNC;
 
     if (Game::endgame == 2) {
-        Account::active->endGame();
+        Account::active().endGame();
         Game::endgame = 0;
     }