Changeset 1311 for cacatris/trunk/src/main.c
- Timestamp:
- Nov 9, 2006, 11:52:31 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
cacatris/trunk/src/main.c
r1213 r1311 200 200 sprintf(totalline, " Lines : %02d ", total); 201 201 202 cucul_set_color (inf, CUCUL_COLOR_WHITE, CUCUL_COLOR_BLUE);202 cucul_set_color_ansi(inf, CUCUL_WHITE, CUCUL_BLUE); 203 203 cucul_putstr(inf, 0, 0, " =Cacatris= "); 204 204 cucul_putstr(inf, 0, 1, " Arrows : move "); … … 232 232 unsigned int oyi = (unsigned int) oy; 233 233 unsigned int c = playfield[oxi+oyi*FIELD_WIDTH]; 234 if(c) { 235 cucul_set_color(canvas, CUCUL_COLOR_BLACK, blocks_palette[c-1]); 236 cucul_putchar(canvas, x, y, ' '); 237 } else { 238 cucul_set_color(canvas, CUCUL_COLOR_BLACK, CUCUL_COLOR_DARKGRAY); 239 cucul_putchar(canvas, x, y, ' '); 240 241 } 234 cucul_set_color_ansi(canvas, CUCUL_BLACK, 235 c ? blocks_palette[c-1] : CUCUL_DARKGRAY); 236 cucul_putchar(canvas, x, y, ' '); 242 237 ox+=incx; 243 238 }
Note: See TracChangeset
for help on using the changeset viewer.