summaryrefslogtreecommitdiffstats
path: root/include/proto.h
diff options
context:
space:
mode:
authorscw <scw@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2005-08-28 22:36:54 +0800
committerscw <scw@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2005-08-28 22:36:54 +0800
commit544b6475f029f5396bea9ebca0994111e74d1200 (patch)
treea118f5effae4482def8d881794bf7ea7f676c381 /include/proto.h
parentbd3cb69722802ca63edbc0d60a8e07f19ab31359 (diff)
downloadpttbbs-544b6475f029f5396bea9ebca0994111e74d1200.tar
pttbbs-544b6475f029f5396bea9ebca0994111e74d1200.tar.gz
pttbbs-544b6475f029f5396bea9ebca0994111e74d1200.tar.bz2
pttbbs-544b6475f029f5396bea9ebca0994111e74d1200.tar.lz
pttbbs-544b6475f029f5396bea9ebca0994111e74d1200.tar.xz
pttbbs-544b6475f029f5396bea9ebca0994111e74d1200.tar.zst
pttbbs-544b6475f029f5396bea9ebca0994111e74d1200.zip
Chess functions:
* chc machine readable log - http://www.elephantbase.net/protocol/cchess_pgn.htm - http://www.elephantbase.net/protocol/cchess_move.htm * chc and gomoku replay work * key binding 'z' in pmore() for chess replay * avoid crash when watching (the watchee's mateid is empty) git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3105 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'include/proto.h')
-rw-r--r--include/proto.h2
1 files changed, 2 insertions, 0 deletions
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);