X-Git-Url: https://git.jsancho.org/?a=blobdiff_plain;f=Source%2FAccount.h;h=f68c52b484e1663437e4e8f0daf1ab32f7b81b73;hb=3de67c0db8c3c74f5fb487579936a07770d253a1;hp=f5b91f1e869cbc2d43566b4d5e7f30c21d6ca54c;hpb=3455f3a84eef6a73f39a4267da445c7998c3515e;p=lugaru.git diff --git a/Source/Account.h b/Source/Account.h index f5b91f1..f68c52b 100644 --- a/Source/Account.h +++ b/Source/Account.h @@ -48,9 +48,11 @@ public: static Account* add(const std::string& name); static Account* get(int i); static Account* loadFile(std::string filename); - static void saveFile(std::string filename, Account* accountactive); + static void saveFile(std::string filename); static int indice(Account* a); + static Account* active; + void endGame(); void winCampaignLevel(int choice, float score, float time); void winLevel(int level, float score, float time);