diff options
| author | Loic Guegan <manzerbredes@mailbox.org> | 2022-02-25 11:13:35 +0100 |
|---|---|---|
| committer | Loic Guegan <manzerbredes@mailbox.org> | 2022-02-25 11:13:35 +0100 |
| commit | 64dec753e7a6594a8b68f7978773e80353d8e869 (patch) | |
| tree | ce8b862fde15c51b8b981f1d628f0d43cc2bfdc7 /src/game_tab/Game.hpp | |
| parent | 6f866f55ee39c5f92c600ab33e787f628b00c1a4 (diff) | |
Enable PGN save (slow for now so do not use it).
Diffstat (limited to 'src/game_tab/Game.hpp')
| -rw-r--r-- | src/game_tab/Game.hpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/game_tab/Game.hpp b/src/game_tab/Game.hpp index 7cad269..348bff9 100644 --- a/src/game_tab/Game.hpp +++ b/src/game_tab/Game.hpp @@ -8,6 +8,7 @@ class Game { std::string board; std::string initial_fen; + std::string result; std::unordered_map<std::string, std::string> tags; HalfMove *moves; HalfMove *current; @@ -35,4 +36,5 @@ public: void SetCurrent(HalfMove *m); std::vector<std::string> ListTags(); std::string GetPGN(); + void SetResult(std::string result); };
\ No newline at end of file |
