move model fix

This commit is contained in:
Odweta
2026-02-18 09:33:56 +01:00
parent c9914b73a7
commit e9b74eee16
+3 -3
View File
@@ -98,18 +98,18 @@ typedef struct {
}, 4},\ }, 4},\
{ROOK, (relative_move_t[4]){\ {ROOK, (relative_move_t[4]){\
{0, -1}, {0, +1}, {-1, 0}, {+1, 0}\ {0, -1}, {0, +1}, {-1, 0}, {+1, 0}\
}, 14},\ }, 4},\
{KNIGHT, (relative_move_t)[8], {\ {KNIGHT, (relative_move_t)[8], {\
{-1, -2}, {+1, -2}, {-2, -1}, {-2, +1},\ {-1, -2}, {+1, -2}, {-2, -1}, {-2, +1},\
{+2, -1}, {+2, +1}, {-1, -2}, {-1, +2}\ {+2, -1}, {+2, +1}, {-1, -2}, {-1, +2}\
}, 8},\ }, 8},\
{BISHOP, (relative_move_t[4]){\ {BISHOP, (relative_move_t[4]){\
{-1, -1}, {-1, +1}, {+1, -1}, {+1, +1}\ {-1, -1}, {-1, +1}, {+1, -1}, {+1, +1}\
}, 14},\ }, 4},\
{QUEEN, (relative_move_t[8]){\ {QUEEN, (relative_move_t[8]){\
{0, -1}, {0, +1}, {-1, 0}, {+1, 0},\ {0, -1}, {0, +1}, {-1, 0}, {+1, 0},\
{-1, -1}, {-1, +1}, {+1, -1}, {+1, +1}\ {-1, -1}, {-1, +1}, {+1, -1}, {+1, +1}\
}, 27}\ }, 8}\
}\ }\
typedef enum { typedef enum {