Ignore:
Timestamp:
Sep 18, 2006, 6:54:08 PM (16 years ago)
Author:
Sam Hocevar
Message:
  • Bring the tree back in sync with the new libcaca API.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • ttyvaders/trunk/src/ttyvaders.c

    r990 r1057  
    131131        j = h - ground[i];
    132132        cucul_set_color(cv, CUCUL_COLOR_BLACK, CUCUL_COLOR_LIGHTBLUE);
    133         if(i >= 4 && ground[i] == ground[i - 3]
    134                   && ground[i] != ground[i - 4])
     133        if(i >= 4 && ground[i] == ground[i - 6]
     134                  && ground[i] != ground[i - 7])
    135135        {
    136             cucul_putstr(cv, i - 3, j - 2, "||\\");
    137             cucul_putstr(cv, i - 3, j - 1, "o--o");
     136            cucul_putstr(cv, i - 3, j - 2,    "Omm");
     137            cucul_putstr(cv, i - 6, j - 1, "(/)-(/)");
    138138        }
    139139        cucul_set_color(cv, CUCUL_COLOR_RED, CUCUL_COLOR_GREEN);
    140140        if(ground[i + 1] > ground[i])
    141             cucul_putchar(cv, i, j++, 0x259f);
     141            cucul_putchar(cv, i, j++, 0x2588); // UTF-8: 0x259f
    142142        else if(ground[i + 1] < ground[i])
    143143        {
    144144            j++;
    145             cucul_putchar(cv, i, j++, 0x2599);
     145            cucul_putchar(cv, i, j++, 0x2588); // UTF-8: 0x2599
    146146        }
    147147        else
Note: See TracChangeset for help on using the changeset viewer.