Explorar el Código

* Removed deprecated calls to cucul

git-svn-id: file:///srv/caca.zoy.org/var/lib/svn/cacatris/trunk@1755 92316355-f0b4-4df1-b90c-862c8a59935f
master
jylam hace 18 años
padre
commit
738e819e6b
Se han modificado 1 ficheros con 11 adiciones y 11 borrados
  1. +11
    -11
      src/main.c

+ 11
- 11
src/main.c Ver fichero

@@ -201,19 +201,19 @@ void infos_populate(cucul_canvas_t *inf, unsigned int score,
sprintf(totalline, " Lines : %02d ", total);

cucul_set_color_ansi(inf, CUCUL_WHITE, CUCUL_BLUE);
cucul_putstr(inf, 0, 0, " =Cacatris= ");
cucul_putstr(inf, 0, 1, " Arrows : move ");
cucul_putstr(inf, 0, 2, " Space : pouf ");
cucul_putstr(inf, 0, 3, " __________________ ");
cucul_putstr(inf, 0, 4, " ");
cucul_putstr(inf, 0, 5, levelline);
cucul_putstr(inf, 0, 6, scoreline);
cucul_putstr(inf, 0, 7, totalline);
cucul_putstr(inf, 0, 8, " Time : XX:XX ");
cucul_put_str(inf, 0, 0, " =Cacatris= ");
cucul_put_str(inf, 0, 1, " Arrows : move ");
cucul_put_str(inf, 0, 2, " Space : pouf ");
cucul_put_str(inf, 0, 3, " __________________ ");
cucul_put_str(inf, 0, 4, " ");
cucul_put_str(inf, 0, 5, levelline);
cucul_put_str(inf, 0, 6, scoreline);
cucul_put_str(inf, 0, 7, totalline);
cucul_put_str(inf, 0, 8, " Time : XX:XX ");

for(i = 8; i < cucul_get_canvas_height(inf); i++)
{
cucul_putstr(inf, 0, i," ");
cucul_put_str(inf, 0, i," ");
}
}

@@ -234,7 +234,7 @@ void playfield_draw(cucul_canvas_t *canvas)
unsigned int c = playfield[oxi+oyi*FIELD_WIDTH];
cucul_set_color_ansi(canvas, CUCUL_BLACK,
c ? blocks_palette[c-1] : CUCUL_DARKGRAY);
cucul_putchar(canvas, x, y, ' ');
cucul_put_char(canvas, x, y, ' ');
ox+=incx;
}
ox = 0;


Cargando…
Cancelar
Guardar