Enable game saving

This commit is contained in:
Loic Guegan 2022-12-30 15:09:24 +01:00
parent eec973bc05
commit 27ac369fb6
4 changed files with 28 additions and 3 deletions

View file

@ -43,4 +43,5 @@ std::shared_ptr<GameBase> OpenDatabase(const std::string &dbpath, bool createIfN
* @param id
* @return std::shared_ptr<Game>
*/
std::shared_ptr<Game> OpenGameX(const std::string &dbpath, long id);
std::shared_ptr<Game> OpenGameX(const std::string &dbpath, long id);
void SaveGame(const std::string &dbpath, std::shared_ptr<Game> g);