From 50f893f330ff111a802bcfd1822ee11ff8a1754e Mon Sep 17 00:00:00 2001 From: Mischa POSLAWSKY Date: Sun, 11 Mar 2007 15:44:40 +0100 Subject: [PATCH] remove drawmode #3 Keep only one quadra style for ascii, one with drawing characters (default), and one with seperate blocks. --- client.c | 2 +- curses.c | 18 ------------------ 2 files changed, 1 insertion(+), 19 deletions(-) diff --git a/client.c b/client.c index 43c741d..d4ab95a 100644 --- a/client.c +++ b/client.c @@ -59,7 +59,7 @@ static char *keyNames[KT_numKeys+1] = { "Faster", "Pause", "Redraw", "Say", "Quit", NULL }; -sets_t Sets = {7, 0, 1, 1, 1}; +sets_t Sets = {3, 0, 1, 1, 1}; static char keyTable[KT_numKeys+1]; diff --git a/curses.c b/curses.c index b1604b0..4571bc2 100644 --- a/curses.c +++ b/curses.c @@ -418,24 +418,6 @@ static void block_draw_2(int y, int x, unsigned char type) } //horizontal stickiness break; //ascii horizontally grouped case 3: - switch (type & 240) { - case 48: - addstr("||"); break; //middle - case 64: case 80: case 96: - addstr("[="); break; //left end - case 112: - addstr("|="); break; - case 128: case 144: case 160: - addstr("=]"); break; //right end - case 176: - addstr("=|"); break; - case 192: case 208: case 224: - addstr("=="); break; - default: - addstr("[]"); break; //top/bottom/mid - } //neighbours - break; //ascii semi-grouped - case 7: switch (type & 240) { case 16: addch(ACS_ULCORNER); addch(ACS_URCORNER); break;//top end case 32: addch(ACS_LLCORNER); addch(ACS_LRCORNER); break;//bottom end -- 2.30.0