#include "Animation/Animation.h"
#include "Texture.h"
#include "Utils/Folders.h"
+#include "Menu.h"
extern float screenwidth, screenheight;
extern float viewdistance;
LOGFUNC;
if (Game::endgame == 2) {
- Game::accountactive->endGame();
+ Account::active().endGame();
Game::endgame = 0;
}
- Account::saveFile(Folders::getUserDataPath()+"/users", Game::accountactive);
+ Account::saveFile(Folders::getUserDataPath()+"/users");
//textures.clear();
numchallengelevels = 14;
- accountactive = Account::loadFile(Folders::getUserDataPath()+"/users");
+ Account::loadFile(Folders::getUserDataPath()+"/users");
whichjointstartarray[0] = righthip;
whichjointendarray[0] = rightfoot;
newscreenwidth = screenwidth;
newscreenheight = screenheight;
- LoadMenu();
+ Menu::Load();
Animation::loadAll();
}