summaryrefslogtreecommitdiffstats
path: root/mbbsd/go.c
diff options
context:
space:
mode:
authorpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2005-08-11 23:33:20 +0800
committerpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2005-08-11 23:33:20 +0800
commit4c2b88e9c74d936675a4a7a11cb068cab7cbe4f3 (patch)
tree90182673da5efbe2df58ab49efa275a5ec5c3062 /mbbsd/go.c
parent43f1304f2ad92c9bff935cd1d701fb9b896f6fb6 (diff)
downloadpttbbs-4c2b88e9c74d936675a4a7a11cb068cab7cbe4f3.tar
pttbbs-4c2b88e9c74d936675a4a7a11cb068cab7cbe4f3.tar.gz
pttbbs-4c2b88e9c74d936675a4a7a11cb068cab7cbe4f3.tar.bz2
pttbbs-4c2b88e9c74d936675a4a7a11cb068cab7cbe4f3.tar.lz
pttbbs-4c2b88e9c74d936675a4a7a11cb068cab7cbe4f3.tar.xz
pttbbs-4c2b88e9c74d936675a4a7a11cb068cab7cbe4f3.tar.zst
pttbbs-4c2b88e9c74d936675a4a7a11cb068cab7cbe4f3.zip
remove real escapes (\033) from source
better AYT and report struct size in debug mode git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3025 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/go.c')
-rw-r--r--mbbsd/go.c51
1 files changed, 31 insertions, 20 deletions
diff --git a/mbbsd/go.c b/mbbsd/go.c
index f6d87de7..3e69efe4 100644
--- a/mbbsd/go.c
+++ b/mbbsd/go.c
@@ -628,27 +628,29 @@ void
GO_cleantable(void)
{
move(1, 0);
+#define AC ANSI_COLOR(30;43)
+#define AR ANSI_RESET
outs(
" A B C D E F G H J K L M N O P Q R S T\n"
- " 19 ¢z¢s¢s¢s¢s¢s¢s¢s¢s¢s¢s¢s¢s¢s¢s¢s¢s¢s¢{ \n"
- " 18 ¢u¢q¢q¢q¢q¢q¢q¢q¢q¢q¢q¢q¢q¢q¢q¢q¢q¢q¢t \n"
- " 17 ¢u¢q¢q¢q¢q¢q¢q¢q¢q¢q¢q¢q¢q¢q¢q¢q¢q¢q¢t \n"
- " 16 ¢u¢q¢q¡Ï¢q¢q¢q¢q¢q¡Ï¢q¢q¢q¢q¢q¡Ï¢q¢q¢t \n"
- " 15 ¢u¢q¢q¢q¢q¢q¢q¢q¢q¢q¢q¢q¢q¢q¢q¢q¢q¢q¢t \n"
- " 14 ¢u¢q¢q¢q¢q¢q¢q¢q¢q¢q¢q¢q¢q¢q¢q¢q¢q¢q¢t \n"
- " 13 ¢u¢q¢q¢q¢q¢q¢q¢q¢q¢q¢q¢q¢q¢q¢q¢q¢q¢q¢t \n"
- " 12 ¢u¢q¢q¢q¢q¢q¢q¢q¢q¢q¢q¢q¢q¢q¢q¢q¢q¢q¢t \n"
- " 11 ¢u¢q¢q¢q¢q¢q¢q¢q¢q¢q¢q¢q¢q¢q¢q¢q¢q¢q¢t \n"
- " 10 ¢u¢q¢q¡Ï¢q¢q¢q¢q¢q¡Ï¢q¢q¢q¢q¢q¡Ï¢q¢q¢t \n"
- " 9 ¢u¢q¢q¢q¢q¢q¢q¢q¢q¢q¢q¢q¢q¢q¢q¢q¢q¢q¢t \n"
- " 8 ¢u¢q¢q¢q¢q¢q¢q¢q¢q¢q¢q¢q¢q¢q¢q¢q¢q¢q¢t \n"
- " 7 ¢u¢q¢q¢q¢q¢q¢q¢q¢q¢q¢q¢q¢q¢q¢q¢q¢q¢q¢t \n"
- " 6 ¢u¢q¢q¢q¢q¢q¢q¢q¢q¢q¢q¢q¢q¢q¢q¢q¢q¢q¢t \n"
- " 5 ¢u¢q¢q¢q¢q¢q¢q¢q¢q¢q¢q¢q¢q¢q¢q¢q¢q¢q¢t \n"
- " 4 ¢u¢q¢q¡Ï¢q¢q¢q¢q¢q¡Ï¢q¢q¢q¢q¢q¡Ï¢q¢q¢t \n"
- " 3 ¢u¢q¢q¢q¢q¢q¢q¢q¢q¢q¢q¢q¢q¢q¢q¢q¢q¢q¢t \n"
- " 2 ¢u¢q¢q¢q¢q¢q¢q¢q¢q¢q¢q¢q¢q¢q¢q¢q¢q¢q¢t \n"
- " 1 ¢|¢r¢r¢r¢r¢r¢r¢r¢r¢r¢r¢r¢r¢r¢r¢r¢r¢r¢} \n"
+ " 19" AC " ¢z¢s¢s¢s¢s¢s¢s¢s¢s¢s¢s¢s¢s¢s¢s¢s¢s¢s¢{ " AR "\n"
+ " 18" AC " ¢u¢q¢q¢q¢q¢q¢q¢q¢q¢q¢q¢q¢q¢q¢q¢q¢q¢q¢t " AR "\n"
+ " 17" AC " ¢u¢q¢q¢q¢q¢q¢q¢q¢q¢q¢q¢q¢q¢q¢q¢q¢q¢q¢t " AR "\n"
+ " 16" AC " ¢u¢q¢q¡Ï¢q¢q¢q¢q¢q¡Ï¢q¢q¢q¢q¢q¡Ï¢q¢q¢t " AR "\n"
+ " 15" AC " ¢u¢q¢q¢q¢q¢q¢q¢q¢q¢q¢q¢q¢q¢q¢q¢q¢q¢q¢t " AR "\n"
+ " 14" AC " ¢u¢q¢q¢q¢q¢q¢q¢q¢q¢q¢q¢q¢q¢q¢q¢q¢q¢q¢t " AR "\n"
+ " 13" AC " ¢u¢q¢q¢q¢q¢q¢q¢q¢q¢q¢q¢q¢q¢q¢q¢q¢q¢q¢t " AR "\n"
+ " 12" AC " ¢u¢q¢q¢q¢q¢q¢q¢q¢q¢q¢q¢q¢q¢q¢q¢q¢q¢q¢t " AR "\n"
+ " 11" AC " ¢u¢q¢q¢q¢q¢q¢q¢q¢q¢q¢q¢q¢q¢q¢q¢q¢q¢q¢t " AR "\n"
+ " 10" AC " ¢u¢q¢q¡Ï¢q¢q¢q¢q¢q¡Ï¢q¢q¢q¢q¢q¡Ï¢q¢q¢t " AR "\n"
+ " 9" AC " ¢u¢q¢q¢q¢q¢q¢q¢q¢q¢q¢q¢q¢q¢q¢q¢q¢q¢q¢t " AR "\n"
+ " 8" AC " ¢u¢q¢q¢q¢q¢q¢q¢q¢q¢q¢q¢q¢q¢q¢q¢q¢q¢q¢t " AR "\n"
+ " 7" AC " ¢u¢q¢q¢q¢q¢q¢q¢q¢q¢q¢q¢q¢q¢q¢q¢q¢q¢q¢t " AR "\n"
+ " 6" AC " ¢u¢q¢q¢q¢q¢q¢q¢q¢q¢q¢q¢q¢q¢q¢q¢q¢q¢q¢t " AR "\n"
+ " 5" AC " ¢u¢q¢q¢q¢q¢q¢q¢q¢q¢q¢q¢q¢q¢q¢q¢q¢q¢q¢t " AR "\n"
+ " 4" AC " ¢u¢q¢q¡Ï¢q¢q¢q¢q¢q¡Ï¢q¢q¢q¢q¢q¡Ï¢q¢q¢t " AR "\n"
+ " 3" AC " ¢u¢q¢q¢q¢q¢q¢q¢q¢q¢q¢q¢q¢q¢q¢q¢q¢q¢q¢t " AR "\n"
+ " 2" AC " ¢u¢q¢q¢q¢q¢q¢q¢q¢q¢q¢q¢q¢q¢q¢q¢q¢q¢q¢t " AR "\n"
+ " 1" AC " ¢|¢r¢r¢r¢r¢r¢r¢r¢r¢r¢r¢r¢r¢r¢r¢r¢r¢r¢} " AR "\n"
);
}
@@ -1373,7 +1375,16 @@ GoBot(void)
prints("%s #%-3d %.1s%-2d ", bw_chess[(i - 1) & 1], i, locE + pool[i - 1].x, pool[i - 1].y + 1);
}
- outmsg(" ¥´ÃÐ  (¡ö¡ô¡õ¡÷)²¾°Ê (ªÅ¥ÕÁä/ENTER)¤U¤l (u)¦^¤W¤@¨B " ANSI_COLOR(31) "(z)" ANSI_COLOR(30) "Â÷¶} ");
+ outmsg(ANSI_COLOR(1;33;42)" ¥´ÃÐ "
+ ANSI_COLOR(;31;47)" (¡ö¡ô¡õ¡÷)"
+ ANSI_COLOR(30)"²¾°Ê "
+ ANSI_COLOR(31)"(ªÅ¥ÕÁä/ENTER)"
+ ANSI_COLOR(30)"¤U¤l "
+ ANSI_COLOR(31)"(u)"
+ ANSI_COLOR(30)"¦^¤W¤@¨B "
+ ANSI_COLOR(31) "(z)"
+ ANSI_COLOR(30) "Â÷¶} "
+ ANSI_RESET);
redoscr();
scr_need_redraw = 0;
}