remove drawmode #3
authorMischa POSLAWSKY <netris@shiar.org>
Sun, 11 Mar 2007 14:44:40 +0000 (15:44 +0100)
committerMischa POSLAWSKY <netris@shiar.org>
Sun, 11 Mar 2007 14:44:40 +0000 (15:44 +0100)
Keep only one quadra style for ascii, one with drawing characters
(default), and one with seperate blocks.

client.c
curses.c

index 43c741d6f159b4090eda450e56a84cb09f405ea0..d4ab95a6c2073cd14bfb5bb66ab4a7b03f80ff17 100644 (file)
--- 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];
 
index b1604b0b51384a272a99fae1c64867d92f14a1ec..4571bc2041a4b294dd5fd71423cb606dba534051 100644 (file)
--- 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