aboutsummaryrefslogtreecommitdiff
path: root/src/game_tab/Game.hpp
diff options
context:
space:
mode:
authorLoic Guegan <manzerbredes@mailbox.org>2023-01-01 19:05:15 +0100
committerLoic Guegan <manzerbredes@mailbox.org>2023-01-01 19:05:15 +0100
commitbbf3282839eb9efe57b1451763ef0859198c33af (patch)
tree38a388bb23d9cf7dbc2b768c0613557a66419cda /src/game_tab/Game.hpp
parent4e85af5e08b86fb32d6698836f3a227bc6f086b3 (diff)
Update Game tab
Diffstat (limited to 'src/game_tab/Game.hpp')
-rw-r--r--src/game_tab/Game.hpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/game_tab/Game.hpp b/src/game_tab/Game.hpp
index 25284ee..9398056 100644
--- a/src/game_tab/Game.hpp
+++ b/src/game_tab/Game.hpp
@@ -5,6 +5,8 @@
#include "ochess.hpp"
#include <unordered_map>
+#define UNPACK_ABSOLUTE_MOVE(MOVE,SRC,DST) {(SRC)=(MOVE).substr(0,2);(DST)=(MOVE).substr(2,2);}
+
class Game {
std::string board;
std::string initial_fen;