summaryrefslogtreecommitdiffstats
path: root/include/proto.h
diff options
context:
space:
mode:
authorscw <scw@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2005-09-11 01:30:22 +0800
committerscw <scw@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2005-09-11 01:30:22 +0800
commitf1c53390c4817e5f9552588f298808764ef1bc65 (patch)
tree6410c5100306d7aa816f796ad0f2865a76e64e8b /include/proto.h
parent3a13adbea9793d58c961c3fc869fd1f79fdedad3 (diff)
downloadpttbbs-f1c53390c4817e5f9552588f298808764ef1bc65.tar
pttbbs-f1c53390c4817e5f9552588f298808764ef1bc65.tar.gz
pttbbs-f1c53390c4817e5f9552588f298808764ef1bc65.tar.bz2
pttbbs-f1c53390c4817e5f9552588f298808764ef1bc65.tar.lz
pttbbs-f1c53390c4817e5f9552588f298808764ef1bc65.tar.xz
pttbbs-f1c53390c4817e5f9552588f298808764ef1bc65.tar.zst
pttbbs-f1c53390c4817e5f9552588f298808764ef1bc65.zip
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
Diffstat (limited to 'include/proto.h')
-rw-r--r--include/proto.h7
1 files changed, 5 insertions, 2 deletions
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);