X-Git-Url: http://git.shiar.net/netris.git/blobdiff_plain/ea451d0eb29a09293ec16cd0f1f1d8b60424f101..50f893f330ff111a802bcfd1822ee11ff8a1754e:/curses.c 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