mirror of
https://gitlab.com/manzerbredes/ochess.git
synced 2025-04-19 04:09:41 +00:00
Enable PGN save (slow for now so do not use it).
This commit is contained in:
parent
6f866f55ee
commit
64dec753e7
11 changed files with 109 additions and 30 deletions
|
@ -1,10 +1,16 @@
|
|||
#pragma once
|
||||
#include "game_tab/Game.hpp"
|
||||
#include <algorithm>
|
||||
#include <vector>
|
||||
|
||||
class GameBase {
|
||||
|
||||
public:
|
||||
virtual Game *GetGame(std::uint32_t id) = 0;
|
||||
virtual void Save(std::vector<std::uint32_t> to_ignore,
|
||||
std::vector<GameBase *> new_games_bases,
|
||||
std::vector<Game *> new_games) = 0;
|
||||
virtual Game *GetCurrentGame() = 0;
|
||||
virtual bool NextGame() = 0;
|
||||
virtual std::string GetTag(std::string tag) = 0;
|
||||
virtual void Reset() = 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue