From 64dec753e7a6594a8b68f7978773e80353d8e869 Mon Sep 17 00:00:00 2001 From: Loic Guegan Date: Fri, 25 Feb 2022 11:13:35 +0100 Subject: Enable PGN save (slow for now so do not use it). --- src/game_tab/Game.hpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/game_tab/Game.hpp') 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 tags; HalfMove *moves; HalfMove *current; @@ -35,4 +36,5 @@ public: void SetCurrent(HalfMove *m); std::vector ListTags(); std::string GetPGN(); + void SetResult(std::string result); }; \ No newline at end of file -- cgit v1.2.3