summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/chess.h1
-rw-r--r--include/proto.h2
2 files changed, 3 insertions, 0 deletions
diff --git a/include/chess.h b/include/chess.h
index 8a151ace..904db6cf 100644
--- a/include/chess.h
+++ b/include/chess.h
@@ -175,6 +175,7 @@ void ChessPlay(ChessInfo* info);
int ChessStartGame(char func_char, int sig, const char* title);
int ChessWatchGame(void (*play)(int, ChessGameMode),
int game, const char* title);
+int ChessReplayGame(const char* fname);
ChessInfo* NewChessInfo(const ChessActions* actions,
const ChessConstants* constants, int sock, ChessGameMode mode);
diff --git a/include/proto.h b/include/proto.h
index 7a33212b..4c0003d2 100644
--- a/include/proto.h
+++ b/include/proto.h
@@ -197,6 +197,7 @@ void chc(int s, ChessGameMode mode);
int chc_main(void);
int chc_personal(void);
int chc_watch(void);
+ChessInfo* chc_replay(FILE* fp);
/* chicken */
void ch_buyitem(int money, const char *picture, int *item, int haveticket);
@@ -297,6 +298,7 @@ void gomoku(int s, ChessGameMode mode);
int gomoku_main(void);
int gomoku_personal(void);
int gomoku_watch(void);
+ChessInfo* gomoku_replay(FILE* fp);
/* guess */
int guess_main(void);