src/main.c

changeset 154
5336e985bd69
parent 150
7d57a252948e
equal deleted inserted replaced
153:bad2d6d4b861 154:5336e985bd69
356 static void eval_move_failed_msg(int code) { 356 static void eval_move_failed_msg(int code) {
357 switch (code) { 357 switch (code) {
358 case AMBIGUOUS_MOVE: 358 case AMBIGUOUS_MOVE:
359 printw("Ambiguous move - please specify the piece to move."); 359 printw("Ambiguous move - please specify the piece to move.");
360 break; 360 break;
361 case INVALID_POSITION: 361 case PIECE_NOT_FOUND:
362 printw("No piece can be moved this way."); 362 printw("No piece can be moved this way.");
363 break; 363 break;
364 case NEED_PROMOTION: 364 case NEED_PROMOTION:
365 printw("You need to promote the pawn (append \"=Q\" e.g.)!"); 365 printw("You need to promote the pawn (append \"=Q\" e.g.)!");
366 break; 366 break;

mercurial