diff options
| author | Loic Guegan <manzerbredes@mailbox.org> | 2023-01-01 19:05:15 +0100 |
|---|---|---|
| committer | Loic Guegan <manzerbredes@mailbox.org> | 2023-01-01 19:05:15 +0100 |
| commit | bbf3282839eb9efe57b1451763ef0859198c33af (patch) | |
| tree | 38a388bb23d9cf7dbc2b768c0613557a66419cda /src/game_tab/Game.hpp | |
| parent | 4e85af5e08b86fb32d6698836f3a227bc6f086b3 (diff) | |
Update Game tab
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 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; |
