From bf0a8ae223c83904ae128a98213555d0ce93059a Mon Sep 17 00:00:00 2001 From: Markus Uhlin Date: Sun, 24 Dec 2023 00:51:04 +0100 Subject: Reformatted struct --- FICS/board.h | 26 ++++++++++++++------------ 1 file changed, 14 insertions(+), 12 deletions(-) (limited to 'FICS/board.h') diff --git a/FICS/board.h b/FICS/board.h index f170d39..ef5c238 100644 --- a/FICS/board.h +++ b/FICS/board.h @@ -97,18 +97,20 @@ typedef struct _game_state_t { #define ALG_DROP -2 typedef struct _move_t { - int color; - int fromFile, fromRank; - int toFile, toRank; - int pieceCaptured; - int piecePromotionTo; - int enPassant; /* 0 = no, 1=higher -1= lower */ - int doublePawn; /* Only used for board display */ - char moveString[8]; - char algString[8]; - unsigned char FENpos[74]; /* This replaces the boardList. */ - unsigned atTime; - unsigned tookTime; + int color; + int fromFile, fromRank; + int toFile, toRank; + int pieceCaptured; + int piecePromotionTo; + int enPassant; // 0 = No, 1 = Higher, -1 = Lower + int doublePawn; // Only used for board display + + char moveString[8]; + char algString[8]; + + unsigned char FENpos[74]; + unsigned int atTime; + unsigned int tookTime; } move_t; extern char *wpstring[]; -- cgit v1.2.3