diff options
author | piaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2008-04-15 20:28:24 +0800 |
---|---|---|
committer | piaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2008-04-15 20:28:24 +0800 |
commit | 05edecab9694e409a989d29de84eb15b44c0bd9a (patch) | |
tree | d0f445a3bbdd9931c8cbb61edaa965d2f5b0ce88 /mbbsd/chess.c | |
parent | 07bf44cf780e56e86488fee37875ce76851b5627 (diff) | |
download | pttbbs-05edecab9694e409a989d29de84eb15b44c0bd9a.tar pttbbs-05edecab9694e409a989d29de84eb15b44c0bd9a.tar.gz pttbbs-05edecab9694e409a989d29de84eb15b44c0bd9a.tar.bz2 pttbbs-05edecab9694e409a989d29de84eb15b44c0bd9a.tar.lz pttbbs-05edecab9694e409a989d29de84eb15b44c0bd9a.tar.xz pttbbs-05edecab9694e409a989d29de84eb15b44c0bd9a.tar.zst pttbbs-05edecab9694e409a989d29de84eb15b44c0bd9a.zip |
- (internal) change API names to visio format: stand_title -> vs_hdr.
- mouts -> (curses style) mvouts
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4167 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/chess.c')
-rw-r--r-- | mbbsd/chess.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/mbbsd/chess.c b/mbbsd/chess.c index 081b812f..adf8d08c 100644 --- a/mbbsd/chess.c +++ b/mbbsd/chess.c @@ -170,7 +170,7 @@ ChessDrawHelpLine(const ChessInfo* info) ANSI_RESET, }; - mouts(b_lines, 0, HelpStr[info->mode]); + mvouts(b_lines, 0, HelpStr[info->mode]); info->actions->drawline(info, b_lines); } @@ -1149,7 +1149,7 @@ ChessSearchUser(int sig, const char* title) char uident[16]; userinfo_t *uin; - stand_title(title); + vs_hdr(title); CompleteOnlineUser(msg_uid, uident); if (uident[0] == '\0') return NULL; @@ -1175,7 +1175,7 @@ ChessStartGame(char func_char, int sig, const char* title) strlcpy(uin->mateid, currutmp->userid, sizeof(uin->mateid)); strlcpy(currutmp->mateid, uin->userid, sizeof(currutmp->mateid)); - stand_title(title); + vs_hdr(title); buf[0] = 0; getdata(2, 0, "使用傳統模式 (T), 限時限步模式 (L) 或是 讀秒模式 (C)? (T/l/c)", buf, 3, DOECHO); @@ -1621,9 +1621,9 @@ ChessShowRequest(void) { /* XXX */ if (!_current_time_limit) - mouts(10, 5, "使用傳統計時方式, 單步限時五分鐘"); + mvouts(10, 5, "使用傳統計時方式, 單步限時五分鐘"); else if (_current_time_limit->time_mode == CHESS_TIMEMODE_MULTIHAND) { - mouts(10, 5, "使用限時限步規則:"); + mvouts(10, 5, "使用限時限步規則:"); move(12, 8); prints("局時 (自由時間): %2d 分 %02d 秒", _current_time_limit->free_time / 60, @@ -1634,7 +1634,7 @@ ChessShowRequest(void) _current_time_limit->limit_time % 60, _current_time_limit->limit_hand); } else if (_current_time_limit->time_mode == CHESS_TIMEMODE_COUNTING) { - mouts(10, 5, "使用讀秒規則:"); + mvouts(10, 5, "使用讀秒規則:"); move(12, 8); prints("局時 (自由時間): %2d 分 %02d 秒", _current_time_limit->free_time / 60, |