diff options
author | victor <victor@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2003-09-23 23:05:24 +0800 |
---|---|---|
committer | victor <victor@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2003-09-23 23:05:24 +0800 |
commit | a7ee42a75940158f2ddf456c1b721caacdf40ea0 (patch) | |
tree | 7d942025fcc5aef7733fb68ac6b82f004cc08101 | |
parent | 026c8ace12b7c7db676e91cba0062387e6d30c3b (diff) | |
download | pttbbs-a7ee42a75940158f2ddf456c1b721caacdf40ea0.tar pttbbs-a7ee42a75940158f2ddf456c1b721caacdf40ea0.tar.gz pttbbs-a7ee42a75940158f2ddf456c1b721caacdf40ea0.tar.bz2 pttbbs-a7ee42a75940158f2ddf456c1b721caacdf40ea0.tar.lz pttbbs-a7ee42a75940158f2ddf456c1b721caacdf40ea0.tar.xz pttbbs-a7ee42a75940158f2ddf456c1b721caacdf40ea0.tar.zst pttbbs-a7ee42a75940158f2ddf456c1b721caacdf40ea0.zip |
same as last commit
git-svn-id: http://opensvn.csie.org/pttbbs/trunk@1197 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rw-r--r-- | pttbbs/mbbsd/menu.c | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/pttbbs/mbbsd/menu.c b/pttbbs/mbbsd/menu.c index 1e42410c..b27abaf6 100644 --- a/pttbbs/mbbsd/menu.c +++ b/pttbbs/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 【 總統機 】"}, |