aboutsummaryrefslogtreecommitdiffstats
path: root/FICS
diff options
context:
space:
mode:
authorMarkus Uhlin <markus@nifty-networks.net>2023-12-24 00:51:04 +0100
committerMarkus Uhlin <markus@nifty-networks.net>2023-12-24 00:51:04 +0100
commitbf0a8ae223c83904ae128a98213555d0ce93059a (patch)
tree643c1144ac9d6f42d45e35d8febf44d2bac16dca /FICS
parenta90d519fee2e51c087fda2a0e10f66a28377b23d (diff)
Reformatted struct
Diffstat (limited to 'FICS')
-rw-r--r--FICS/board.h26
1 files changed, 14 insertions, 12 deletions
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[];