diff options
author | scw <scw@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2005-09-11 01:30:22 +0800 |
---|---|---|
committer | scw <scw@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2005-09-11 01:30:22 +0800 |
commit | f1c53390c4817e5f9552588f298808764ef1bc65 (patch) | |
tree | 6410c5100306d7aa816f796ad0f2865a76e64e8b /mbbsd/menu.c | |
parent | 3a13adbea9793d58c961c3fc869fd1f79fdedad3 (diff) | |
download | pttbbs-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 'mbbsd/menu.c')
-rw-r--r-- | mbbsd/menu.c | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/mbbsd/menu.c b/mbbsd/menu.c index 3d5bd4ac..98ce0f4e 100644 --- a/mbbsd/menu.c +++ b/mbbsd/menu.c @@ -599,13 +599,15 @@ static const commands_t playlist[] = { }; static const commands_t chesslist[] = { - {chc_main, PERM_LOGINOK, "11CChessFight 【" ANSI_COLOR(1;33) " 象棋邀局 " ANSI_RESET "】"}, - {chc_personal, PERM_LOGINOK, "22CChessSelf 【" ANSI_COLOR(1;34) " 象棋打譜 " ANSI_RESET "】"}, - {chc_watch, PERM_LOGINOK, "33CChessWatch 【" ANSI_COLOR(1;35) " 象棋觀棋 " ANSI_RESET "】"}, - {gomoku_main, PERM_LOGINOK, "44GomokuFight 【" ANSI_COLOR(1;33) "五子棋邀局" ANSI_RESET "】"}, - {gomoku_personal, PERM_LOGINOK, "55GomokuSelf 【" ANSI_COLOR(1;34) "五子棋打譜" ANSI_RESET "】"}, - {gomoku_watch, PERM_LOGINOK, "66GomokuWatch 【" ANSI_COLOR(1;35) "五子棋觀棋" ANSI_RESET "】"}, - {GoBot, PERM_LOGINOK, "77GoBot 【" ANSI_COLOR(1;36) " 圍棋打譜 " ANSI_RESET "】"}, + {chc_main, PERM_LOGINOK, "11CChessFight 【" ANSI_COLOR(1;33) " 象棋邀局 " ANSI_RESET "】"}, + {chc_personal, PERM_LOGINOK, "22CChessSelf 【" ANSI_COLOR(1;34) " 象棋打譜 " ANSI_RESET "】"}, + {chc_watch, PERM_LOGINOK, "33CChessWatch 【" ANSI_COLOR(1;35) " 象棋觀棋 " ANSI_RESET "】"}, + {gomoku_main, PERM_LOGINOK, "44GomokuFight 【" ANSI_COLOR(1;33) "五子棋邀局" ANSI_RESET "】"}, + {gomoku_personal, PERM_LOGINOK, "55GomokuSelf 【" ANSI_COLOR(1;34) "五子棋打譜" ANSI_RESET "】"}, + {gomoku_watch, PERM_LOGINOK, "66GomokuWatch 【" ANSI_COLOR(1;35) "五子棋觀棋" ANSI_RESET "】"}, + {gochess_main, PERM_LOGINOK, "77GoChessFight 【" ANSI_COLOR(1;33) " 圍棋邀局 " ANSI_RESET "】"}, + {gochess_personal, PERM_LOGINOK, "88GoChessSelf 【" ANSI_COLOR(1;34) " 圍棋打譜 " ANSI_RESET "】"}, + {gochess_watch, PERM_LOGINOK, "99GoChessWatch 【" ANSI_COLOR(1;35) " 圍棋觀棋 " ANSI_RESET "】"}, {NULL, 0, NULL} }; |