src/main.c

changeset 33
866025982aa9
parent 31
ed440bcd9740
child 34
c4d4b8a8f902
equal deleted inserted replaced
32:8a0b85303ee8 33:866025982aa9
114 int serverwhite = gameinfo->servercolor == WHITE; 114 int serverwhite = gameinfo->servercolor == WHITE;
115 attron(A_UNDERLINE); 115 attron(A_UNDERLINE);
116 printw("Game details\n"); 116 printw("Game details\n");
117 attroff(A_UNDERLINE); 117 attroff(A_UNDERLINE);
118 printw(" Server: %s\n Client: %s\n", 118 printw(" Server: %s\n Client: %s\n",
119 serverwhite?"white":"black", serverwhite?"black":"White" 119 serverwhite?"White":"Black", serverwhite?"Black":"White"
120 ); 120 );
121 if (gameinfo->timecontrol) { 121 if (gameinfo->timecontrol) {
122 if (gameinfo->time % 60) { 122 if (gameinfo->time % 60) {
123 printw(" Time limit: %ds + %ds\n", 123 printw(" Time limit: %ds + %ds\n",
124 gameinfo->time, gameinfo->addtime); 124 gameinfo->time, gameinfo->addtime);

mercurial