Changeset 1755


Ignore:
Timestamp:
Feb 23, 2007, 11:43:09 AM (16 years ago)
Author:
Jean-Yves Lamoureux
Message:
  • Removed deprecated calls to cucul
File:
1 edited

Legend:

Unmodified
Added
Removed
  • cacatris/trunk/src/main.c

    r1458 r1755  
    202202
    203203    cucul_set_color_ansi(inf, CUCUL_WHITE, CUCUL_BLUE);
    204     cucul_putstr(inf, 0, 0, "      =Cacatris=    ");
    205     cucul_putstr(inf, 0, 1, "  Arrows  :    move ");
    206     cucul_putstr(inf, 0, 2, "  Space :      pouf ");
    207     cucul_putstr(inf, 0, 3, " __________________ ");
    208     cucul_putstr(inf, 0, 4, "                    ");
    209     cucul_putstr(inf, 0, 5, levelline);
    210     cucul_putstr(inf, 0, 6, scoreline);
    211     cucul_putstr(inf, 0, 7, totalline);
    212     cucul_putstr(inf, 0, 8, " Time     :   XX:XX ");
     204    cucul_put_str(inf, 0, 0, "      =Cacatris=    ");
     205    cucul_put_str(inf, 0, 1, "  Arrows  :    move ");
     206    cucul_put_str(inf, 0, 2, "  Space :      pouf ");
     207    cucul_put_str(inf, 0, 3, " __________________ ");
     208    cucul_put_str(inf, 0, 4, "                    ");
     209    cucul_put_str(inf, 0, 5, levelline);
     210    cucul_put_str(inf, 0, 6, scoreline);
     211    cucul_put_str(inf, 0, 7, totalline);
     212    cucul_put_str(inf, 0, 8, " Time     :   XX:XX ");
    213213
    214214    for(i = 8; i < cucul_get_canvas_height(inf); i++)
    215215    {
    216         cucul_putstr(inf, 0, i,"                     ");
     216        cucul_put_str(inf, 0, i,"                     ");
    217217    }
    218218}
     
    235235            cucul_set_color_ansi(canvas, CUCUL_BLACK,
    236236                                 c ? blocks_palette[c-1] : CUCUL_DARKGRAY);
    237             cucul_putchar(canvas, x, y, ' ');
     237            cucul_put_char(canvas, x, y, ' ');
    238238            ox+=incx;
    239239        }
Note: See TracChangeset for help on using the changeset viewer.