From 4d5958f78c5741031f552b26cd0cb1da5fdab18d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ra=C3=BAl=20Benencia?= Date: Sat, 28 Mar 2015 12:15:30 -0300 Subject: add a Coord type and init functions --- include/types.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'include/types.h') diff --git a/include/types.h b/include/types.h index 7618916..07e63d3 100644 --- a/include/types.h +++ b/include/types.h @@ -6,6 +6,11 @@ typedef enum {WHITE, BLACK} Color; typedef enum {PAWN, ROCK, KNIGHT, BISHOP, QUEEN, KING} PieceType; +typedef struct { + char row; + char col; +} Coord; + typedef struct { Color color; PieceType type; -- cgit v1.2.3