summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorscw <scw@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2004-07-25 16:27:56 +0800
committerscw <scw@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2004-07-25 16:27:56 +0800
commit1252e1baa61de03ade59fa53af7a3f51f5e2bf7e (patch)
tree8517c7a6839b82ab83272b583d369e90a683c5c0
parentd05ba58a0f1abb4e25795d6d083e1390ed166fc2 (diff)
downloadpttbbs-1252e1baa61de03ade59fa53af7a3f51f5e2bf7e.tar
pttbbs-1252e1baa61de03ade59fa53af7a3f51f5e2bf7e.tar.gz
pttbbs-1252e1baa61de03ade59fa53af7a3f51f5e2bf7e.tar.bz2
pttbbs-1252e1baa61de03ade59fa53af7a3f51f5e2bf7e.tar.lz
pttbbs-1252e1baa61de03ade59fa53af7a3f51f5e2bf7e.tar.xz
pttbbs-1252e1baa61de03ade59fa53af7a3f51f5e2bf7e.tar.zst
pttbbs-1252e1baa61de03ade59fa53af7a3f51f5e2bf7e.zip
Lower number of screen refreshing when playing GO.
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2145 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rw-r--r--mbbsd/go.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/mbbsd/go.c b/mbbsd/go.c
index 0ad0d0ae..e191c7f9 100644
--- a/mbbsd/go.c
+++ b/mbbsd/go.c
@@ -239,7 +239,7 @@ GO_blank(char x, char y)
n2 = (y == 18) ? 0 : (y == 0) ? 2 : 1;
loc= 2 * (n2 * 3 + n1);
prints("%.2s", str + loc);
- redoln();
+ //redoln();
}
static void
@@ -579,10 +579,10 @@ GO_result(void)
outs("¡Ñ");
win -= 0.5;
}
- redoln();
}
else
count[go[i][j] - 1]++;
+ redoscr();
if (me == BBLACK)
{
@@ -1263,12 +1263,12 @@ gochess(int fd)
if (l[i][j])
{
outs(bw_chess[l[i][j] - 1]);
- redoln();
}
else
GO_blank(i, j);
}
}
+ redoscr();
if (v > pool + 10)
{