谢谢提醒,找到了
void move(int y, int x)
{
if (!scrint) {
if (x >= 0 && y >= 0 && x <= scr_cols && y <= scr_lns)
do_move(x, y, ochar);
return;
}
if (x < 0)
cur_col = scr_cols + x;
else
cur_col = x;
cur_ln = y;
if (cur_col < 0)
cur_col = 0;
if (cur_col > scr_cols)
cur_col = scr_cols;
if (cur_ln < 0)
cur_ln = 0;
if (cur_ln >= scr_lns)
cur_ln = scr_lns - 1;
}
【 在 KCN (毒中之毒~最近忙死了) 的大作中提到: 】
smth的move是改过的.fb2k等版本的move不能绝对定位
【 在 freeworm (freeworm) 的大作中提到: 】
: 发现使用move(x,y);prints();画的有问题
: 帮忙给看一下
: 比如这段代码:
: ...................
--
FROM 202.194.3.*