aboutsummaryrefslogtreecommitdiff
path: root/src/CGEHalfMove.hpp
diff options
context:
space:
mode:
authorLoic Guegan <manzerbredes@mailbox.org>2023-01-19 13:06:36 +0100
committerLoic Guegan <manzerbredes@mailbox.org>2023-01-19 13:06:36 +0100
commita84b210ca397194ad360175cf89451f319121e6c (patch)
treef44e9396fd5bf0abfd731d5bf897811e95384c32 /src/CGEHalfMove.hpp
parent5e18d43a6ba4fd378178418de6b2ca7a67d64c21 (diff)
Integrate CMI
Diffstat (limited to 'src/CGEHalfMove.hpp')
-rw-r--r--src/CGEHalfMove.hpp41
1 files changed, 0 insertions, 41 deletions
diff --git a/src/CGEHalfMove.hpp b/src/CGEHalfMove.hpp
deleted file mode 100644
index 681aee1..0000000
--- a/src/CGEHalfMove.hpp
+++ /dev/null
@@ -1,41 +0,0 @@
-#pragma once
-
-#include <string>
-#include <vector>
-
-namespace cgeditor {
-
-/**
- * @brief Move (mainlines and variations) displayed in the editor
- *
- */
-class CGEHalfMove {
-
-public:
- CGEHalfMove();
- CGEHalfMove(CGEHalfMove *parent);
- CGEHalfMove(const std::string &move);
-
- /// @brief CUrrent move number
- std::uint16_t Number;
- /// @brief Current move value
- std::string move;
- /// @brief Current NAG
- std::string nag;
- /// @brief Comment linked to the move
- std::string comment;
-
- CGEHalfMove *MainLine;
- CGEHalfMove *Parent;
- bool IsBlack;
- /// @brief Says if variations of that move must be drawn
- bool Folded = false;
- /// @brief Says if this move must be drawn
- bool Hide = false;
- /// @brief Variations of the move
- std::vector<CGEHalfMove *> variations;
-
- /// @brief Remove a move from the MainLine and/or variations
- void RemoveChild(CGEHalfMove *m);
-};
-} // namespace cgeditor \ No newline at end of file