From f1c53390c4817e5f9552588f298808764ef1bc65 Mon Sep 17 00:00:00 2001 From: scw Date: Sat, 10 Sep 2005 17:30:22 +0000 Subject: GO convertion to chess framework * versus, personal and watching all work chess.c framework update * "pass" and "tie request" are distinguished * chess-specific key binding * post-game processing !!!NOTE!!! Chess protocals are NOT backward compatible RESTART WHOLE system to ensure correctness git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3153 63ad8ddf-47c3-0310-b6dd-a9e9d9715204 --- include/proto.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'include/proto.h') diff --git a/include/proto.h b/include/proto.h index 38bd407c..b34cfab1 100644 --- a/include/proto.h +++ b/include/proto.h @@ -290,8 +290,11 @@ int openticket(int bid); int ticket(int bid); /* go */ -int gochess(int fd); -int GoBot(void); +void gochess(int s, ChessGameMode mode); +int gochess_main(void); +int gochess_personal(void); +int gochess_watch(void); +ChessInfo* gochess_replay(FILE* fp); /* gomo */ void gomoku(int s, ChessGameMode mode); -- cgit v1.2.3