*/
#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;
extern int flashdelay;
extern int whichjointstartarray[26];
extern int whichjointendarray[26];
-extern int difficulty;
extern float slomospeed;
extern bool gamestarted;
LOGFUNC;
if (Game::endgame == 2) {
- Account::active->endGame();
+ Account::active().endGame();
Game::endgame = 0;
}
numchallengelevels = 14;
- Account::active = Account::loadFile(Folders::getUserDataPath()+"/users");
+ Account::loadFile(Folders::getUserDataPath()+"/users");
whichjointstartarray[0] = righthip;
whichjointendarray[0] = rightfoot;