Subversion Repositories Games.Chess Giants

Rev

Rev 160 | Rev 171 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 160 Rev 161
Line 905... Line 905...
905
      for (j = 0; j < 8; j++)
905
      for (j = 0; j < 8; j++)
906
      {
906
      {
907
         part = the_board.moves[the_board.move_count - 1].slots[i][j].part;
907
         part = the_board.moves[the_board.move_count - 1].slots[i][j].part;
908
         *write_ptr = ' '; write_ptr++;
908
         *write_ptr = ' '; write_ptr++;
909
         if      (part == PART_ROOK)   *write_ptr = 'r';
909
         if      (part == PART_ROOK)   *write_ptr = 'r';
910
         else if (part == PART_KNIGHT) *write_ptr = 'k';
910
         else if (part == PART_KNIGHT) *write_ptr = 'n';
911
         else if (part == PART_BISHOP) *write_ptr = 'b';
911
         else if (part == PART_BISHOP) *write_ptr = 'b';
912
         else if (part == PART_QUEEN)  *write_ptr = 'q';
912
         else if (part == PART_QUEEN)  *write_ptr = 'q';
913
         else if (part == PART_KING)   *write_ptr = 'k';
913
         else if (part == PART_KING)   *write_ptr = 'k';
914
         else if (part == PART_PAWN)   *write_ptr = 'p';
914
         else if (part == PART_PAWN)   *write_ptr = 'p';
915
         else                          *write_ptr = ' ';
915
         else                          *write_ptr = ' ';