mirror of
https://github.com/gwenhael-le-moine/c-urs_-toil-s.git
synced 2024-12-27 09:58:44 +01:00
selected actor is bold
This commit is contained in:
parent
6a36c45a6e
commit
a5956feff1
1 changed files with 12 additions and 0 deletions
12
star.c
12
star.c
|
@ -402,10 +402,22 @@ void display_level( struct state *s )
|
|||
mvprintw( i+1, j*2, " " );
|
||||
break;
|
||||
case BALL:
|
||||
if ( s->moving == BALL ) {
|
||||
attron( A_BOLD );
|
||||
}
|
||||
mvprintw( i+1, j*2, "()" );
|
||||
if ( s->moving == BALL ) {
|
||||
attroff( A_BOLD );
|
||||
}
|
||||
break;
|
||||
case CUBE:
|
||||
if ( s->moving == CUBE ) {
|
||||
attron( A_BOLD );
|
||||
}
|
||||
mvprintw( i+1, j*2, "[]" );
|
||||
if ( s->moving == CUBE ) {
|
||||
attroff( A_BOLD );
|
||||
}
|
||||
break;
|
||||
case GIFT:
|
||||
mvprintw( i+1, j*2, "<>" );
|
||||
|
|
Loading…
Reference in a new issue