diff -r 0cedda2544da -r 02c509a44e98 src/chess/rules.h --- a/src/chess/rules.h Wed Jun 11 15:38:01 2014 +0200 +++ b/src/chess/rules.h Wed Jun 11 16:54:20 2014 +0200 @@ -90,6 +90,7 @@ uint8_t capture; struct movetimeval timestamp; struct movetimeval movetime; + char string[8]; } Move; typedef struct MoveList MoveList; @@ -140,6 +141,10 @@ #define fileidx_s(c) (isfile(c)?fileidx(c):POS_UNSPECIFIED) #define rowidx_s(c) (isrow(c)?rowidx(c):POS_UNSPECIFIED) +/** + * Cleans up a game state and frees the memory for the movement list. + * @param gamestate the game state to clean up + */ void gamestate_cleanup(GameState *gamestate); /**