summaryrefslogtreecommitdiffstats
path: root/mbbsd
diff options
context:
space:
mode:
authorvictor <victor@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2003-09-23 23:05:24 +0800
committervictor <victor@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2003-09-23 23:05:24 +0800
commitab58838e7a36240fe3f400ad6e44436b8c9c1042 (patch)
tree1091257563de76028ef7ecd5502d4d094426fb7f /mbbsd
parent0cfe7b8112c995d82069bff7e65e0befc034aa2c (diff)
downloadpttbbs-ab58838e7a36240fe3f400ad6e44436b8c9c1042.tar
pttbbs-ab58838e7a36240fe3f400ad6e44436b8c9c1042.tar.gz
pttbbs-ab58838e7a36240fe3f400ad6e44436b8c9c1042.tar.bz2
pttbbs-ab58838e7a36240fe3f400ad6e44436b8c9c1042.tar.lz
pttbbs-ab58838e7a36240fe3f400ad6e44436b8c9c1042.tar.xz
pttbbs-ab58838e7a36240fe3f400ad6e44436b8c9c1042.tar.zst
pttbbs-ab58838e7a36240fe3f400ad6e44436b8c9c1042.zip
same as last commit
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1197 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd')
-rw-r--r--mbbsd/menu.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/mbbsd/menu.c b/mbbsd/menu.c
index 1e42410c..b27abaf6 100644
--- a/mbbsd/menu.c
+++ b/mbbsd/menu.c
@@ -473,6 +473,7 @@ static int m_jcee() {
static int forsearch();
static int playground();
+static int chessroom();
/* Ptt Play menu */
static commands_t playlist[] = {
@@ -491,9 +492,22 @@ static commands_t playlist[] = {
{chicken_main,PERM_LOGINOK, "CChicken "
"【\033[1;34m Ptt養雞場 \033[m】"},
{playground,PERM_LOGINOK, "AAmusement 【\033[1;33m Ptt遊樂場 \033[m】"},
+ {chessroom, PERM_LOGINOK, "BChineseChess 【\033[1;34m Ptt棋院\033[m】"},
{NULL, 0, NULL}
};
+static commands_t chesslist[] = {
+ {chc_main, PERM_LOGINOK, "1ChessFight 【\033[1;33m 邀 局 \033[m】"},
+ {chc_personal, PERM_LOGINOK, "2SelfPlay 【\033[1;34m 打 譜 \033[m】"},
+ {chc_watch, PERM_LOGINOK, "3ChessWatch 【\033[1;35m 觀 棋 \033[m】"},
+ {NULL, 0, NULL}
+};
+
+static int chessroom() {
+ domenu(CHC, "Ptt棋院", '1', chesslist);
+ return 0;
+}
+
static commands_t plist[] = {
/* {p_ticket_main, PERM_LOGINOK,"00Pre 【 總統機 】"},