aboutsummaryrefslogtreecommitdiff
path: root/src/game_tab/Game.hpp
diff options
context:
space:
mode:
authorLoic Guegan <manzerbredes@mailbox.org>2023-01-16 14:55:48 +0100
committerLoic Guegan <manzerbredes@mailbox.org>2023-01-16 14:55:48 +0100
commit3b11b9d4f3eee5faa656d7ee61077e80726bdc36 (patch)
tree7817c036843c18eac0012298ec7808d795411f58 /src/game_tab/Game.hpp
parentb7667d1d40045ecd840b9b192c2740e5f83e7eba (diff)
Improve openings database code
Diffstat (limited to 'src/game_tab/Game.hpp')
-rw-r--r--src/game_tab/Game.hpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/game_tab/Game.hpp b/src/game_tab/Game.hpp
index 6f9bbb7..d6e1582 100644
--- a/src/game_tab/Game.hpp
+++ b/src/game_tab/Game.hpp
@@ -35,6 +35,7 @@ public:
HalfMove *GetMoves();
std::string GetFen();
std::string GetResult();
+ void GetOpening(std::string &name,std::string &eco);
/// @brief Play the given absolute move
bool Play(std::string move,char promotion='q');
bool IsBlackToPlay();