summaryrefslogtreecommitdiffstats
path: root/include/proto.h
diff options
context:
space:
mode:
authorvictor <victor@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2003-09-09 13:23:31 +0800
committervictor <victor@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2003-09-09 13:23:31 +0800
commite0f54c5ba43c5e4bc15698f5ffb4f222dc1d5e46 (patch)
tree4b64f73bf1ae84ed25d59743ce15d10a7848e408 /include/proto.h
parentb61b430b4dfbcddbe97b0fb432a9888e509ad76d (diff)
downloadpttbbs-e0f54c5ba43c5e4bc15698f5ffb4f222dc1d5e46.tar
pttbbs-e0f54c5ba43c5e4bc15698f5ffb4f222dc1d5e46.tar.gz
pttbbs-e0f54c5ba43c5e4bc15698f5ffb4f222dc1d5e46.tar.bz2
pttbbs-e0f54c5ba43c5e4bc15698f5ffb4f222dc1d5e46.tar.lz
pttbbs-e0f54c5ba43c5e4bc15698f5ffb4f222dc1d5e46.tar.xz
pttbbs-e0f54c5ba43c5e4bc15698f5ffb4f222dc1d5e46.tar.zst
pttbbs-e0f54c5ba43c5e4bc15698f5ffb4f222dc1d5e46.zip
merge chc from my branch
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1170 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'include/proto.h')
-rw-r--r--include/proto.h21
1 files changed, 4 insertions, 17 deletions
diff --git a/include/proto.h b/include/proto.h
index bbb603df..5c287dd1 100644
--- a/include/proto.h
+++ b/include/proto.h
@@ -164,24 +164,11 @@ int card_99();
/* chat */
int t_chat();
-/* chc_draw */
-void chc_drawline(board_t board, chcusr_t *user1, chcusr_t *user2, int line);
-void chc_movecur(int r, int c);
-void chc_redraw(chcusr_t *user1, chcusr_t *user2, board_t board);
-
-/* chc_net */
-void chc_sendmove(int s);
-int chc_recvmove(int s);
-
-/* chc_play */
+/* chc */
void chc(int s, int mode);
-
-/* chc_rule */
-void chc_movechess(board_t board);
-int chc_canmove(board_t board, rc_t from, rc_t to);
-int chc_iskfk(board_t board);
-int chc_ischeck(board_t board, int turn);
-void chc_init_board(board_t board);
+int chc_main(void);
+int chc_personal(void);
+int chc_watch(void);
/* chicken */
int show_file(char *filename, int y, int lines, int mode);