summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorRaúl Benencia <rul@kalgan.cc>2015-03-31 15:14:06 -0300
committerRaúl Benencia <rul@kalgan.cc>2015-03-31 15:14:06 -0300
commitb091b88da33fc0c02f87ee79f2235bd3eac18f74 (patch)
tree6fd9c3a65e44db6da9309595597e615ff648ce0c /include
parenta50ddfb9a0e9dd344354d5da2afe08adf4375c77 (diff)
add move type
Diffstat (limited to 'include')
-rw-r--r--include/types.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/types.h b/include/types.h
index 07e63d3..7489358 100644
--- a/include/types.h
+++ b/include/types.h
@@ -12,6 +12,11 @@ typedef struct {
} Coord;
typedef struct {
+ Coord orig;
+ Coord dest;
+} Move;
+
+typedef struct {
Color color;
PieceType type;
} Piece;
nihil fit ex nihilo