From: Arun Persaud Date: Wed, 4 Nov 2009 02:36:55 +0000 (-0800) Subject: Merge commit 'v4.4.1.20091019' into gtk X-Git-Tag: gtk-20091122~8 X-Git-Url: http://winboard.nl/cgi-bin?a=commitdiff_plain;h=715036074c2087caa603bd1aa489fa88c03e7d02;hp=95f9f0e774e52e6bf1d79924c30bc19b2e98cbdd;p=xboard.git Merge commit 'v4.4.1.20091019' into gtk Conflicts: backend.c configure.ac xboard.c --- diff --git a/backend.c b/backend.c old mode 100644 new mode 100755 index 81d22e6..37521d7 --- a/backend.c +++ b/backend.c @@ -184,7 +184,6 @@ void FeedMovesToProgram P((ChessProgramState *cps, int upto)); void ResurrectChessProgram P((void)); void DisplayComment P((int moveNumber, char *text)); void DisplayMove P((int moveNumber)); -void DisplayAnalysis P((void)); void ParseGameHistory P((char *game)); void ParseBoard12 P((char *string)); @@ -608,7 +607,7 @@ InitBackEnd1() ShowThinkingEvent(); // [HGM] thinking: make sure post/nopost state is set according to options GetTimeMark(&programStartTime); - srand(programStartTime.ms); // [HGM] book: makes sure random is unpredictabe to msec level + srandom(programStartTime.ms); // [HGM] book: makes sure random is unpredictabe to msec level ClearProgramStats(); programStats.ok_to_send = 1; @@ -1043,6 +1042,7 @@ InitBackEnd2() fprintf(debugFP, "%s\n", programVersion); } + set_cont_sequence(appData.wrapContSeq); if (appData.matchGames > 0) { appData.matchMode = TRUE; } else if (appData.matchMode) { @@ -1057,7 +1057,7 @@ InitBackEnd2() Reset(TRUE, FALSE); if (appData.noChessProgram || first.protocolVersion == 1) { InitBackEnd3(); - } else { + } else { /* kludge: allow timeout for initial "feature" commands */ FreezeUI(); DisplayMessage("", _("Starting chess program")); @@ -2023,6 +2023,7 @@ int gs_gamenum; char gs_kind[MSG_SIZ]; static char player1Name[128] = ""; static char player2Name[128] = ""; +static char cont_seq[] = "\n\\ "; static int player1Rating = -1; static int player2Rating = -1; /*----------------------------*/ @@ -2055,6 +2056,8 @@ read_from_ics(isr, closure, data, count, error) static int firstTime = TRUE, intfSet = FALSE; static ColorClass prevColor = ColorNormal; static int savingComment = FALSE; + static int cmatch = 0; // continuation sequence match + char *bp; char str[500]; int i, oldi; int buf_len; @@ -2085,18 +2088,66 @@ read_from_ics(isr, closure, data, count, error) buf[i] = buf[leftover_start + i]; } - /* Copy in new characters, removing nulls and \r's */ - buf_len = leftover_len; - for (i = 0; i < count; i++) { - if (data[i] != NULLCHAR && data[i] != '\r') - buf[buf_len++] = data[i]; - if(!appData.noJoin && buf_len >= 5 && buf[buf_len-5]=='\n' && buf[buf_len-4]=='\\' && - buf[buf_len-3]==' ' && buf[buf_len-2]==' ' && buf[buf_len-1]==' ') { - buf_len -= 5; // [HGM] ICS: join continuation line of Lasker 2.2.3 server with previous - if(buf_len == 0 || buf[buf_len-1] != ' ') - buf[buf_len++] = ' '; // add space (assumes ICS does not break lines within word) - } - } + /* copy new characters into the buffer */ + bp = buf + leftover_len; + buf_len=leftover_len; + for (i=0; i= BOARD_RGHT) return FALSE; // drop + if(toX < BOARD_LEFT || toX >= BOARD_RGHT) return FALSE; // move into holdings + + if(gameMode == EditPosition || gameInfo.variant == VariantXiangqi || // no promotions + !(fromX >=0 && fromY >= 0 && toX >= 0 && toY >= 0) ) // invalid move + return FALSE; - if(gameMode == EditPosition || gameInfo.variant == VariantXiangqi || - !(fromX >=0 && fromY >= 0 && toX >= 0 && toY >= 0) ) return FALSE; - /* [HGM] Note to self: line above also weeds out drops */ piece = boards[currentMove][fromY][fromX]; if(gameInfo.variant == VariantShogi) { promotionZoneSize = 3; - highestPromotingPiece = (int)WhiteKing; - /* [HGM] Should be Silver = Ferz, really, but legality testing is off, - and if in normal chess we then allow promotion to King, why not - allow promotion of other piece in Shogi? */ + highestPromotingPiece = (int)WhiteFerz; } + + // next weed out all moves that do not touch the promotion zone at all if((int)piece >= BlackPawn) { if(toY >= promotionZoneSize && fromY >= promotionZoneSize) return FALSE; @@ -4863,7 +4943,62 @@ IsPromotion(fromX, fromY, toX, toY) if( toY < BOARD_HEIGHT - promotionZoneSize && fromY < BOARD_HEIGHT - promotionZoneSize) return FALSE; } - return ( (int)piece <= highestPromotingPiece ); + + if( (int)piece > highestPromotingPiece ) return FALSE; // non-promoting piece + + // weed out mandatory Shogi promotions + if(gameInfo.variant == VariantShogi) { + if(piece >= BlackPawn) { + if(toY == 0 && piece == BlackPawn || + toY == 0 && piece == BlackQueen || + toY <= 1 && piece == BlackKnight) { + *promoChoice = '+'; + return FALSE; + } + } else { + if(toY == BOARD_HEIGHT-1 && piece == WhitePawn || + toY == BOARD_HEIGHT-1 && piece == WhiteQueen || + toY >= BOARD_HEIGHT-2 && piece == WhiteKnight) { + *promoChoice = '+'; + return FALSE; + } + } + } + + // weed out obviously illegal Pawn moves + if(appData.testLegality && (piece == WhitePawn || piece == BlackPawn) ) { + if(toX > fromX+1 || toX < fromX-1) return FALSE; // wide + if(piece == WhitePawn && toY != fromY+1) return FALSE; // deep + if(piece == BlackPawn && toY != fromY-1) return FALSE; // deep + if(fromX != toX && gameInfo.variant == VariantShogi) return FALSE; + // note we are not allowed to test for valid (non-)capture, due to premove + } + + // we either have a choice what to promote to, or (in Shogi) whether to promote + if(gameInfo.variant == VariantShatranj || gameInfo.variant == VariantCourier) { + *promoChoice = PieceToChar(BlackFerz); // no choice + return FALSE; + } + if(appData.alwaysPromoteToQueen) { // predetermined + if(gameInfo.variant == VariantSuicide || gameInfo.variant == VariantLosers) + *promoChoice = PieceToChar(BlackKing); // in Suicide Q is the last thing we want + else *promoChoice = PieceToChar(BlackQueen); + return FALSE; + } + + // suppress promotion popup on illegal moves that are not premoves + premove = gameMode == IcsPlayingWhite && !WhiteOnMove(currentMove) || + gameMode == IcsPlayingBlack && WhiteOnMove(currentMove); + if(appData.testLegality && !premove) { + moveType = LegalityTest(boards[currentMove], PosFlags(currentMove), + epStatus[currentMove], castlingRights[currentMove], + fromY, fromX, toY, toX, NULLCHAR); + if(moveType != WhitePromotionQueen && moveType != BlackPromotionQueen && + moveType != WhitePromotionKnight && moveType != BlackPromotionKnight) + return FALSE; + } + + return TRUE; } int @@ -5006,29 +5141,6 @@ UserMoveTest(fromX, fromY, toX, toY, promoChar, captureOwn) ChessMove moveType; ChessSquare pdown, pup; - if (fromX < 0 || fromY < 0) return ImpossibleMove; - - /* [HGM] suppress all moves into holdings area and guard band */ - if( toX < BOARD_LEFT || toX >= BOARD_RGHT || toY < 0 ) - return ImpossibleMove; - - /* [HGM] moved to here from winboard.c */ - /* note: capture of own piece can be legal as drag-drop premove. For click-click it is selection of new piece. */ - pdown = boards[currentMove][fromY][fromX]; - pup = boards[currentMove][toY][toX]; - if ( gameMode != EditPosition && !captureOwn && - (WhitePawn <= pdown && pdown < BlackPawn && - WhitePawn <= pup && pup < BlackPawn || - BlackPawn <= pdown && pdown < EmptySquare && - BlackPawn <= pup && pup < EmptySquare - ) && !((gameInfo.variant == VariantFischeRandom || gameInfo.variant == VariantCapaRandom) && - (pup == WhiteRook && pdown == WhiteKing && fromY == 0 && toY == 0|| - pup == BlackRook && pdown == BlackKing && fromY == BOARD_HEIGHT-1 && toY == BOARD_HEIGHT-1 || - pup == WhiteKing && pdown == WhiteRook && fromY == 0 && toY == 0|| // also allow RxK - pup == BlackKing && pdown == BlackRook && fromY == BOARD_HEIGHT-1 && toY == BOARD_HEIGHT-1 ) - ) ) - return Comment; - /* Check if the user is playing in turn. This is complicated because we let the user "pick up" a piece before it is his turn. So the piece he tried to pick up may have been captured by the time he puts it down! @@ -5147,6 +5259,9 @@ UserMoveTest(fromX, fromY, toX, toY, promoChar, captureOwn) return ImpossibleMove; } + pdown = boards[currentMove][fromY][fromX]; + pup = boards[currentMove][toY][toX]; + /* [HGM] If move started in holdings, it means a drop */ if( fromX == BOARD_LEFT-2 || fromX == BOARD_RGHT+1) { if( pup != EmptySquare ) return ImpossibleMove; @@ -5438,6 +5553,184 @@ if(appData.debugMode) fprintf(debugFP, "moveType 4 = %d, promochar = %x\n", move FinishMove(moveType, fromX, fromY, toX, toY, promoChar); } +void LeftClick(ClickType clickType, int xPix, int yPix) +{ + int x, y; + Boolean saveAnimate; + static int second = 0, promotionChoice = 0; + char promoChoice = NULLCHAR; + + if (clickType == Press) ErrorPopDown(); + + x = EventToSquare(xPix, BOARD_WIDTH); + y = EventToSquare(yPix, BOARD_HEIGHT); + if (!flipView && y >= 0) { + y = BOARD_HEIGHT - 1 - y; + } + if (flipView && x >= 0) { + x = BOARD_WIDTH - 1 - x; + } + + if(promotionChoice) { // we are waiting for a click to indicate promotion piece + if(clickType == Release) return; // ignore upclick of click-click destination + promotionChoice = FALSE; // only one chance: if click not OK it is interpreted as cancel + if(appData.debugMode) fprintf(debugFP, "promotion click, x=%d, y=%d\n", x, y); + if(gameInfo.holdingsWidth && + (WhiteOnMove(currentMove) + ? x == BOARD_WIDTH-1 && y < gameInfo.holdingsSize && y > 0 + : x == 0 && y >= BOARD_HEIGHT - gameInfo.holdingsSize && y < BOARD_HEIGHT-1) ) { + // click in right holdings, for determining promotion piece + ChessSquare p = boards[currentMove][y][x]; + if(appData.debugMode) fprintf(debugFP, "square contains %d\n", (int)p); + if(p != EmptySquare) { + FinishMove(NormalMove, fromX, fromY, toX, toY, ToLower(PieceToChar(p))); + fromX = fromY = -1; + return; + } + } + DrawPosition(FALSE, boards[currentMove]); + return; + } + + /* [HGM] holdings: next 5 lines: ignore all clicks between board and holdings */ + if(clickType == Press + && ( x == BOARD_LEFT-1 || x == BOARD_RGHT + || x == BOARD_LEFT-2 && y < BOARD_HEIGHT-gameInfo.holdingsSize + || x == BOARD_RGHT+1 && y >= gameInfo.holdingsSize) ) + return; + + if (fromX == -1) { + if (clickType == Press) { + /* First square */ + if (OKToStartUserMove(x, y)) { + fromX = x; + fromY = y; + second = 0; + DragPieceBegin(xPix, yPix); + if (appData.highlightDragging) { + SetHighlights(x, y, -1, -1); + } + } + } + return; + } + + /* fromX != -1 */ + if (clickType == Press && gameMode != EditPosition) { + ChessSquare fromP; + ChessSquare toP; + int frc; + + // ignore off-board to clicks + if(y < 0 || x < 0) return; + + /* Check if clicking again on the same color piece */ + fromP = boards[currentMove][fromY][fromX]; + toP = boards[currentMove][y][x]; + frc = gameInfo.variant == VariantFischeRandom || gameInfo.variant == VariantCapaRandom; + if ((WhitePawn <= fromP && fromP <= WhiteKing && + WhitePawn <= toP && toP <= WhiteKing && + !(fromP == WhiteKing && toP == WhiteRook && frc) && + !(fromP == WhiteRook && toP == WhiteKing && frc)) || + (BlackPawn <= fromP && fromP <= BlackKing && + BlackPawn <= toP && toP <= BlackKing && + !(fromP == BlackRook && toP == BlackKing && frc) && // allow also RxK as FRC castling + !(fromP == BlackKing && toP == BlackRook && frc))) { + /* Clicked again on same color piece -- changed his mind */ + second = (x == fromX && y == fromY); + if (appData.highlightDragging) { + SetHighlights(x, y, -1, -1); + } else { + ClearHighlights(); + } + if (OKToStartUserMove(x, y)) { + fromX = x; + fromY = y; + DragPieceBegin(xPix, yPix); + } + return; + } + // ignore to-clicks in holdings + if(x < BOARD_LEFT || x >= BOARD_RGHT) return; + } + + if (clickType == Release && (x == fromX && y == fromY || + x < BOARD_LEFT || x >= BOARD_RGHT)) { + + // treat drags into holding as click on start square + x = fromX; y = fromY; + + DragPieceEnd(xPix, yPix); + if (appData.animateDragging) { + /* Undo animation damage if any */ + DrawPosition(FALSE, NULL); + } + if (second) { + /* Second up/down in same square; just abort move */ + second = 0; + fromX = fromY = -1; + ClearHighlights(); + gotPremove = 0; + ClearPremoveHighlights(); + } else { + /* First upclick in same square; start click-click mode */ + SetHighlights(x, y, -1, -1); + } + return; + } + + /* we now have a different from- and to-square */ + /* Completed move */ + toX = x; + toY = y; + saveAnimate = appData.animate; + if (clickType == Press) { + /* Finish clickclick move */ + if (appData.animate || appData.highlightLastMove) { + SetHighlights(fromX, fromY, toX, toY); + } else { + ClearHighlights(); + } + } else { + /* Finish drag move */ + if (appData.highlightLastMove) { + SetHighlights(fromX, fromY, toX, toY); + } else { + ClearHighlights(); + } + DragPieceEnd(xPix, yPix); + /* Don't animate move and drag both */ + appData.animate = FALSE; + } + if (HasPromotionChoice(fromX, fromY, toX, toY, &promoChoice)) { + SetHighlights(fromX, fromY, toX, toY); + if(gameInfo.variant == VariantSuper || gameInfo.variant == VariantGreat) { + // [HGM] super: promotion to captured piece selected from holdings + ChessSquare p = boards[currentMove][fromY][fromX], q = boards[currentMove][toY][toX]; + promotionChoice = TRUE; + // kludge follows to temporarily execute move on display, without promoting yet + boards[currentMove][fromY][fromX] = EmptySquare; // move Pawn to 8th rank + boards[currentMove][toY][toX] = p; + DrawPosition(FALSE, boards[currentMove]); + boards[currentMove][fromY][fromX] = p; // take back, but display stays + boards[currentMove][toY][toX] = q; + DisplayMessage("Click in holdings to choose piece", ""); + return; + } + PromotionPopUp(); + } else { + UserMoveEvent(fromX, fromY, toX, toY, promoChoice); + if (!appData.highlightLastMove || gotPremove) ClearHighlights(); + if (gotPremove) SetPremoveHighlights(fromX, fromY, toX, toY); + fromX = fromY = -1; + } + appData.animate = saveAnimate; + if (appData.animate || appData.animateDragging) { + /* Undo animation damage if needed */ + DrawPosition(FALSE, NULL); + } +} + void SendProgramStatsToFrontend( ChessProgramState * cps, ChessProgramStats * cpstats ) { // char * hint = lastHint; @@ -6739,7 +7032,6 @@ if(appData.debugMode) fprintf(debugFP, "nodes = %d, %lld\n", (int) programStats. if (currentMove == forwardMostMove || gameMode == AnalyzeMode || gameMode == AnalyzeFile || appData.icsEngineAnalyze) { DisplayMove(currentMove - 1); - DisplayAnalysis(); } return; @@ -6767,7 +7059,6 @@ if(appData.debugMode) fprintf(debugFP, "nodes = %d, %lld\n", (int) programStats. if (currentMove == forwardMostMove || gameMode==AnalyzeMode || gameMode == AnalyzeFile || appData.icsEngineAnalyze) { DisplayMove(currentMove - 1); - DisplayAnalysis(); } return; } else if (sscanf(message,"stat01: %d " u64Display " %d %d %d %s", @@ -6792,7 +7083,6 @@ if(appData.debugMode) fprintf(debugFP, "nodes = %d, %lld\n", (int) programStats. SendProgramStatsToFrontend( cps, &programStats ); - DisplayAnalysis(); return; } else if (strncmp(message,"++",2) == 0) { @@ -6828,7 +7118,6 @@ if(appData.debugMode) fprintf(debugFP, "nodes = %d, %lld\n", (int) programStats. if (currentMove == forwardMostMove || gameMode==AnalyzeMode || gameMode == AnalyzeFile || appData.icsEngineAnalyze) { DisplayMove(currentMove - 1); - DisplayAnalysis(); } return; } @@ -7300,14 +7589,20 @@ ApplyMove(fromX, fromY, toX, toY, promoChar, board, castling, ep) p = (int) fromX; if(p < (int) BlackPawn) { /* white drop */ p -= (int)WhitePawn; + p = PieceToNumber((ChessSquare)p); if(p >= gameInfo.holdingsSize) p = 0; - if(--board[p][BOARD_WIDTH-2] == 0) + if(--board[p][BOARD_WIDTH-2] <= 0) board[p][BOARD_WIDTH-1] = EmptySquare; + if((int)board[p][BOARD_WIDTH-2] < 0) + board[p][BOARD_WIDTH-2] = 0; } else { /* black drop */ p -= (int)BlackPawn; + p = PieceToNumber((ChessSquare)p); if(p >= gameInfo.holdingsSize) p = 0; - if(--board[BOARD_HEIGHT-1-p][1] == 0) + if(--board[BOARD_HEIGHT-1-p][1] <= 0) board[BOARD_HEIGHT-1-p][0] = EmptySquare; + if((int)board[BOARD_HEIGHT-1-p][1] < 0) + board[BOARD_HEIGHT-1-p][1] = 0; } } if (captured != EmptySquare && gameInfo.holdingsSize > 0 @@ -7341,7 +7636,6 @@ ApplyMove(fromX, fromY, toX, toY, promoChar, board, castling, ep) board[BOARD_HEIGHT-1-p][0] = WHITE_TO_BLACK captured; } } - } else if (gameInfo.variant == VariantAtomic) { if (captured != EmptySquare) { int y, x; @@ -10744,7 +11038,9 @@ TwoMachinesEvent P((void)) strcpy(bookMove, "move "); strcat(bookMove, bookHit); - HandleMachineMove(bookMove, &first); + savedMessage = bookMove; // args for deferred call + savedState = onmove; + ScheduleDelayedEvent(DeferredBookMove, 1); } } @@ -10932,7 +11228,6 @@ ExitAnalyzeMode() SendToProgram("exit\n", &first); first.analyzing = FALSE; } - EngineOutputPopDown(); thinkOutput[0] = NULLCHAR; } @@ -12633,7 +12928,7 @@ PeriodicUpdatesEvent(newState) appData.periodicUpdates=newState; /* Display type changes, so update it now */ - DisplayAnalysis(); +// DisplayAnalysis(); /* Get the ball rolling again... */ if (newState) { @@ -12773,90 +13068,6 @@ DisplayMove(moveNumber) } void -DisplayAnalysisText(text) - char *text; -{ - if (gameMode == AnalyzeMode || gameMode == AnalyzeFile - || appData.icsEngineAnalyze) - { - EngineOutputPopUp(); - } -} - -static int -only_one_move(str) - char *str; -{ - while (*str && isspace(*str)) ++str; - while (*str && !isspace(*str)) ++str; - if (!*str) return 1; - while (*str && isspace(*str)) ++str; - if (!*str) return 1; - return 0; -} - -void -DisplayAnalysis() -{ - char buf[MSG_SIZ]; - char lst[MSG_SIZ / 2]; - double nps; - static char *xtra[] = { "", " (--)", " (++)" }; - int h, m, s, cs; - - if (programStats.time == 0) { - programStats.time = 1; - } - - if (programStats.got_only_move) { - safeStrCpy(buf, programStats.movelist, sizeof(buf)); - } else { - safeStrCpy( lst, programStats.movelist, sizeof(lst)); - - nps = (u64ToDouble(programStats.nodes) / - ((double)programStats.time /100.0)); - - cs = programStats.time % 100; - s = programStats.time / 100; - h = (s / (60*60)); - s = s - h*60*60; - m = (s/60); - s = s - m*60; - - if (programStats.moves_left > 0 && appData.periodicUpdates) { - if (programStats.move_name[0] != NULLCHAR) { - sprintf(buf, "depth=%d %d/%d(%s) %+.2f %s%s\nNodes: " u64Display " NPS: %d\nTime: %02d:%02d:%02d.%02d", - programStats.depth, - programStats.nr_moves-programStats.moves_left, - programStats.nr_moves, programStats.move_name, - ((float)programStats.score)/100.0, lst, - only_one_move(lst)? - xtra[programStats.got_fail] : "", - (u64)programStats.nodes, (int)nps, h, m, s, cs); - } else { - sprintf(buf, "depth=%d %d/%d %+.2f %s%s\nNodes: " u64Display " NPS: %d\nTime: %02d:%02d:%02d.%02d", - programStats.depth, - programStats.nr_moves-programStats.moves_left, - programStats.nr_moves, ((float)programStats.score)/100.0, - lst, - only_one_move(lst)? - xtra[programStats.got_fail] : "", - (u64)programStats.nodes, (int)nps, h, m, s, cs); - } - } else { - sprintf(buf, "depth=%d %+.2f %s%s\nNodes: " u64Display " NPS: %d\nTime: %02d:%02d:%02d.%02d", - programStats.depth, - ((float)programStats.score)/100.0, - lst, - only_one_move(lst)? - xtra[programStats.got_fail] : "", - (u64)programStats.nodes, (int)nps, h, m, s, cs); - } - } - DisplayAnalysisText(buf); -} - -void DisplayComment(moveNumber, text) int moveNumber; char *text; @@ -13873,3 +14084,110 @@ EditPositionPasteFEN(char *fen) } } } + +static char cseq[12] = "\\ "; + +Boolean set_cont_sequence(char *new_seq) +{ + int len; + Boolean ret; + + // handle bad attempts to set the sequence + if (!new_seq) + return 0; // acceptable error - no debug + + len = strlen(new_seq); + ret = (len > 0) && (len < sizeof(cseq)); + if (ret) + strcpy(cseq, new_seq); + else if (appData.debugMode) + fprintf(debugFP, "Invalid continuation sequence \"%s\" (maximum length is: %d)\n", new_seq, sizeof(cseq)-1); + return ret; +} + +/* + reformat a source message so words don't cross the width boundary. internal + newlines are not removed. returns the wrapped size (no null character unless + included in source message). If dest is NULL, only calculate the size required + for the dest buffer. lp argument indicats line position upon entry, and it's + passed back upon exit. +*/ +int wrap(char *dest, char *src, int count, int width, int *lp) +{ + int len, i, ansi, cseq_len, line, old_line, old_i, old_len, clen; + + cseq_len = strlen(cseq); + old_line = line = *lp; + ansi = len = clen = 0; + + for (i=0; i < count; i++) + { + if (src[i] == '\033') + ansi = 1; + + // if we hit the width, back up + if (!ansi && (line >= width) && src[i] != '\n' && src[i] != ' ') + { + // store i & len in case the word is too long + old_i = i, old_len = len; + + // find the end of the last word + while (i && src[i] != ' ' && src[i] != '\n') + { + i--; + len--; + } + + // word too long? restore i & len before splitting it + if ((old_i-i+clen) >= width) + { + i = old_i; + len = old_len; + } + + // extra space? + if (i && src[i-1] == ' ') + len--; + + if (src[i] != ' ' && src[i] != '\n') + { + i--; + if (len) + len--; + } + + // now append the newline and continuation sequence + if (dest) + dest[len] = '\n'; + len++; + if (dest) + strncpy(dest+len, cseq, cseq_len); + len += cseq_len; + line = cseq_len; + clen = cseq_len; + continue; + } + + if (dest) + dest[len] = src[i]; + len++; + if (!ansi) + line++; + if (src[i] == '\n') + line = 0; + if (src[i] == 'm') + ansi = 0; + } + if (dest && appData.debugMode) + { + fprintf(debugFP, "wrap(count:%d,width:%d,line:%d,len:%d,*lp:%d,src: ", + count, width, line, len, *lp); + show_bytes(debugFP, src, count); + fprintf(debugFP, "\ndest: "); + show_bytes(debugFP, dest, len); + fprintf(debugFP, "\n"); + } + *lp = dest ? line : old_line; + + return len; +} diff --git a/backend.h b/backend.h index 7b6c08e..b44c45a 100644 --- a/backend.h +++ b/backend.h @@ -114,7 +114,7 @@ void SetWhiteToPlayEvent P((void)); void SetBlackToPlayEvent P((void)); void InitBackEnd1 P((void)); void InitBackEnd2 P((void)); -int IsPromotion P((int fromX, int fromY, int toX, int toY)); +int HasPromotionChoice P((int fromX, int fromY, int toX, int toY, char *choice)); int InPalace P((int row, int column)); int PieceForSquare P((int x, int y)); int OKToStartUserMove P((int x, int y)); @@ -259,6 +259,9 @@ char * GameListLineFull P(( int, GameInfo *)); extern char* StripHighlight P((char *)); /* returns static data */ extern char* StripHighlightAndTitle P((char *)); /* returns static data */ extern void ics_update_width P((int new_width)); +extern Boolean set_cont_sequence P((char *new_seq)); +extern int wrap P((char *dest, char *src, int count, int width, int *lp)); + typedef enum { CheckBox, ComboBox, TextBox, Button, Spin, ResetButton, SaveButton, FileName, PathName, Slider, Message } Control; diff --git a/callback.c b/callback.c index dcf4779..0f481f0 100644 --- a/callback.c +++ b/callback.c @@ -731,7 +731,7 @@ ResetProc (object, user_data) gpointer user_data; { ResetGameEvent(); - EngineOutputPopDown(); + return; } void WhiteClockProc(object, user_data) diff --git a/common.h b/common.h index 9ab3048..a48aee5 100644 --- a/common.h +++ b/common.h @@ -603,6 +603,8 @@ typedef struct { Boolean keepAlive; /* [HGM] alive */ Boolean forceIllegal;/*[HGM] illegal */ Boolean noJoin; /* [HGM] join */ + char *wrapContSeq; /* continuation sequence when xboard wraps text */ + Boolean useInternalWrap; /* use internal wrapping -- noJoin usurps this if set */ } AppData, *AppDataPtr; /* [AS] PGN tags (for showing in the game list) */ diff --git a/frontend.h b/frontend.h index 29425f1..66455aa 100644 --- a/frontend.h +++ b/frontend.h @@ -119,6 +119,13 @@ typedef void (*DelayedEventCallback) P((void)); void ScheduleDelayedEvent P((DelayedEventCallback cb, guint millisec)); DelayedEventCallback GetDelayedEvent P((void)); void CancelDelayedEvent P((void)); +// [HGM] mouse: next six used by mouse handler, which was moved to backend +extern int fromX, fromY, toX, toY; +typedef enum { Press, Release } ClickType; +void PromotionPopUp P((void)); +void DragPieceBegin P((int x, int y)); +void DragPieceEnd P((int x, int y)); +void LeftClick P((ClickType c, int x, int y)); int StartChildProcess P((char *cmdLine, char *dir, ProcRef *pr)); void DestroyChildProcess P((ProcRef pr, int/*boolean*/ signal)); @@ -160,6 +167,8 @@ void TagsPopDown P((void)); void ICSInitScript P((void)); void StartAnalysisClock P((void)); +void EngineOutputPopUp P((void)); +void EgineOutputPopDown P((void)); void SetHighlights P((int fromX, int fromY, int toX, int toY)); void ClearHighlights P((void)); diff --git a/pixmaps/add33.xpm b/pixmaps/add33.xpm index 6463900..cb87cbf 100644 --- a/pixmaps/add33.xpm +++ b/pixmaps/add33.xpm @@ -1,9 +1,10 @@ /* XPM */ static char *add33[] = { /* columns rows colors chars-per-pixel */ -"33 33 2 1", +"33 33 3 1", " c black s dark_piece", ". c green s dark_square", +"X c white s light_piece", /* pixels */ ".................................", ".................................", @@ -15,22 +16,22 @@ static char *add33[] = { "............ ............", ".......... ..........", "........ ........", -"...... . ......", -".... . ....", -"... . ...", -"... ..... ...", -".... . ....", -"...... . ......", +"...... X ......", +".... X ....", +"... X ...", +"... XXXXX ...", +".... X ....", +"...... X ......", "........ ........", "......... .........", ".......... ..........", -"........... ......... ...........", +"........... XXXXXXXXX ...........", "........... ...........", -".......... ......... ..........", -".......... . . ..........", +".......... XXXXXXXXX ..........", +".......... X X ..........", ".......... ..........", "........... ...........", -".............. ... ..............", +".............. XXX ..............", ".... ....", "... ...", "... . ...", diff --git a/pixmaps/add37.xpm b/pixmaps/add37.xpm index db60d50..b442baf 100644 --- a/pixmaps/add37.xpm +++ b/pixmaps/add37.xpm @@ -1,9 +1,10 @@ /* XPM */ static char *add37[] = { /* columns rows colors chars-per-pixel */ -"37 37 2 1", +"37 37 3 1", " c black s dark_piece", ". c green s dark_square", +"X c white s light_piece", /* pixels */ ".....................................", ".....................................", @@ -18,23 +19,23 @@ static char *add37[] = { "..... .....", ".... ....", "... ...", -"... . ...", -"... . ...", -".... ....... ....", -".... . ....", -"..... . .....", -"....... . .......", +"... X ...", +"... X ...", +".... XXXXXXX ....", +".... X ....", +"..... X .....", +"....... X .......", "......... .........", "........... ...........", "............ ............", -"............ ........... ............", +"............ XXXXXXXXXXX ............", "............ ............", "............ ............", -"............ ........... ............", +"............ XXXXXXXXXXX ............", "........... ...........", "........... ...........", "............. .............", -"................ ... ................", +"................ XXX ................", "........ .... .... ........", ".... ....", "... . ...", diff --git a/pixmaps/add40.xpm b/pixmaps/add40.xpm index 61d58bc..e6c9767 100644 --- a/pixmaps/add40.xpm +++ b/pixmaps/add40.xpm @@ -1,9 +1,10 @@ /* XPM */ static char *add40[] = { /* columns rows colors chars-per-pixel */ -"40 40 2 1", +"40 40 3 1", " c black s dark_piece", ". c green s dark_square", +"X c white s light_piece", /* pixels */ "........................................", "........................................", @@ -17,21 +18,21 @@ static char *add40[] = { "............. ............", "........... ..........", "......... ........", -"....... . ......", -"...... . .....", -"..... . ....", -"..... ....... ....", -"...... . .....", -"....... . ......", -"........ . .......", +"....... X ......", +"...... X .....", +"..... X ....", +"..... XXXXXXX ....", +"...... X .....", +"....... X ......", +"........ X .......", ".......... .........", "........... ..........", "............ ...........", -"............. ......... ............", -".............. . . .............", +"............. XXXXXXXXX ............", +".............. X X .............", ".............. .............", "............. ............", -"............. ............. ............", +"............. XXXXXXXXXXXXX ............", "............ ...........", "............ ...........", "............... ..............", diff --git a/pixmaps/add45.xpm b/pixmaps/add45.xpm index 90d9e6a..d893055 100644 --- a/pixmaps/add45.xpm +++ b/pixmaps/add45.xpm @@ -1,9 +1,10 @@ /* XPM */ static char *add45[] = { /* columns rows colors chars-per-pixel */ -"45 45 2 1", +"45 45 3 1", " c black s dark_piece", ". c green s dark_square", +"X c white s light_piece", /* pixels */ ".............................................", ".............................................", @@ -20,28 +21,28 @@ static char *add45[] = { "............. .............", "........... ...........", "......... .........", -"....... . .......", -"..... . .....", -".... . ....", -".... ......... ....", -".... . ....", -"..... . .....", -"..... . .....", -"...... . ......", +"....... X .......", +"..... X .....", +".... X ....", +".... XXXXXXXXX ....", +".... X ....", +"..... X .....", +"..... X .....", +"...... X ......", "........ ........", ".......... ..........", "............ ............", ".............. ..............", -".............. ............... ..............", +".............. XXXXXXXXXXXXXXX ..............", "............... ...............", "............... ...............", ".............. ..............", -".............. ............. ..............", -".............. . . ..............", +".............. XXXXXXXXXXXXX ..............", +".............. X X ..............", "............. .............", "............. .............", "................ ................", -".................... ... ....................", +".................... XXX ....................", ".................. ..................", "....... .......", ".... . ....", diff --git a/pixmaps/add49.xpm b/pixmaps/add49.xpm index 75dd13d..3c7deb7 100644 --- a/pixmaps/add49.xpm +++ b/pixmaps/add49.xpm @@ -1,9 +1,10 @@ /* XPM */ static char *add49[] = { /* columns rows colors chars-per-pixel */ -"49 49 2 1", +"49 49 3 1", " c black s dark_piece", ". c green s dark_square", +"X c white s light_piece", /* pixels */ ".................................................", ".................................................", @@ -21,29 +22,29 @@ static char *add49[] = { ".............. ..............", "............ ............", ".......... ..........", -"........ . ........", -"...... . ......", -"..... . .....", -".... . ....", -"..... ......... .....", -"...... . ......", -"....... . .......", -"......... . .........", -"........... . ...........", +"........ X ........", +"...... X ......", +"..... X .....", +".... X ....", +"..... XXXXXXXXX .....", +"...... X ......", +"....... X .......", +"......... X .........", +"........... X ...........", "............ ............", "............. .............", ".............. ..............", "............... ...............", -"................ ........... ................", -"................ .. .. ................", +"................ XXXXXXXXXXX ................", +"................ XX XX ................", "................ ................", "................ ................", "................ ................", -"............... ............... ...............", +"............... XXXXXXXXXXXXXXX ...............", "............... ...............", ".............. ..............", ".............. ..............", -".................. ... ..................", +".................. XXX ..................", "...................... ......................", ".................... ....................", "........ ........", diff --git a/pixmaps/add54.xpm b/pixmaps/add54.xpm index e097455..f60f8cd 100644 --- a/pixmaps/add54.xpm +++ b/pixmaps/add54.xpm @@ -1,9 +1,10 @@ /* XPM */ static char *add54[] = { /* columns rows colors chars-per-pixel */ -"54 54 2 1", +"54 54 3 1", " c black s dark_piece", ". c green s dark_square", +"X c white s light_piece", /* pixels */ "......................................................", "......................................................", @@ -22,32 +23,32 @@ static char *add54[] = { ".............. ..............", "........... ...........", "......... .........", -"........ .. ........", -"....... .. .......", -"...... .. ......", -"..... .. .....", -"..... .......... .....", -"..... .......... .....", -"...... .. ......", -"...... .. ......", -"....... .. .......", -"......... .. .........", +"........ XX ........", +"....... XX .......", +"...... XX ......", +"..... XX .....", +"..... XXXXXXXXXX .....", +"..... XXXXXXXXXX .....", +"...... XX ......", +"...... XX ......", +"....... XX .......", +"......... XX .........", "........... ...........", "............. .............", "............... ...............", -"................ ............ ................", -"................. .............. .................", -".................. . . ..................", +"................ XXXXXXXXXXXX ................", +"................. XXXXXXXXXXXXXX .................", +".................. X X ..................", ".................. ..................", "................. .................", -"................. .............. .................", -"................ ................. ................", -"................ .. .. ................", +"................. XXXXXXXXXXXXXX .................", +"................ XXXXXXXXXXXXXXXXX ................", +"................ XX XX ................", "................ ................", "............... ...............", "................ ................", -".................... ...... ....................", -"...................... ...... ......................", +".................... XXXXXX ....................", +"...................... XXXXXX ......................", "....... .......", "..... .....", "... ...", diff --git a/pixmaps/add58.xpm b/pixmaps/add58.xpm index 1594b34..c550672 100644 --- a/pixmaps/add58.xpm +++ b/pixmaps/add58.xpm @@ -1,9 +1,10 @@ /* XPM */ static char *add58[] = { /* columns rows colors chars-per-pixel */ -"58 58 2 1", +"58 58 3 1", " c black s dark_piece", ". c green s dark_square", +"X c white s light_piece", /* pixels */ "..........................................................", "..........................................................", @@ -23,33 +24,33 @@ static char *add58[] = { "............... ...............", "............. .............", "........... ...........", -"......... .. .........", -"....... .. .......", -"...... .. ......", -"..... .. .....", -"..... .......... .....", -"..... .......... .....", -"...... .. ......", -"....... .. .......", -"........ .. ........", -".......... .. ..........", -"............ .. ............", +"......... XX .........", +"....... XX .......", +"...... XX ......", +"..... XX .....", +"..... XXXXXXXXXX .....", +"..... XXXXXXXXXX .....", +"...... XX ......", +"....... XX .......", +"........ XX ........", +".......... XX ..........", +"............ XX ............", ".............. ..............", "................ ................", "................. .................", ".................. ..................", -"................... ................ ...................", -"................... ................ ...................", +"................... XXXXXXXXXXXXXXXX ...................", +"................... XXXXXXXXXXXXXXXX ...................", "................... ...................", ".................. ..................", ".................. ..................", -".................. .................. ..................", -"................. .................. .................", +".................. XXXXXXXXXXXXXXXXXX ..................", +"................. XXXXXXXXXXXXXXXXXX .................", "................. .................", "................. .................", "................. .................", "...................... ......................", -".......................... .. ..........................", +".......................... XX ..........................", "........................ ........................", "........ ........", "...... ......", diff --git a/pixmaps/add64.xpm b/pixmaps/add64.xpm index cfa345e..5969a1c 100644 --- a/pixmaps/add64.xpm +++ b/pixmaps/add64.xpm @@ -1,9 +1,10 @@ /* XPM */ static char *add64[] = { /* columns rows colors chars-per-pixel */ -"64 64 2 1", +"64 64 3 1", " c black s dark_piece", ". c green s dark_square", +"X c white s light_piece", /* pixels */ "................................................................", "................................................................", @@ -26,36 +27,36 @@ static char *add64[] = { "................. .................", ".............. ..............", "............ ............", -".......... .. ..........", -"........ .. ........", -"....... .. .......", -"...... .. ......", -"...... ............ ......", -"...... ............ ......", -"...... .. ......", -"....... .. .......", -"......... .. .........", -".......... .. ..........", +".......... XX ..........", +"........ XX ........", +"....... XX .......", +"...... XX ......", +"...... XXXXXXXXXXXX ......", +"...... XXXXXXXXXXXX ......", +"...... XX ......", +"....... XX .......", +"......... XX .........", +".......... XX ..........", "............ ............", ".............. .............", "............... ...............", "................. .................", "................... ...................", -".................... .............. ....................", -"..................... ................... .....................", -"..................... .. ... .....................", +".................... XXXXXXXXXXXXXX ....................", +"..................... XXXXXXXXXXXXXXXXXXX .....................", +"..................... XX XXX .....................", "..................... .....................", "..................... .....................", ".................... ....................", -".................... .................. ....................", -".................... .................... ....................", -"................... .. .. ...................", +".................... XXXXXXXXXXXXXXXXXX ....................", +".................... XXXXXXXXXXXXXXXXXXXX ....................", +"................... XX XX ...................", "................... ...................", "................... ...................", ".................... ....................", "......................... .........................", -"............................ .... ............................", -".......................... .... ..........................", +"............................ XXXX ............................", +".......................... XXXX ..........................", "......... .........", "....... .......", "..... .....", diff --git a/pixmaps/add72.xpm b/pixmaps/add72.xpm index 13749d6..cf64de2 100644 --- a/pixmaps/add72.xpm +++ b/pixmaps/add72.xpm @@ -1,9 +1,10 @@ /* XPM */ static char *add72[] = { /* columns rows colors chars-per-pixel */ -"72 72 2 1", +"72 72 3 1", " c black s dark_piece", ". c green s dark_square", +"X c white s light_piece", /* pixels */ "........................................................................", "........................................................................", @@ -28,35 +29,35 @@ static char *add72[] = { ".............. ..............", "............. .............", "........... ...........", -"......... .. .........", -"........ .. ........", -"...... .. ......", -"...... .. ......", -"..... .. .....", -"..... .. .....", -"..... .............. .....", -"....... .............. ......", -"....... .. .......", -"......... .. .........", -"............ .. ...........", -".............. .. .............", -"............... .. ...............", +"......... XX .........", +"........ XX ........", +"...... XX ......", +"...... XX ......", +"..... XX .....", +"..... XX .....", +"..... XXXXXXXXXXXXXX .....", +"....... XXXXXXXXXXXXXX ......", +"....... XX .......", +"......... XX .........", +"............ XX ...........", +".............. XX .............", +"............... XX ...............", "................ ................", "................. .................", ".................. ..................", "................... ...................", ".................... ....................", "..................... .....................", -"...................... ................ ......................", -"....................... ..................... .......................", -"........................ .. ... ........................", +"...................... XXXXXXXXXXXXXXXX ......................", +"....................... XXXXXXXXXXXXXXXXXXXXX .......................", +"........................ XX XXX ........................", "....................... .......................", "....................... .......................", "....................... .......................", "...................... ......................", -"...................... .................. ......................", -"..................... .......................... .....................", -"..................... .... .... .....................", +"...................... XXXXXXXXXXXXXXXXXX ......................", +"..................... XXXXXXXXXXXXXXXXXXXXXXXXXX .....................", +"..................... XXXX XXXX .....................", "..................... .....................", ".................... ....................", ".................... ....................", diff --git a/pixmaps/adl33.xpm b/pixmaps/adl33.xpm index fe06352..11224b6 100644 --- a/pixmaps/adl33.xpm +++ b/pixmaps/adl33.xpm @@ -1,9 +1,10 @@ /* XPM */ static char *adl33[] = { /* columns rows colors chars-per-pixel */ -"33 33 2 1", +"33 33 3 1", " c black s dark_piece", ". c gray s light_square", +"X c white s light_piece", /* pixels */ ".................................", ".................................", @@ -15,22 +16,22 @@ static char *adl33[] = { "............ ............", ".......... ..........", "........ ........", -"...... . ......", -".... . ....", -"... . ...", -"... ..... ...", -".... . ....", -"...... . ......", +"...... X ......", +".... X ....", +"... X ...", +"... XXXXX ...", +".... X ....", +"...... X ......", "........ ........", "......... .........", ".......... ..........", -"........... ......... ...........", +"........... XXXXXXXXX ...........", "........... ...........", -".......... ......... ..........", -".......... . . ..........", +".......... XXXXXXXXX ..........", +".......... X X ..........", ".......... ..........", "........... ...........", -".............. ... ..............", +".............. XXX ..............", ".... ....", "... ...", "... . ...", diff --git a/pixmaps/adl37.xpm b/pixmaps/adl37.xpm index c4d85b3..967f054 100644 --- a/pixmaps/adl37.xpm +++ b/pixmaps/adl37.xpm @@ -1,9 +1,10 @@ /* XPM */ static char *adl37[] = { /* columns rows colors chars-per-pixel */ -"37 37 2 1", +"37 37 3 1", " c black s dark_piece", ". c gray s light_square", +"X c white s light_piece", /* pixels */ ".....................................", ".....................................", @@ -18,23 +19,23 @@ static char *adl37[] = { "..... .....", ".... ....", "... ...", -"... . ...", -"... . ...", -".... ....... ....", -".... . ....", -"..... . .....", -"....... . .......", +"... X ...", +"... X ...", +".... XXXXXXX ....", +".... X ....", +"..... X .....", +"....... X .......", "......... .........", "........... ...........", "............ ............", -"............ ........... ............", +"............ XXXXXXXXXXX ............", "............ ............", "............ ............", -"............ ........... ............", +"............ XXXXXXXXXXX ............", "........... ...........", "........... ...........", "............. .............", -"................ ... ................", +"................ XXX ................", "........ .... .... ........", ".... ....", "... . ...", diff --git a/pixmaps/adl40.xpm b/pixmaps/adl40.xpm index 0485369..9146444 100644 --- a/pixmaps/adl40.xpm +++ b/pixmaps/adl40.xpm @@ -1,9 +1,10 @@ /* XPM */ static char *adl40[] = { /* columns rows colors chars-per-pixel */ -"40 40 2 1", +"40 40 3 1", " c black s dark_piece", ". c gray s light_square", +"X c white s light_piece", /* pixels */ "........................................", "........................................", @@ -17,21 +18,21 @@ static char *adl40[] = { "............. ............", "........... ..........", "......... ........", -"....... . ......", -"...... . .....", -"..... . ....", -"..... ....... ....", -"...... . .....", -"....... . ......", -"........ . .......", +"....... X ......", +"...... X .....", +"..... X ....", +"..... XXXXXXX ....", +"...... X .....", +"....... X ......", +"........ X .......", ".......... .........", "........... ..........", "............ ...........", -"............. ......... ............", -".............. . . .............", +"............. XXXXXXXXX ............", +".............. X X .............", ".............. .............", "............. ............", -"............. ............. ............", +"............. XXXXXXXXXXXXX ............", "............ ...........", "............ ...........", "............... ..............", diff --git a/pixmaps/adl45.xpm b/pixmaps/adl45.xpm index 898b725..cfb2de6 100644 --- a/pixmaps/adl45.xpm +++ b/pixmaps/adl45.xpm @@ -1,9 +1,10 @@ /* XPM */ static char *adl45[] = { /* columns rows colors chars-per-pixel */ -"45 45 2 1", +"45 45 3 1", " c black s dark_piece", ". c gray s light_square", +"X c white s light_piece", /* pixels */ ".............................................", ".............................................", @@ -20,28 +21,28 @@ static char *adl45[] = { "............. .............", "........... ...........", "......... .........", -"....... . .......", -"..... . .....", -".... . ....", -".... ......... ....", -".... . ....", -"..... . .....", -"..... . .....", -"...... . ......", +"....... X .......", +"..... X .....", +".... X ....", +".... XXXXXXXXX ....", +".... X ....", +"..... X .....", +"..... X .....", +"...... X ......", "........ ........", ".......... ..........", "............ ............", ".............. ..............", -".............. ............... ..............", +".............. XXXXXXXXXXXXXXX ..............", "............... ...............", "............... ...............", ".............. ..............", -".............. ............. ..............", -".............. . . ..............", +".............. XXXXXXXXXXXXX ..............", +".............. X X ..............", "............. .............", "............. .............", "................ ................", -".................... ... ....................", +".................... XXX ....................", ".................. ..................", "....... .......", ".... . ....", diff --git a/pixmaps/adl49.xpm b/pixmaps/adl49.xpm index c40f67d..586cbf4 100644 --- a/pixmaps/adl49.xpm +++ b/pixmaps/adl49.xpm @@ -1,9 +1,10 @@ /* XPM */ static char *adl49[] = { /* columns rows colors chars-per-pixel */ -"49 49 2 1", +"49 49 3 1", " c black s dark_piece", ". c gray s light_square", +"X c white s light_piece", /* pixels */ ".................................................", ".................................................", @@ -21,29 +22,29 @@ static char *adl49[] = { ".............. ..............", "............ ............", ".......... ..........", -"........ . ........", -"...... . ......", -"..... . .....", -".... . ....", -"..... ......... .....", -"...... . ......", -"....... . .......", -"......... . .........", -"........... . ...........", +"........ X ........", +"...... X ......", +"..... X .....", +".... X ....", +"..... XXXXXXXXX .....", +"...... X ......", +"....... X .......", +"......... X .........", +"........... X ...........", "............ ............", "............. .............", ".............. ..............", "............... ...............", -"................ ........... ................", -"................ .. .. ................", +"................ XXXXXXXXXXX ................", +"................ XX XX ................", "................ ................", "................ ................", "................ ................", -"............... ............... ...............", +"............... XXXXXXXXXXXXXXX ...............", "............... ...............", ".............. ..............", ".............. ..............", -".................. ... ..................", +".................. XXX ..................", "...................... ......................", ".................... ....................", "........ ........", diff --git a/pixmaps/adl54.xpm b/pixmaps/adl54.xpm index 8a0d3da..48dc635 100644 --- a/pixmaps/adl54.xpm +++ b/pixmaps/adl54.xpm @@ -1,9 +1,10 @@ /* XPM */ static char *adl54[] = { /* columns rows colors chars-per-pixel */ -"54 54 2 1", +"54 54 3 1", " c black s dark_piece", ". c gray s light_square", +"X c white s light_piece", /* pixels */ "......................................................", "......................................................", @@ -22,32 +23,32 @@ static char *adl54[] = { ".............. ..............", "........... ...........", "......... .........", -"........ .. ........", -"....... .. .......", -"...... .. ......", -"..... .. .....", -"..... .......... .....", -"..... .......... .....", -"...... .. ......", -"...... .. ......", -"....... .. .......", -"......... .. .........", +"........ XX ........", +"....... XX .......", +"...... XX ......", +"..... XX .....", +"..... XXXXXXXXXX .....", +"..... XXXXXXXXXX .....", +"...... XX ......", +"...... XX ......", +"....... XX .......", +"......... XX .........", "........... ...........", "............. .............", "............... ...............", -"................ ............ ................", -"................. .............. .................", -".................. . . ..................", +"................ XXXXXXXXXXXX ................", +"................. XXXXXXXXXXXXXX .................", +".................. X X ..................", ".................. ..................", "................. .................", -"................. .............. .................", -"................ ................. ................", -"................ .. .. ................", +"................. XXXXXXXXXXXXXX .................", +"................ XXXXXXXXXXXXXXXXX ................", +"................ XX XX ................", "................ ................", "............... ...............", "................ ................", -".................... ...... ....................", -"...................... ...... ......................", +".................... XXXXXX ....................", +"...................... XXXXXX ......................", "....... .......", "..... .....", "... ...", diff --git a/pixmaps/adl58.xpm b/pixmaps/adl58.xpm index 83c92d7..ad870be 100644 --- a/pixmaps/adl58.xpm +++ b/pixmaps/adl58.xpm @@ -1,9 +1,10 @@ /* XPM */ static char *adl58[] = { /* columns rows colors chars-per-pixel */ -"58 58 2 1", +"58 58 3 1", " c black s dark_piece", ". c gray s light_square", +"X c white s light_piece", /* pixels */ "..........................................................", "..........................................................", @@ -23,33 +24,33 @@ static char *adl58[] = { "............... ...............", "............. .............", "........... ...........", -"......... .. .........", -"....... .. .......", -"...... .. ......", -"..... .. .....", -"..... .......... .....", -"..... .......... .....", -"...... .. ......", -"....... .. .......", -"........ .. ........", -".......... .. ..........", -"............ .. ............", +"......... XX .........", +"....... XX .......", +"...... XX ......", +"..... XX .....", +"..... XXXXXXXXXX .....", +"..... XXXXXXXXXX .....", +"...... XX ......", +"....... XX .......", +"........ XX ........", +".......... XX ..........", +"............ XX ............", ".............. ..............", "................ ................", "................. .................", ".................. ..................", -"................... ................ ...................", -"................... ................ ...................", +"................... XXXXXXXXXXXXXXXX ...................", +"................... XXXXXXXXXXXXXXXX ...................", "................... ...................", ".................. ..................", ".................. ..................", -".................. .................. ..................", -"................. .................. .................", +".................. XXXXXXXXXXXXXXXXXX ..................", +"................. XXXXXXXXXXXXXXXXXX .................", "................. .................", "................. .................", "................. .................", "...................... ......................", -".......................... .. ..........................", +".......................... XX ..........................", "........................ ........................", "........ ........", "...... ......", diff --git a/pixmaps/adl64.xpm b/pixmaps/adl64.xpm index 2724965..87d889f 100644 --- a/pixmaps/adl64.xpm +++ b/pixmaps/adl64.xpm @@ -1,9 +1,10 @@ /* XPM */ static char *adl64[] = { /* columns rows colors chars-per-pixel */ -"64 64 2 1", +"64 64 3 1", " c black s dark_piece", ". c gray s light_square", +"X c white s light_piece", /* pixels */ "................................................................", "................................................................", @@ -26,36 +27,36 @@ static char *adl64[] = { "................. .................", ".............. ..............", "............ ............", -".......... .. ..........", -"........ .. ........", -"....... .. .......", -"...... .. ......", -"...... ............ ......", -"...... ............ ......", -"...... .. ......", -"....... .. .......", -"......... .. .........", -".......... .. ..........", +".......... XX ..........", +"........ XX ........", +"....... XX .......", +"...... XX ......", +"...... XXXXXXXXXXXX ......", +"...... XXXXXXXXXXXX ......", +"...... XX ......", +"....... XX .......", +"......... XX .........", +".......... XX ..........", "............ ............", ".............. .............", "............... ...............", "................. .................", "................... ...................", -".................... .............. ....................", -"..................... ................... .....................", -"..................... .. ... .....................", +".................... XXXXXXXXXXXXXX ....................", +"..................... XXXXXXXXXXXXXXXXXXX .....................", +"..................... XX XXX .....................", "..................... .....................", "..................... .....................", ".................... ....................", -".................... .................. ....................", -".................... .................... ....................", -"................... .. .. ...................", +".................... XXXXXXXXXXXXXXXXXX ....................", +".................... XXXXXXXXXXXXXXXXXXXX ....................", +"................... XX XX ...................", "................... ...................", "................... ...................", ".................... ....................", "......................... .........................", -"............................ .... ............................", -".......................... .... ..........................", +"............................ XXXX ............................", +".......................... XXXX ..........................", "......... .........", "....... .......", "..... .....", diff --git a/pixmaps/adl72.xpm b/pixmaps/adl72.xpm index ec46e92..9ed64c3 100644 --- a/pixmaps/adl72.xpm +++ b/pixmaps/adl72.xpm @@ -1,9 +1,10 @@ /* XPM */ static char *adl72[] = { /* columns rows colors chars-per-pixel */ -"72 72 2 1", +"72 72 3 1", " c black s dark_piece", ". c gray s light_square", +"X c white s light_piece", /* pixels */ "........................................................................", "........................................................................", @@ -28,35 +29,35 @@ static char *adl72[] = { ".............. ..............", "............. .............", "........... ...........", -"......... .. .........", -"........ .. ........", -"...... .. ......", -"...... .. ......", -"..... .. .....", -"..... .. .....", -"..... .............. .....", -"....... .............. ......", -"....... .. .......", -"......... .. .........", -"............ .. ...........", -".............. .. .............", -"............... .. ...............", +"......... XX .........", +"........ XX ........", +"...... XX ......", +"...... XX ......", +"..... XX .....", +"..... XX .....", +"..... XXXXXXXXXXXXXX .....", +"....... XXXXXXXXXXXXXX ......", +"....... XX .......", +"......... XX .........", +"............ XX ...........", +".............. XX .............", +"............... XX ...............", "................ ................", "................. .................", ".................. ..................", "................... ...................", ".................... ....................", "..................... .....................", -"...................... ................ ......................", -"....................... ..................... .......................", -"........................ .. ... ........................", +"...................... XXXXXXXXXXXXXXXX ......................", +"....................... XXXXXXXXXXXXXXXXXXXXX .......................", +"........................ XX XXX ........................", "....................... .......................", "....................... .......................", "....................... .......................", "...................... ......................", -"...................... .................. ......................", -"..................... .......................... .....................", -"..................... .... .... .....................", +"...................... XXXXXXXXXXXXXXXXXX ......................", +"..................... XXXXXXXXXXXXXXXXXXXXXXXXXX .....................", +"..................... XXXX XXXX .....................", "..................... .....................", ".................... ....................", ".................... ....................", diff --git a/pixmaps/asdd33.xpm b/pixmaps/asdd33.xpm index 0dd075a..ff7cf20 100644 --- a/pixmaps/asdd33.xpm +++ b/pixmaps/asdd33.xpm @@ -1,37 +1,38 @@ /* XPM */ static char *asdd33[] = { /* columns rows colors chars-per-pixel */ -"33 33 2 1", +"33 33 3 1", " c black s dark_piece", ". c green s dark_square", +"X c white s light_piece", /* pixels */ ".................................", ".................................", ".................................", "... ............... ...", "... ............. ...", -"... ........... . ...", -"... . ......... . ...", -"... . ....... . ...", -"... . ..... . ...", -".... . ... . ....", -"..... . . . .....", -"...... . . . ......", -"....... . . .......", -"........ . . ........", -"......... . . .........", -".......... . . ..........", -"........... . ...........", -".......... . . ..........", -"... ... . . ... ...", -".. . . . . ..", -".. . . . . . ..", -"... . . . . ...", -".... . . . ....", -"...... . ... . ......", -"..... . . ..... . . .....", -".... . ....... . ....", -"... . ..... . ...", +"... ........... X ...", +"... X ......... X ...", +"... X ....... X ...", +"... X ..... X ...", +".... X ... X ....", +"..... X . X .....", +"...... X X X ......", +"....... X X .......", +"........ X X ........", +"......... X X .........", +".......... X X ..........", +"........... X ...........", +".......... X X ..........", +"... ... X X ... ...", +".. . X X . ..", +".. X X X X X ..", +"... X X X X ...", +".... X . X ....", +"...... X ... X ......", +"..... X X ..... X X .....", +".... X ....... X ....", +"... X ..... X ...", ".. . ... . ..", ". .. ... .. .", ". .... ... .... .", diff --git a/pixmaps/asdd45.xpm b/pixmaps/asdd45.xpm index a7052b5..86169a6 100644 --- a/pixmaps/asdd45.xpm +++ b/pixmaps/asdd45.xpm @@ -1,9 +1,10 @@ /* XPM */ static char *asdd45[] = { /* columns rows colors chars-per-pixel */ -"45 45 2 1", +"45 45 3 1", " c black s dark_piece", ". c green s dark_square", +"X c white s light_piece", /* pixels */ ".............................................", ".............................................", @@ -14,33 +15,33 @@ static char *asdd45[] = { "...... ............... ......", "...... ............. ......", "...... ........... ......", -"...... . ......... . ......", -"...... . ....... . ......", -"...... . ..... . ......", -"...... . ... . ......", -"....... . . . .......", -"........ . . . ........", -"......... . . . .........", -".......... . . . ..........", -"........... . . ...........", -"............ . . ............", -"............. . . .............", -".............. . . ..............", -"............... . ...............", -".............. . . ..............", -"............. . . .............", -"..... ..... . . ..... .....", -".... ... . . ... ....", -"... . . . . . ...", -"... . . . . . ...", -".... . . . . . ....", -"..... . . . .....", -"....... . ... . .......", -"........ . ..... . ........", -"....... . . ....... . . .......", -"...... . . ......... . . ......", -"..... . ........... . .....", -".... . ......... . ....", +"...... X ......... X ......", +"...... X ....... X ......", +"...... X ..... X ......", +"...... X ... X ......", +"....... X . X .......", +"........ X X X ........", +"......... X X X .........", +".......... X X X ..........", +"........... X X ...........", +"............ X X ............", +"............. X X .............", +".............. X X ..............", +"............... X ...............", +".............. X X ..............", +"............. X X .............", +"..... ..... X X ..... .....", +".... ... X X ... ....", +"... . X X X . ...", +"... X X X X X ...", +".... X X X X X ....", +"..... X . X .....", +"....... X ... X .......", +"........ X ..... X ........", +"....... X X ....... X X .......", +"...... X X ......... X X ......", +"..... X ........... X .....", +".... X ......... X ....", "... . ....... . ...", ".. ... ..... ... ..", ".. .... ..... .... ..", diff --git a/pixmaps/asdd49.xpm b/pixmaps/asdd49.xpm index 153cba9..1232ae6 100644 --- a/pixmaps/asdd49.xpm +++ b/pixmaps/asdd49.xpm @@ -1,9 +1,10 @@ /* XPM */ static char *asdd49[] = { /* columns rows colors chars-per-pixel */ -"49 49 2 1", +"49 49 3 1", " c black s dark_piece", ". c green s dark_square", +"X c white s light_piece", /* pixels */ ".................................................", ".................................................", @@ -14,35 +15,35 @@ static char *asdd49[] = { "....... ................. .......", "....... ............... .......", "....... ............. .......", -"....... ........... . .......", -"....... . ......... . .......", -"....... . ....... . .......", -"....... . ..... . .......", -"........ . ... . ........", -"......... . . . .........", -".......... . . . ..........", -"........... . . . ...........", -"............ . . . ............", -"............. . . .............", -".............. . . ..............", -"............... . . ...............", -"................ . . ................", -"................. . .................", -"................ . . ................", -"............... . . ...............", -".............. . . ..... .......", -"...... ..... . . ... ......", -"..... ... . . . . .....", -".... . . . . . .....", -".... . . . . . ......", -"..... . . . . .......", -"...... . ... . .........", -"........ . ..... . ..........", -"......... . ....... . . .........", -"........ . . ......... . . ........", -"....... . . ........... . .......", -"...... . ........... . ......", -"..... . ......... . .....", +"....... ........... X .......", +"....... X ......... X .......", +"....... X ....... X .......", +"....... X ..... X .......", +"........ X ... X ........", +"......... X . X .........", +".......... X X X ..........", +"........... X X X ...........", +"............ X X X ............", +"............. X X .............", +".............. X X ..............", +"............... X X ...............", +"................ X X ................", +"................. X .................", +"................ X X ................", +"............... X X ...............", +".............. X X ..... .......", +"...... ..... X X ... ......", +"..... ... X X X . .....", +".... . X X X X .....", +".... X X X X X ......", +"..... X X . X .......", +"...... X ... X .........", +"........ X ..... X ..........", +"......... X ....... X X .........", +"........ X X ......... X X ........", +"....... X X ........... X .......", +"...... X ........... X ......", +"..... X ......... . .....", ".... . ....... ... ....", "... ... ...... .... ....", "... .... ....... ...... ....", diff --git a/pixmaps/asdd72.xpm b/pixmaps/asdd72.xpm index 65f0a0a..6283f88 100644 --- a/pixmaps/asdd72.xpm +++ b/pixmaps/asdd72.xpm @@ -48,19 +48,19 @@ static char *asdd72[] = { "...... ...... XX XX ...... ......", "..... .... XX XX .... .....", ".... .. XX XX .. ....", -".... XX XX XX XX ....", -".... XX XX XX XX ....", -".... XX X XX XX XX ....", -"..... XX XX XX XX XX .....", -"...... XX X XX X XX ......", -"....... XX X XX .......", -"........ XX XX ........", -"......... XX .. XX .........", -"............ XX .... XX ............", -"............. XX ...... XX .............", -"............ X XX ........ XX X ............", -"........... X XX .......... XX X ...........", -".......... X XX............XX X ..........", +".... .. XX XX .. ....", +".... .. XX XX .. ....", +".... .. X XX XX .. ....", +"..... .. XX XX XX .. .....", +"...... .. X XX X .. ......", +"....... .. X .. .......", +"........ .. .. ........", +"......... .. .. .. .........", +"............ .. .... .. ............", +"............. .. ...... .. .............", +"............ X .. ........ .. X ............", +"........... X .. .......... .. X ...........", +".......... X ................ X ..........", "......... X .............. X .........", "........ X ............ X ........", "....... X .......... X .......", diff --git a/pixmaps/asdl33.xpm b/pixmaps/asdl33.xpm index 898af2b..5db3bbf 100644 --- a/pixmaps/asdl33.xpm +++ b/pixmaps/asdl33.xpm @@ -1,37 +1,38 @@ /* XPM */ static char *asdl33[] = { /* columns rows colors chars-per-pixel */ -"33 33 2 1", +"33 33 3 1", " c black s dark_piece", ". c gray s light_square", +"X c white s light_piece", /* pixels */ ".................................", ".................................", ".................................", "... ............... ...", "... ............. ...", -"... ........... . ...", -"... . ......... . ...", -"... . ....... . ...", -"... . ..... . ...", -".... . ... . ....", -"..... . . . .....", -"...... . . . ......", -"....... . . .......", -"........ . . ........", -"......... . . .........", -".......... . . ..........", -"........... . ...........", -".......... . . ..........", -"... ... . . ... ...", -".. . . . . ..", -".. . . . . . ..", -"... . . . . ...", -".... . . . ....", -"...... . ... . ......", -"..... . . ..... . . .....", -".... . ....... . ....", -"... . ..... . ...", +"... ........... X ...", +"... X ......... X ...", +"... X ....... X ...", +"... X ..... X ...", +".... X ... X ....", +"..... X . X .....", +"...... X X X ......", +"....... X X .......", +"........ X X ........", +"......... X X .........", +".......... X X ..........", +"........... X ...........", +".......... X X ..........", +"... ... X X ... ...", +".. . X X . ..", +".. X X X X X ..", +"... X X X X ...", +".... X . X ....", +"...... X ... X ......", +"..... X X ..... X X .....", +".... X ....... X ....", +"... X ..... X ...", ".. . ... . ..", ". .. ... .. .", ". .... ... .... .", diff --git a/pixmaps/asdl45.xpm b/pixmaps/asdl45.xpm index fc81752..cc2a911 100644 --- a/pixmaps/asdl45.xpm +++ b/pixmaps/asdl45.xpm @@ -1,9 +1,10 @@ /* XPM */ static char *asdl45[] = { /* columns rows colors chars-per-pixel */ -"45 45 2 1", +"45 45 3 1", " c black s dark_piece", ". c gray s light_square", +"X c white s light_piece", /* pixels */ ".............................................", ".............................................", @@ -14,33 +15,33 @@ static char *asdl45[] = { "...... ............... ......", "...... ............. ......", "...... ........... ......", -"...... . ......... . ......", -"...... . ....... . ......", -"...... . ..... . ......", -"...... . ... . ......", -"....... . . . .......", -"........ . . . ........", -"......... . . . .........", -".......... . . . ..........", -"........... . . ...........", -"............ . . ............", -"............. . . .............", -".............. . . ..............", -"............... . ...............", -".............. . . ..............", -"............. . . .............", -"..... ..... . . ..... .....", -".... ... . . ... ....", -"... . . . . . ...", -"... . . . . . ...", -".... . . . . . ....", -"..... . . . .....", -"....... . ... . .......", -"........ . ..... . ........", -"....... . . ....... . . .......", -"...... . . ......... . . ......", -"..... . ........... . .....", -".... . ......... . ....", +"...... X ......... X ......", +"...... X ....... X ......", +"...... X ..... X ......", +"...... X ... X ......", +"....... X . X .......", +"........ X X X ........", +"......... X X X .........", +".......... X X X ..........", +"........... X X ...........", +"............ X X ............", +"............. X X .............", +".............. X X ..............", +"............... X ...............", +".............. X X ..............", +"............. X X .............", +"..... ..... X X ..... .....", +".... ... X X ... ....", +"... . X X X . ...", +"... X X X X X ...", +".... X X X X X ....", +"..... X . X .....", +"....... X ... X .......", +"........ X ..... X ........", +"....... X X ....... X X .......", +"...... X X ......... X X ......", +"..... X ........... X .....", +".... X ......... X ....", "... . ....... . ...", ".. ... ..... ... ..", ".. .... ..... .... ..", diff --git a/pixmaps/asdl49.xpm b/pixmaps/asdl49.xpm index a61f0bb..27dbad5 100644 --- a/pixmaps/asdl49.xpm +++ b/pixmaps/asdl49.xpm @@ -1,9 +1,10 @@ /* XPM */ static char *asdl49[] = { /* columns rows colors chars-per-pixel */ -"49 49 2 1", +"49 49 3 1", " c black s dark_piece", ". c gray s light_square", +"X c white s light_piece", /* pixels */ ".................................................", ".................................................", @@ -14,35 +15,35 @@ static char *asdl49[] = { "....... ................. .......", "....... ............... .......", "....... ............. .......", -"....... ........... . .......", -"....... . ......... . .......", -"....... . ....... . .......", -"....... . ..... . .......", -"........ . ... . ........", -"......... . . . .........", -".......... . . . ..........", -"........... . . . ...........", -"............ . . . ............", -"............. . . .............", -".............. . . ..............", -"............... . . ...............", -"................ . . ................", -"................. . .................", -"................ . . ................", -"............... . . ...............", -".............. . . ..... .......", -"...... ..... . . ... ......", -"..... ... . . . . .....", -".... . . . . . .....", -".... . . . . . ......", -"..... . . . . .......", -"...... . ... . .........", -"........ . ..... . ..........", -"......... . ....... . . .........", -"........ . . ......... . . ........", -"....... . . ........... . .......", -"...... . ........... . ......", -"..... . ......... . .....", +"....... ........... X .......", +"....... X ......... X .......", +"....... X ....... X .......", +"....... X ..... X .......", +"........ X ... X ........", +"......... X . X .........", +".......... X X X ..........", +"........... X X X ...........", +"............ X X X ............", +"............. X X .............", +".............. X X ..............", +"............... X X ...............", +"................ X X ................", +"................. X .................", +"................ X X ................", +"............... X X ...............", +".............. X X ..... .......", +"...... ..... X X ... ......", +"..... ... X X X . .....", +".... . X X X X .....", +".... X X X X X ......", +"..... X X . X .......", +"...... X ... X .........", +"........ X ..... X ..........", +"......... X ....... X X .........", +"........ X X ......... X X ........", +"....... X X ........... X .......", +"...... X ........... X ......", +"..... X ......... . .....", ".... . ....... ... ....", "... ... ...... .... ....", "... .... ....... ...... ....", diff --git a/pixmaps/asdl72.xpm b/pixmaps/asdl72.xpm index 6dcd22e..656c0d9 100644 --- a/pixmaps/asdl72.xpm +++ b/pixmaps/asdl72.xpm @@ -48,19 +48,19 @@ static char *asdl72[] = { "...... ...... XX XX ...... ......", "..... .... XX XX .... .....", ".... .. XX XX .. ....", -".... XX XX XX XX ....", -".... XX XX XX XX ....", -".... XX X XX XX XX ....", -"..... XX XX XX XX XX .....", -"...... XX X XX X XX ......", -"....... XX X XX .......", -"........ XX XX ........", -"......... XX .. XX .........", -"............ XX .... XX ............", -"............. XX ...... XX .............", -"............ X XX ........ XX X ............", -"........... X XX .......... XX X ...........", -".......... X XX............XX X ..........", +".... .. XX XX .. ....", +".... .. XX XX .. ....", +".... .. X XX XX .. ....", +"..... .. XX XX XX .. .....", +"...... .. X XX X .. ......", +"....... .. X .. .......", +"........ .. .. ........", +"......... .. .. .. .........", +"............ .. .... .. ............", +"............. .. ...... .. .............", +"............ X .. ........ .. X ............", +"........... X .. .......... .. X ...........", +".......... X ................ X ..........", "......... X .............. X .........", "........ X ............ X ........", "....... X .......... X .......", diff --git a/pixmaps/cdd33.xpm b/pixmaps/cdd33.xpm index 3847077..739d1ce 100644 --- a/pixmaps/cdd33.xpm +++ b/pixmaps/cdd33.xpm @@ -1,40 +1,41 @@ /* XPM */ static char *cdd33[] = { /* columns rows colors chars-per-pixel */ -"33 33 2 1", +"33 33 3 1", " c black s dark_piece", ". c green s dark_square", +"X c white s light_piece", /* pixels */ ".................................", ".................................", "............... ................", -".............. .. ...............", -".............. .. ...............", +".............. XX ...............", +".............. XX ...............", "............... ................", ".............. ...............", "............. ..............", ".... ...... ...... .....", -"... .. .. ....", -"... .. .... .. ....", -".... .. .. .....", -"...... . . .......", -"...... . . .......", -"....... . . ........", -"....... . . ........", -"........ . . .........", -"....... . . ........", -"....... . . ........", -"...... . . .......", -"...... . . .......", -".... .. .. .....", -"... .. .... .. ....", -"... .. .. ....", +"... XX XX ....", +"... XX XXXX XX ....", +".... XX XX .....", +"...... X X .......", +"...... X X .......", +"....... X X ........", +"....... X X ........", +"........ X X .........", +"....... X X ........", +"....... X X ........", +"...... X X .......", +"...... X X .......", +".... XX XX .....", +"... XX XXXX XX ....", +"... XX XX ....", ".... ...... ...... .....", "............. ..............", ".............. ...............", "............... ................", -".............. .. ...............", -".............. .. ...............", +".............. XX ...............", +".............. XX ...............", "............... ................", ".................................", "................................." diff --git a/pixmaps/cdd37.xpm b/pixmaps/cdd37.xpm index 61297c7..7231d54 100644 --- a/pixmaps/cdd37.xpm +++ b/pixmaps/cdd37.xpm @@ -1,45 +1,46 @@ /* XPM */ static char *cdd37[] = { /* columns rows colors chars-per-pixel */ -"37 37 2 1", +"37 37 3 1", " c black s dark_piece", ". c green s dark_square", +"X c white s light_piece", /* pixels */ ".....................................", "................. .................", -"................ ... ................", -"................ ... ................", -"................ ... ................", +"................ XXX ................", +"................ XXX ................", +"................ XXX ................", "................. .................", "................ ................", "............... ...............", "... ......... ......... ...", -".. ... ....... ....... ... ..", -".. ... ... ..", -".. ... ..... ... ..", -"... .. .. ...", -"...... . . ......", -"....... . . .......", -"....... . . .......", -"........ . . ........", -"........ . . ........", -"......... . . .........", -"........ . . ........", -"........ . . ........", -"....... . . .......", -"....... . . .......", -"...... . . ......", -"... .. .. ...", -".. ... ..... ... ..", -".. ... ... ..", -".. ... ....... ....... ... ..", +".. XXX ....... ....... XXX ..", +".. XXX XXX ..", +".. XXX XXXXX XXX ..", +"... XX XX ...", +"...... X X ......", +"....... X X .......", +"....... X X .......", +"........ X X ........", +"........ X X ........", +"......... X X .........", +"........ X X ........", +"........ X X ........", +"....... X X .......", +"....... X X .......", +"...... X X ......", +"... XX XX ...", +".. XXX XXXXX XXX ..", +".. XXX XXX ..", +".. XXX ....... ....... XXX ..", "... ......... ......... ...", "............... ...............", "................ ................", "................. .................", -"................ ... ................", -"................ ... ................", -"................ ... ................", +"................ XXX ................", +"................ XXX ................", +"................ XXX ................", "................. .................", "....................................." }; diff --git a/pixmaps/cdd40.xpm b/pixmaps/cdd40.xpm index 1728fc0..670124e 100644 --- a/pixmaps/cdd40.xpm +++ b/pixmaps/cdd40.xpm @@ -1,47 +1,48 @@ /* XPM */ static char *cdd40[] = { /* columns rows colors chars-per-pixel */ -"40 40 2 1", +"40 40 3 1", " c black s dark_piece", ". c green s dark_square", +"X c white s light_piece", /* pixels */ "........................................", "................... ..................", -".................. ... .................", -".................. ... .................", -".................. ... .................", +".................. XXX .................", +".................. XXX .................", +".................. XXX .................", "................... ..................", "................... ..................", ".................. .................", ".................. .................", "..... ......... ........ .....", -".... ... ... ....", -".... ... ... ....", -".... ... ...... ... ....", -"..... . . .....", -"........ . . .......", -"......... . . ........", -"......... . . ........", -".......... . . .........", -"........... . . ..........", -"........... . . ...........", -".......... . . ...........", -"......... . . ..........", -"........ . . .........", -"........ . . .........", -"....... . . ........", -"..... ...... .....", -".... ... ... ....", -".... ... ... ....", -".... ... ........ ...... ... ....", +".... XXX XXX ....", +".... XXX XXX ....", +".... XXX XXXXXX XXX ....", +"..... X X .....", +"........ X X .......", +"......... X X ........", +"......... X X ........", +".......... X X .........", +"........... X X ..........", +"........... X X ...........", +".......... X X ...........", +"......... X X ..........", +"........ X X .........", +"........ X X .........", +"....... X X ........", +"..... XXXXXX .....", +".... XXX XXX ....", +".... XXX XXX ....", +".... XXX ........ ...... XXX ....", "..... ......... ........ .....", ".................. .................", ".................. .................", "................... ..................", "................... ..................", -".................. ... .................", -".................. ... .................", -".................. ... .................", +".................. XXX .................", +".................. XXX .................", +".................. XXX .................", "................... ..................", "........................................", "........................................" diff --git a/pixmaps/cdd45.xpm b/pixmaps/cdd45.xpm index 19399d5..2cf0bc1 100644 --- a/pixmaps/cdd45.xpm +++ b/pixmaps/cdd45.xpm @@ -1,52 +1,53 @@ /* XPM */ static char *cdd45[] = { /* columns rows colors chars-per-pixel */ -"45 45 2 1", +"45 45 3 1", " c black s dark_piece", ". c green s dark_square", +"X c white s light_piece", /* pixels */ ".............................................", ".............................................", "..................... .....................", -".................... ... ....................", -".................... ... ....................", -".................... ... ....................", +".................... XXX ....................", +".................... XXX ....................", +".................... XXX ....................", "..................... .....................", ".................... ....................", "................... ...................", "................... ...................", ".................. ..................", ".... ........... ........... ....", -"... ... ......... ......... ... ...", -"... ... ... ...", -"... ... ..... ... ...", -".... .. .. ....", -"....... . . .......", -"........ . . ........", -"........ . . ........", -"......... . . .........", -"......... . . .........", -".......... . . ..........", -"........... . . ...........", -".......... . . ..........", -"......... . . .........", -"......... . . .........", -"........ . . ........", -"........ . . ........", -"....... . . .......", -".... .. .. ....", -"... ... ..... ... ...", -"... ... ... ...", -"... ... ......... ......... ... ...", +"... XXX ......... ......... XXX ...", +"... XXX XXX ...", +"... XXX XXXXX XXX ...", +".... XX XX ....", +"....... X X .......", +"........ X X ........", +"........ X X ........", +"......... X X .........", +"......... X X .........", +".......... X X ..........", +"........... X X ...........", +".......... X X ..........", +"......... X X .........", +"......... X X .........", +"........ X X ........", +"........ X X ........", +"....... X X .......", +".... XX XX ....", +"... XXX XXXXX XXX ...", +"... XXX XXX ...", +"... XXX ......... ......... XXX ...", ".... ........... ........... ....", ".................. ..................", "................... ...................", "................... ...................", ".................... ....................", "..................... .....................", -".................... ... ....................", -".................... ... ....................", -".................... ... ....................", +".................... XXX ....................", +".................... XXX ....................", +".................... XXX ....................", "..................... .....................", ".............................................", "............................................." diff --git a/pixmaps/cdd49.xpm b/pixmaps/cdd49.xpm index f988e1c..ea1ead2 100644 --- a/pixmaps/cdd49.xpm +++ b/pixmaps/cdd49.xpm @@ -1,16 +1,17 @@ /* XPM */ static char *cdd49[] = { /* columns rows colors chars-per-pixel */ -"49 49 2 1", +"49 49 3 1", " c black s dark_piece", ". c green s dark_square", +"X c white s light_piece", /* pixels */ ".................................................", ".................................................", "....................... .......................", -"...................... ... ......................", -"...................... ... ......................", -"...................... ... ......................", +"...................... XXX ......................", +"...................... XXX ......................", +"...................... XXX ......................", "....................... .......................", "...................... ......................", "..................... .....................", @@ -18,38 +19,38 @@ static char *cdd49[] = { ".................... ....................", ".................... ....................", "...... .......... ......... .......", -"..... ... ... ......", -"..... ... ... ......", -"..... ... .... ... ......", -"...... ... ... .......", -"......... . . ..........", -".......... . . ...........", -".......... . . ...........", -"........... . . ............", -"........... . . .............", -"............ . . .............", -"............ . . ..............", -"............. . . ..............", -"............. . . .............", -"............ . . .............", -"............ . . ............", -"........... . . ...........", -".......... . . ...........", -".......... . . ..........", -"......... ... ... ..........", -"...... .... .......", -"..... ... ... ......", -"..... ... ... ......", -"..... ... ......... ........ ... ......", +"..... XXX XXX ......", +"..... XXX XXX ......", +"..... XXX XXXX XXX ......", +"...... XXX XXX .......", +"......... X X ..........", +".......... X X ...........", +".......... X X ...........", +"........... X X ............", +"........... X X .............", +"............ X X .............", +"............ X X ..............", +"............. X X ..............", +"............. X X .............", +"............ X X .............", +"............ X X ............", +"........... X X ...........", +".......... X X ...........", +".......... X X ..........", +"......... XXX XXX ..........", +"...... XXXX .......", +"..... XXX XXX ......", +"..... XXX XXX ......", +"..... XXX ......... ........ XXX ......", "...... ........... .......... .......", ".................... ....................", "..................... .....................", "..................... .....................", "...................... ......................", "....................... .......................", -"...................... ... ......................", -"...................... ... ......................", -"...................... ... ......................", +"...................... XXX ......................", +"...................... XXX ......................", +"...................... XXX ......................", "....................... .......................", ".................................................", ".................................................", diff --git a/pixmaps/cdd54.xpm b/pixmaps/cdd54.xpm index 815bcef..3150a4c 100644 --- a/pixmaps/cdd54.xpm +++ b/pixmaps/cdd54.xpm @@ -1,17 +1,18 @@ /* XPM */ static char *cdd54[] = { /* columns rows colors chars-per-pixel */ -"54 54 2 1", +"54 54 3 1", " c black s dark_piece", ". c green s dark_square", +"X c white s light_piece", /* pixels */ "......................................................", ".......................... ..........................", "........................ ........................", -"....................... .. .......................", -"....................... .... .......................", -"....................... .... .......................", -"....................... .. .......................", +"....................... XX .......................", +"....................... XXXX .......................", +"....................... XXXX .......................", +"....................... XX .......................", "........................ ........................", "....................... .......................", "...................... .......................", @@ -19,42 +20,42 @@ static char *cdd54[] = { "..................... ......................", "...... ............. ............. ......", ".... .......... ........... ....", -"... .. ......... ......... .. ...", -"... .... .... ...", -"... .... ...... .... ...", -"... .. .......... .. ...", -".... ..... ..... ....", -"...... ... ... . ......", -"......... ... ... ..........", -"......... .. .. ..........", -".......... .. .. ...........", -".......... .. .. ...........", -"........... ... .. ............", -"........... .. .. ............", -"............ .. .. .............", -"............. .. .. ............", -"............ .. .. ............", -"............ ... .. ...........", -"........... .. .. ..........", -"........... .. .. ..........", -".......... .. .. .........", -".......... ... ... .........", -"...... . ... ... ......", -".... ..... ..... ....", -"... .. .......... .. ...", -"... .... .... .... ...", -"... .... .... ...", -"... .. ......... ......... .. ...", +"... XX ......... ......... XX ...", +"... XXXX XXXX ...", +"... XXXX XXXXXX XXXX ...", +"... XX XXXXXXXXXX XX ...", +".... XXXXX XXXXX ....", +"...... XXX XXX . ......", +"......... XXX XXX ..........", +"......... XX XX ..........", +".......... XX XX ...........", +".......... XX XX ...........", +"........... XXX XX ............", +"........... XX XX ............", +"............ XX XX .............", +"............. XX XX ............", +"............ XX XX ............", +"............ XXX XX ...........", +"........... XX XX ..........", +"........... XX XX ..........", +".......... XX XX .........", +".......... XXX XXX .........", +"...... . XXX XXX ......", +".... XXXXX XXXXX ....", +"... XX XXXXXXXXXX XX ...", +"... XXXX XXXX XXXX ...", +"... XXXX XXXX ...", +"... XX ......... ......... XX ...", ".... .......... .......... ....", "...... ............. ............. ......", "..................... ......................", "...................... ......................", "...................... .......................", "....................... ........................", -"....................... .. .......................", -"....................... .... .......................", -"....................... .... .......................", -"....................... .. .......................", +"....................... XX .......................", +"....................... XXXX .......................", +"....................... XXXX .......................", +"....................... XX .......................", "........................ ........................", ".......................... ..........................", "......................................................", diff --git a/pixmaps/cdd58.xpm b/pixmaps/cdd58.xpm index f0c3e3a..90d0f1a 100644 --- a/pixmaps/cdd58.xpm +++ b/pixmaps/cdd58.xpm @@ -1,16 +1,17 @@ /* XPM */ static char *cdd58[] = { /* columns rows colors chars-per-pixel */ -"58 58 2 1", +"58 58 3 1", " c black s dark_piece", ". c green s dark_square", +"X c white s light_piece", /* pixels */ "..........................................................", ".......................... ...........................", "......................... ..........................", -"......................... ... ..........................", -"......................... ... ..........................", -"......................... ... ..........................", +"......................... XXX ..........................", +"......................... XXX ..........................", +"......................... XXX ..........................", "......................... ..........................", ".......................... ...........................", "......................... ..........................", @@ -20,35 +21,35 @@ static char *cdd58[] = { "....................... ........................", ".... ............. ............. .....", "... ............ ............ ....", -"... ... ... ....", -"... ... ... ....", -"... ... ..... ... ....", -"... ........... ....", -".... ..... ..... .....", -"........ ... ... .........", -"......... ... ... ..........", -"......... ... ... ..........", -".......... .. .. ...........", -".......... .. .. ...........", -"........... .. .. ............", -"............ .. .. .............", -"............ .. .. .............", -"............. .. .. ..............", -"............. .. .. ..............", -"............. .. .. ..............", -"............ .. .. .............", -"........... .. .. ............", -"........... .. .. ............", -".......... .. .. ...........", -".......... .. .. ...........", -"......... ... ... ..........", -"......... ... ... ..........", -"........ ... ... .........", -".... ..... ..... .....", -"... ........... ....", -"... ... ..... ... ....", -"... ... ... ....", -"... ... ... ....", +"... XXX XXX ....", +"... XXX XXX ....", +"... XXX XXXXX XXX ....", +"... XXXXXXXXXXX ....", +".... XXXXX XXXXX .....", +"........ XXX XXX .........", +"......... XXX XXX ..........", +"......... XXX XXX ..........", +".......... XX XX ...........", +".......... XX XX ...........", +"........... XX XX ............", +"............ XX XX .............", +"............ XX XX .............", +"............. XX XX ..............", +"............. XX XX ..............", +"............. XX XX ..............", +"............ XX XX .............", +"........... XX XX ............", +"........... XX XX ............", +".......... XX XX ...........", +".......... XX XX ...........", +"......... XXX XXX ..........", +"......... XXX XXX ..........", +"........ XXX XXX .........", +".... XXXXX XXXXX .....", +"... XXXXXXXXXXX ....", +"... XXX XXXXX XXX ....", +"... XXX XXX ....", +"... XXX XXX ....", "... ............ ............ ....", ".... .............. .............. .....", "....................... ........................", @@ -57,9 +58,9 @@ static char *cdd58[] = { "......................... ..........................", ".......................... ...........................", "......................... ..........................", -"......................... ... ..........................", -"......................... ... ..........................", -"......................... ... ..........................", +"......................... XXX ..........................", +"......................... XXX ..........................", +"......................... XXX ..........................", "......................... ..........................", ".......................... ...........................", ".........................................................." diff --git a/pixmaps/cdd64.xpm b/pixmaps/cdd64.xpm index a372823..3cec98b 100644 --- a/pixmaps/cdd64.xpm +++ b/pixmaps/cdd64.xpm @@ -1,19 +1,20 @@ /* XPM */ static char *cdd64[] = { /* columns rows colors chars-per-pixel */ -"64 64 2 1", +"64 64 3 1", " c black s dark_piece", ". c green s dark_square", +"X c white s light_piece", /* pixels */ "................................................................", "................................................................", "................................................................", "............................... ...............................", "............................. .............................", -"............................ .. ............................", -"............................ .... ............................", -"............................ .... ............................", -"............................ .. ............................", +"............................ XX ............................", +"............................ XXXX ............................", +"............................ XXXX ............................", +"............................ XX ............................", "............................. .............................", ".............................. ..............................", "............................. .............................", @@ -22,37 +23,37 @@ static char *cdd64[] = { "........................... ...........................", "....... .................. .................. .......", "..... ............... ............... .....", -".... .. ............. ............. .. ....", -".... .... .... ....", -".... .... .... ....", -".... .. .... .. ....", -"..... ............ .....", -"...... ..... ..... ......", -"......... .... .... .........", -".......... ... ... ..........", -".......... .. .. ..........", -"........... .. .. ...........", -"............ ... ... ............", -"............ .. .. ............", -"............. .. .. .............", -"............. . . .............", -".............. .. .. ..............", -"............... .. .. ...............", -"............... .. .. ...............", -"............... .. .. ...............", -".............. . . ..............", -".............. .. .. ..............", -"............. .. .. .............", -"............ ... ... ............", -"............ .. .. ............", -"........... .. .. ...........", -"........... ... ... ...........", -"....... . .... .... . .......", -"..... ..... ..... .....", -".... .. ............ .. ....", -".... .... .... .... ....", -".... .... .... ....", -".... .. ............ ............ .. ....", +".... XX ............. ............. XX ....", +".... XXXX XXXX ....", +".... XXXX XXXX ....", +".... XX XXXX XX ....", +"..... XXXXXXXXXXXX .....", +"...... XXXXX XXXXX ......", +"......... XXXX XXXX .........", +".......... XXX XXX ..........", +".......... XX XX ..........", +"........... XX XX ...........", +"............ XXX XXX ............", +"............ XX XX ............", +"............. XX XX .............", +"............. X X .............", +".............. XX XX ..............", +"............... XX XX ...............", +"............... XX XX ...............", +"............... XX XX ...............", +".............. X X ..............", +".............. XX XX ..............", +"............. XX XX .............", +"............ XXX XXX ............", +"............ XX XX ............", +"........... XX XX ...........", +"........... XXX XXX ...........", +"....... . XXXX XXXX . .......", +"..... XXXXX XXXXX .....", +".... XX XXXXXXXXXXXX XX ....", +".... XXXX XXXX XXXX ....", +".... XXXX XXXX ....", +".... XX ............ ............ XX ....", "..... .............. .............. .....", "...... ............... ............... ......", ".......................... ..........................", @@ -60,10 +61,10 @@ static char *cdd64[] = { "........................... ...........................", "............................ ............................", "............................. .............................", -"............................ .. ............................", -"............................ .... ............................", -"............................ .... ............................", -"............................ .. ............................", +"............................ XX ............................", +"............................ XXXX ............................", +"............................ XXXX ............................", +"............................ XX ............................", "............................. .............................", ".............................. ..............................", "................................................................", diff --git a/pixmaps/cdd72.xpm b/pixmaps/cdd72.xpm index 7dd3f36..86d69c0 100644 --- a/pixmaps/cdd72.xpm +++ b/pixmaps/cdd72.xpm @@ -1,20 +1,21 @@ /* XPM */ static char *cdd72[] = { /* columns rows colors chars-per-pixel */ -"72 72 2 1", +"72 72 3 1", " c black s dark_piece", ". c green s dark_square", +"X c white s light_piece", /* pixels */ "........................................................................", "........................................................................", "........................................................................", ".................................. .................................", "................................. ................................", -"................................ ... ...............................", -"................................ ..... ...............................", -"................................ ..... ...............................", -"................................ ..... ...............................", -"................................ ... ...............................", +"................................ XXX ...............................", +"................................ XXXXX ...............................", +"................................ XXXXX ...............................", +"................................ XXXXX ...............................", +"................................ XXX ...............................", "................................. ................................", ".................................. ................................", "................................. ................................", @@ -23,40 +24,40 @@ static char *cdd72[] = { "............................... ..............................", "......... ................ ..............................", "........ ............... ............... .........", -"....... ... ............. .............. ........", -"....... ..... ............ ............ ... .......", -"....... ..... ..... .......", -"....... ..... ..... .......", -"....... ... ..... .......", -"........ ... .......", -"......... ....... ........", -".............. ........... .........", -".............. .... .... ..............", -"............... ... ... ..............", -"............... ... ... ...............", -"................ ... ... ...............", -"................ ... ... ................", -"................. ... .. ................", -"................. .. ... .................", -".................. ... .. .................", -".................. .. .. ..................", -"................... .. .. ..................", -"................... .. .. ...................", -".................. .. .. ..................", -".................. ... ... ..................", -"................. .. .. .................", -"................. .. .. .................", -"................ .. .. ................", -"............... ... ... ................", -"............... ... ... ...............", -".............. ... ... ...............", -"......... .... ... ...........", -"........ ........... ..........", -"....... ... ....... ... .........", -"....... ..... ..... .........", -"....... ..... ..... .........", -"....... ..... ..... .........", -"....... ... ........... .......... ... .........", +"....... XXX ............. .............. ........", +"....... XXXXX ............ ............ XXX .......", +"....... XXXXX XXXXX .......", +"....... XXXXX XXXXX .......", +"....... XXX XXXXX .......", +"........ XXX .......", +"......... XXXXXXX ........", +".............. XXXXXXXXXXX .........", +".............. XXXX XXXX ..............", +"............... XXX XXX ..............", +"............... XXX XXX ...............", +"................ XXX XXX ...............", +"................ XXX XXX ................", +"................. XXX XX ................", +"................. XX XXX .................", +".................. XXX XX .................", +".................. XX XX ..................", +"................... XX XX ..................", +"................... XX XX ...................", +".................. XX XX ..................", +".................. XXX XXX ..................", +"................. XX XX .................", +"................. XX XX .................", +"................ XX XX ................", +"............... XXX XXX ................", +"............... XXX XXX ...............", +".............. XXX XXX ...............", +"......... XXXX XXX ...........", +"........ XXXXXXXXXXX ..........", +"....... XXX XXXXXXX XXX .........", +"....... XXXXX XXXXX .........", +"....... XXXXX XXXXX .........", +"....... XXXXX XXXXX .........", +"....... XXX ........... .......... XXX .........", "........ ............. ........... ..........", "......... .............. ............. ...........", "............................. .............................", @@ -67,11 +68,11 @@ static char *cdd72[] = { "............................... ................................", "................................ .................................", "................................ .................................", -"............................... ... ................................", -"............................... ..... ................................", -"............................... ..... ................................", -"............................... ..... ................................", -"............................... ... ................................", +"............................... XXX ................................", +"............................... XXXXX ................................", +"............................... XXXXX ................................", +"............................... XXXXX ................................", +"............................... XXX ................................", "................................ .................................", "................................. ..................................", "........................................................................", diff --git a/pixmaps/cdl33.xpm b/pixmaps/cdl33.xpm index 46af57e..1fe2c6c 100644 --- a/pixmaps/cdl33.xpm +++ b/pixmaps/cdl33.xpm @@ -1,40 +1,41 @@ /* XPM */ static char *cdl33[] = { /* columns rows colors chars-per-pixel */ -"33 33 2 1", +"33 33 3 1", " c black s dark_piece", ". c gray s light_square", +"X c white s light_piece", /* pixels */ ".................................", ".................................", "............... ................", -".............. .. ...............", -".............. .. ...............", +".............. XX ...............", +".............. XX ...............", "............... ................", ".............. ...............", "............. ..............", ".... ...... ...... .....", -"... .. .. ....", -"... .. .... .. ....", -".... .. .. .....", -"...... . . .......", -"...... . . .......", -"....... . . ........", -"....... . . ........", -"........ . . .........", -"....... . . ........", -"....... . . ........", -"...... . . .......", -"...... . . .......", -".... .. .. .....", -"... .. .... .. ....", -"... .. .. ....", +"... XX XX ....", +"... XX XXXX XX ....", +".... XX XX .....", +"...... X X .......", +"...... X X .......", +"....... X X ........", +"....... X X ........", +"........ X X .........", +"....... X X ........", +"....... X X ........", +"...... X X .......", +"...... X X .......", +".... XX XX .....", +"... XX XXXX XX ....", +"... XX XX ....", ".... ...... ...... .....", "............. ..............", ".............. ...............", "............... ................", -".............. .. ...............", -".............. .. ...............", +".............. XX ...............", +".............. XX ...............", "............... ................", ".................................", "................................." diff --git a/pixmaps/cdl37.xpm b/pixmaps/cdl37.xpm index be292b4..2ff1cc4 100644 --- a/pixmaps/cdl37.xpm +++ b/pixmaps/cdl37.xpm @@ -1,45 +1,46 @@ /* XPM */ static char *cdl37[] = { /* columns rows colors chars-per-pixel */ -"37 37 2 1", +"37 37 3 1", " c black s dark_piece", ". c gray s light_square", +"X c white s light_piece", /* pixels */ ".....................................", "................. .................", -"................ ... ................", -"................ ... ................", -"................ ... ................", +"................ XXX ................", +"................ XXX ................", +"................ XXX ................", "................. .................", "................ ................", "............... ...............", "... ......... ......... ...", -".. ... ....... ....... ... ..", -".. ... ... ..", -".. ... ..... ... ..", -"... .. .. ...", -"...... . . ......", -"....... . . .......", -"....... . . .......", -"........ . . ........", -"........ . . ........", -"......... . . .........", -"........ . . ........", -"........ . . ........", -"....... . . .......", -"....... . . .......", -"...... . . ......", -"... .. .. ...", -".. ... ..... ... ..", -".. ... ... ..", -".. ... ....... ....... ... ..", +".. XXX ....... ....... XXX ..", +".. XXX XXX ..", +".. XXX XXXXX XXX ..", +"... XX XX ...", +"...... X X ......", +"....... X X .......", +"....... X X .......", +"........ X X ........", +"........ X X ........", +"......... X X .........", +"........ X X ........", +"........ X X ........", +"....... X X .......", +"....... X X .......", +"...... X X ......", +"... XX XX ...", +".. XXX XXXXX XXX ..", +".. XXX XXX ..", +".. XXX ....... ....... XXX ..", "... ......... ......... ...", "............... ...............", "................ ................", "................. .................", -"................ ... ................", -"................ ... ................", -"................ ... ................", +"................ XXX ................", +"................ XXX ................", +"................ XXX ................", "................. .................", "....................................." }; diff --git a/pixmaps/cdl40.xpm b/pixmaps/cdl40.xpm index da28ae9..43581b3 100644 --- a/pixmaps/cdl40.xpm +++ b/pixmaps/cdl40.xpm @@ -1,47 +1,48 @@ /* XPM */ static char *cdl40[] = { /* columns rows colors chars-per-pixel */ -"40 40 2 1", +"40 40 3 1", " c black s dark_piece", ". c gray s light_square", +"X c white s light_piece", /* pixels */ "........................................", "................... ..................", -".................. ... .................", -".................. ... .................", -".................. ... .................", +".................. XXX .................", +".................. XXX .................", +".................. XXX .................", "................... ..................", "................... ..................", ".................. .................", ".................. .................", "..... ......... ........ .....", -".... ... ... ....", -".... ... ... ....", -".... ... ...... ... ....", -"..... . . .....", -"........ . . .......", -"......... . . ........", -"......... . . ........", -".......... . . .........", -"........... . . ..........", -"........... . . ...........", -".......... . . ...........", -"......... . . ..........", -"........ . . .........", -"........ . . .........", -"....... . . ........", -"..... ...... .....", -".... ... ... ....", -".... ... ... ....", -".... ... ........ ...... ... ....", +".... XXX XXX ....", +".... XXX XXX ....", +".... XXX XXXXXX XXX ....", +"..... X X .....", +"........ X X .......", +"......... X X ........", +"......... X X ........", +".......... X X .........", +"........... X X ..........", +"........... X X ...........", +".......... X X ...........", +"......... X X ..........", +"........ X X .........", +"........ X X .........", +"....... X X ........", +"..... XXXXXX .....", +".... XXX XXX ....", +".... XXX XXX ....", +".... XXX ........ ...... XXX ....", "..... ......... ........ .....", ".................. .................", ".................. .................", "................... ..................", "................... ..................", -".................. ... .................", -".................. ... .................", -".................. ... .................", +".................. XXX .................", +".................. XXX .................", +".................. XXX .................", "................... ..................", "........................................", "........................................" diff --git a/pixmaps/cdl45.xpm b/pixmaps/cdl45.xpm index 97cff7b..3e7478d 100644 --- a/pixmaps/cdl45.xpm +++ b/pixmaps/cdl45.xpm @@ -1,52 +1,53 @@ /* XPM */ static char *cdl45[] = { /* columns rows colors chars-per-pixel */ -"45 45 2 1", +"45 45 3 1", " c black s dark_piece", ". c gray s light_square", +"X c white s light_piece", /* pixels */ ".............................................", ".............................................", "..................... .....................", -".................... ... ....................", -".................... ... ....................", -".................... ... ....................", +".................... XXX ....................", +".................... XXX ....................", +".................... XXX ....................", "..................... .....................", ".................... ....................", "................... ...................", "................... ...................", ".................. ..................", ".... ........... ........... ....", -"... ... ......... ......... ... ...", -"... ... ... ...", -"... ... ..... ... ...", -".... .. .. ....", -"....... . . .......", -"........ . . ........", -"........ . . ........", -"......... . . .........", -"......... . . .........", -".......... . . ..........", -"........... . . ...........", -".......... . . ..........", -"......... . . .........", -"......... . . .........", -"........ . . ........", -"........ . . ........", -"....... . . .......", -".... .. .. ....", -"... ... ..... ... ...", -"... ... ... ...", -"... ... ......... ......... ... ...", +"... XXX ......... ......... XXX ...", +"... XXX XXX ...", +"... XXX XXXXX XXX ...", +".... XX XX ....", +"....... X X .......", +"........ X X ........", +"........ X X ........", +"......... X X .........", +"......... X X .........", +".......... X X ..........", +"........... X X ...........", +".......... X X ..........", +"......... X X .........", +"......... X X .........", +"........ X X ........", +"........ X X ........", +"....... X X .......", +".... XX XX ....", +"... XXX XXXXX XXX ...", +"... XXX XXX ...", +"... XXX ......... ......... XXX ...", ".... ........... ........... ....", ".................. ..................", "................... ...................", "................... ...................", ".................... ....................", "..................... .....................", -".................... ... ....................", -".................... ... ....................", -".................... ... ....................", +".................... XXX ....................", +".................... XXX ....................", +".................... XXX ....................", "..................... .....................", ".............................................", "............................................." diff --git a/pixmaps/cdl49.xpm b/pixmaps/cdl49.xpm index 81efd4d..42697ce 100644 --- a/pixmaps/cdl49.xpm +++ b/pixmaps/cdl49.xpm @@ -1,16 +1,17 @@ /* XPM */ static char *cdl49[] = { /* columns rows colors chars-per-pixel */ -"49 49 2 1", +"49 49 3 1", " c black s dark_piece", ". c gray s light_square", +"X c white s light_piece", /* pixels */ ".................................................", ".................................................", "....................... .......................", -"...................... ... ......................", -"...................... ... ......................", -"...................... ... ......................", +"...................... XXX ......................", +"...................... XXX ......................", +"...................... XXX ......................", "....................... .......................", "...................... ......................", "..................... .....................", @@ -18,38 +19,38 @@ static char *cdl49[] = { ".................... ....................", ".................... ....................", "...... .......... ......... .......", -"..... ... ... ......", -"..... ... ... ......", -"..... ... .... ... ......", -"...... ... ... .......", -"......... . . ..........", -".......... . . ...........", -".......... . . ...........", -"........... . . ............", -"........... . . .............", -"............ . . .............", -"............ . . ..............", -"............. . . ..............", -"............. . . .............", -"............ . . .............", -"............ . . ............", -"........... . . ...........", -".......... . . ...........", -".......... . . ..........", -"......... ... ... ..........", -"...... .... .......", -"..... ... ... ......", -"..... ... ... ......", -"..... ... ......... ........ ... ......", +"..... XXX XXX ......", +"..... XXX XXX ......", +"..... XXX XXXX XXX ......", +"...... XXX XXX .......", +"......... X X ..........", +".......... X X ...........", +".......... X X ...........", +"........... X X ............", +"........... X X .............", +"............ X X .............", +"............ X X ..............", +"............. X X ..............", +"............. X X .............", +"............ X X .............", +"............ X X ............", +"........... X X ...........", +".......... X X ...........", +".......... X X ..........", +"......... XXX XXX ..........", +"...... XXXX .......", +"..... XXX XXX ......", +"..... XXX XXX ......", +"..... XXX ......... ........ XXX ......", "...... ........... .......... .......", ".................... ....................", "..................... .....................", "..................... .....................", "...................... ......................", "....................... .......................", -"...................... ... ......................", -"...................... ... ......................", -"...................... ... ......................", +"...................... XXX ......................", +"...................... XXX ......................", +"...................... XXX ......................", "....................... .......................", ".................................................", ".................................................", diff --git a/pixmaps/cdl54.xpm b/pixmaps/cdl54.xpm index 9b8d859..f6c4c77 100644 --- a/pixmaps/cdl54.xpm +++ b/pixmaps/cdl54.xpm @@ -1,17 +1,18 @@ /* XPM */ static char *cdl54[] = { /* columns rows colors chars-per-pixel */ -"54 54 2 1", +"54 54 3 1", " c black s dark_piece", ". c gray s light_square", +"X c white s light_piece", /* pixels */ "......................................................", ".......................... ..........................", "........................ ........................", -"....................... .. .......................", -"....................... .... .......................", -"....................... .... .......................", -"....................... .. .......................", +"....................... XX .......................", +"....................... XXXX .......................", +"....................... XXXX .......................", +"....................... XX .......................", "........................ ........................", "....................... .......................", "...................... .......................", @@ -19,42 +20,42 @@ static char *cdl54[] = { "..................... ......................", "...... ............. ............. ......", ".... .......... ........... ....", -"... .. ......... ......... .. ...", -"... .... .... ...", -"... .... ...... .... ...", -"... .. .......... .. ...", -".... ..... ..... ....", -"...... ... ... . ......", -"......... ... ... ..........", -"......... .. .. ..........", -".......... .. .. ...........", -".......... .. .. ...........", -"........... ... .. ............", -"........... .. .. ............", -"............ .. .. .............", -"............. .. .. ............", -"............ .. .. ............", -"............ ... .. ...........", -"........... .. .. ..........", -"........... .. .. ..........", -".......... .. .. .........", -".......... ... ... .........", -"...... . ... ... ......", -".... ..... ..... ....", -"... .. .......... .. ...", -"... .... .... .... ...", -"... .... .... ...", -"... .. ......... ......... .. ...", +"... XX ......... ......... XX ...", +"... XXXX XXXX ...", +"... XXXX XXXXXX XXXX ...", +"... XX XXXXXXXXXX XX ...", +".... XXXXX XXXXX ....", +"...... XXX XXX . ......", +"......... XXX XXX ..........", +"......... XX XX ..........", +".......... XX XX ...........", +".......... XX XX ...........", +"........... XXX XX ............", +"........... XX XX ............", +"............ XX XX .............", +"............. XX XX ............", +"............ XX XX ............", +"............ XXX XX ...........", +"........... XX XX ..........", +"........... XX XX ..........", +".......... XX XX .........", +".......... XXX XXX .........", +"...... . XXX XXX ......", +".... XXXXX XXXXX ....", +"... XX XXXXXXXXXX XX ...", +"... XXXX XXXX XXXX ...", +"... XXXX XXXX ...", +"... XX ......... ......... XX ...", ".... .......... .......... ....", "...... ............. ............. ......", "..................... ......................", "...................... ......................", "...................... .......................", "....................... ........................", -"....................... .. .......................", -"....................... .... .......................", -"....................... .... .......................", -"....................... .. .......................", +"....................... XX .......................", +"....................... XXXX .......................", +"....................... XXXX .......................", +"....................... XX .......................", "........................ ........................", ".......................... ..........................", "......................................................", diff --git a/pixmaps/cdl58.xpm b/pixmaps/cdl58.xpm index 8842800..cd549b3 100644 --- a/pixmaps/cdl58.xpm +++ b/pixmaps/cdl58.xpm @@ -1,16 +1,17 @@ /* XPM */ static char *cdl58[] = { /* columns rows colors chars-per-pixel */ -"58 58 2 1", +"58 58 3 1", " c black s dark_piece", ". c gray s light_square", +"X c white s light_piece", /* pixels */ "..........................................................", ".......................... ...........................", "......................... ..........................", -"......................... ... ..........................", -"......................... ... ..........................", -"......................... ... ..........................", +"......................... XXX ..........................", +"......................... XXX ..........................", +"......................... XXX ..........................", "......................... ..........................", ".......................... ...........................", "......................... ..........................", @@ -20,35 +21,35 @@ static char *cdl58[] = { "....................... ........................", ".... ............. ............. .....", "... ............ ............ ....", -"... ... ... ....", -"... ... ... ....", -"... ... ..... ... ....", -"... ........... ....", -".... ..... ..... .....", -"........ ... ... .........", -"......... ... ... ..........", -"......... ... ... ..........", -".......... .. .. ...........", -".......... .. .. ...........", -"........... .. .. ............", -"............ .. .. .............", -"............ .. .. .............", -"............. .. .. ..............", -"............. .. .. ..............", -"............. .. .. ..............", -"............ .. .. .............", -"........... .. .. ............", -"........... .. .. ............", -".......... .. .. ...........", -".......... .. .. ...........", -"......... ... ... ..........", -"......... ... ... ..........", -"........ ... ... .........", -".... ..... ..... .....", -"... ........... ....", -"... ... ..... ... ....", -"... ... ... ....", -"... ... ... ....", +"... XXX XXX ....", +"... XXX XXX ....", +"... XXX XXXXX XXX ....", +"... XXXXXXXXXXX ....", +".... XXXXX XXXXX .....", +"........ XXX XXX .........", +"......... XXX XXX ..........", +"......... XXX XXX ..........", +".......... XX XX ...........", +".......... XX XX ...........", +"........... XX XX ............", +"............ XX XX .............", +"............ XX XX .............", +"............. XX XX ..............", +"............. XX XX ..............", +"............. XX XX ..............", +"............ XX XX .............", +"........... XX XX ............", +"........... XX XX ............", +".......... XX XX ...........", +".......... XX XX ...........", +"......... XXX XXX ..........", +"......... XXX XXX ..........", +"........ XXX XXX .........", +".... XXXXX XXXXX .....", +"... XXXXXXXXXXX ....", +"... XXX XXXXX XXX ....", +"... XXX XXX ....", +"... XXX XXX ....", "... ............ ............ ....", ".... .............. .............. .....", "....................... ........................", @@ -57,9 +58,9 @@ static char *cdl58[] = { "......................... ..........................", ".......................... ...........................", "......................... ..........................", -"......................... ... ..........................", -"......................... ... ..........................", -"......................... ... ..........................", +"......................... XXX ..........................", +"......................... XXX ..........................", +"......................... XXX ..........................", "......................... ..........................", ".......................... ...........................", ".........................................................." diff --git a/pixmaps/cdl64.xpm b/pixmaps/cdl64.xpm index f07a4a8..8052013 100644 --- a/pixmaps/cdl64.xpm +++ b/pixmaps/cdl64.xpm @@ -1,19 +1,20 @@ /* XPM */ static char *cdl64[] = { /* columns rows colors chars-per-pixel */ -"64 64 2 1", +"64 64 3 1", " c black s dark_piece", ". c gray s light_square", +"X c white s light_piece", /* pixels */ "................................................................", "................................................................", "................................................................", "............................... ...............................", "............................. .............................", -"............................ .. ............................", -"............................ .... ............................", -"............................ .... ............................", -"............................ .. ............................", +"............................ XX ............................", +"............................ XXXX ............................", +"............................ XXXX ............................", +"............................ XX ............................", "............................. .............................", ".............................. ..............................", "............................. .............................", @@ -22,37 +23,37 @@ static char *cdl64[] = { "........................... ...........................", "....... .................. .................. .......", "..... ............... ............... .....", -".... .. ............. ............. .. ....", -".... .... .... ....", -".... .... .... ....", -".... .. .... .. ....", -"..... ............ .....", -"...... ..... ..... ......", -"......... .... .... .........", -".......... ... ... ..........", -".......... .. .. ..........", -"........... .. .. ...........", -"............ ... ... ............", -"............ .. .. ............", -"............. .. .. .............", -"............. . . .............", -".............. .. .. ..............", -"............... .. .. ...............", -"............... .. .. ...............", -"............... .. .. ...............", -".............. . . ..............", -".............. .. .. ..............", -"............. .. .. .............", -"............ ... ... ............", -"............ .. .. ............", -"........... .. .. ...........", -"........... ... ... ...........", -"....... . .... .... . .......", -"..... ..... ..... .....", -".... .. ............ .. ....", -".... .... .... .... ....", -".... .... .... ....", -".... .. ............ ............ .. ....", +".... XX ............. ............. XX ....", +".... XXXX XXXX ....", +".... XXXX XXXX ....", +".... XX XXXX XX ....", +"..... XXXXXXXXXXXX .....", +"...... XXXXX XXXXX ......", +"......... XXXX XXXX .........", +".......... XXX XXX ..........", +".......... XX XX ..........", +"........... XX XX ...........", +"............ XXX XXX ............", +"............ XX XX ............", +"............. XX XX .............", +"............. X X .............", +".............. XX XX ..............", +"............... XX XX ...............", +"............... XX XX ...............", +"............... XX XX ...............", +".............. X X ..............", +".............. XX XX ..............", +"............. XX XX .............", +"............ XXX XXX ............", +"............ XX XX ............", +"........... XX XX ...........", +"........... XXX XXX ...........", +"....... . XXXX XXXX . .......", +"..... XXXXX XXXXX .....", +".... XX XXXXXXXXXXXX XX ....", +".... XXXX XXXX XXXX ....", +".... XXXX XXXX ....", +".... XX ............ ............ XX ....", "..... .............. .............. .....", "...... ............... ............... ......", ".......................... ..........................", @@ -60,10 +61,10 @@ static char *cdl64[] = { "........................... ...........................", "............................ ............................", "............................. .............................", -"............................ .. ............................", -"............................ .... ............................", -"............................ .... ............................", -"............................ .. ............................", +"............................ XX ............................", +"............................ XXXX ............................", +"............................ XXXX ............................", +"............................ XX ............................", "............................. .............................", ".............................. ..............................", "................................................................", diff --git a/pixmaps/cdl72.xpm b/pixmaps/cdl72.xpm index 7dab174..f74b1d0 100644 --- a/pixmaps/cdl72.xpm +++ b/pixmaps/cdl72.xpm @@ -1,20 +1,21 @@ /* XPM */ static char *cdl72[] = { /* columns rows colors chars-per-pixel */ -"72 72 2 1", +"72 72 3 1", " c black s dark_piece", ". c gray s light_square", +"X c white s light_piece", /* pixels */ "........................................................................", "........................................................................", "........................................................................", ".................................. .................................", "................................. ................................", -"................................ ... ...............................", -"................................ ..... ...............................", -"................................ ..... ...............................", -"................................ ..... ...............................", -"................................ ... ...............................", +"................................ XXX ...............................", +"................................ XXXXX ...............................", +"................................ XXXXX ...............................", +"................................ XXXXX ...............................", +"................................ XXX ...............................", "................................. ................................", ".................................. ................................", "................................. ................................", @@ -23,40 +24,40 @@ static char *cdl72[] = { "............................... ..............................", "......... ................ ..............................", "........ ............... ............... .........", -"....... ... ............. .............. ........", -"....... ..... ............ ............ ... .......", -"....... ..... ..... .......", -"....... ..... ..... .......", -"....... ... ..... .......", -"........ ... .......", -"......... ....... ........", -".............. ........... .........", -".............. .... .... ..............", -"............... ... ... ..............", -"............... ... ... ...............", -"................ ... ... ...............", -"................ ... ... ................", -"................. ... .. ................", -"................. .. ... .................", -".................. ... .. .................", -".................. .. .. ..................", -"................... .. .. ..................", -"................... .. .. ...................", -".................. .. .. ..................", -".................. ... ... ..................", -"................. .. .. .................", -"................. .. .. .................", -"................ .. .. ................", -"............... ... ... ................", -"............... ... ... ...............", -".............. ... ... ...............", -"......... .... ... ...........", -"........ ........... ..........", -"....... ... ....... ... .........", -"....... ..... ..... .........", -"....... ..... ..... .........", -"....... ..... ..... .........", -"....... ... ........... .......... ... .........", +"....... XXX ............. .............. ........", +"....... XXXXX ............ ............ XXX .......", +"....... XXXXX XXXXX .......", +"....... XXXXX XXXXX .......", +"....... XXX XXXXX .......", +"........ XXX .......", +"......... XXXXXXX ........", +".............. XXXXXXXXXXX .........", +".............. XXXX XXXX ..............", +"............... XXX XXX ..............", +"............... XXX XXX ...............", +"................ XXX XXX ...............", +"................ XXX XXX ................", +"................. XXX XX ................", +"................. XX XXX .................", +".................. XXX XX .................", +".................. XX XX ..................", +"................... XX XX ..................", +"................... XX XX ...................", +".................. XX XX ..................", +".................. XXX XXX ..................", +"................. XX XX .................", +"................. XX XX .................", +"................ XX XX ................", +"............... XXX XXX ................", +"............... XXX XXX ...............", +".............. XXX XXX ...............", +"......... XXXX XXX ...........", +"........ XXXXXXXXXXX ..........", +"....... XXX XXXXXXX XXX .........", +"....... XXXXX XXXXX .........", +"....... XXXXX XXXXX .........", +"....... XXXXX XXXXX .........", +"....... XXX ........... .......... XXX .........", "........ ............. ........... ..........", "......... .............. ............. ...........", "............................. .............................", @@ -67,11 +68,11 @@ static char *cdl72[] = { "............................... ................................", "................................ .................................", "................................ .................................", -"............................... ... ................................", -"............................... ..... ................................", -"............................... ..... ................................", -"............................... ..... ................................", -"............................... ... ................................", +"............................... XXX ................................", +"............................... XXXXX ................................", +"............................... XXXXX ................................", +"............................... XXXXX ................................", +"............................... XXX ................................", "................................ .................................", "................................. ..................................", "........................................................................", diff --git a/pixmaps/convert.c b/pixmaps/convert.c index 3118808..2a82f91 100644 --- a/pixmaps/convert.c +++ b/pixmaps/convert.c @@ -92,7 +92,7 @@ char data[130][130], oData[130][130], sData[130][130], wData[130][130]; main(int argc, char **argv) { - int i, j, k, d, cnt, p, s, t; char c, h, w, *name, buf[80], transparent; + int i, j, k, d, cnt, p, s, t; char c, h, w, name[80], buf[80], transparent; FILE *f; transparent = argc > 1 && !strcmp(argv[1], "-t"); diff --git a/pixmaps/cvdd37.xpm b/pixmaps/cvdd37.xpm index 25d7b5d..8f13c79 100644 --- a/pixmaps/cvdd37.xpm +++ b/pixmaps/cvdd37.xpm @@ -14,22 +14,22 @@ static char *cvdd37[] = { "............... XXX XX ..........", ".............. X .........", "............. X XX .........", -"............ X X ........", -"............ XX X ........", -"........... X .......", -"........... XX X .......", -"........... X ......", -".......... XX ......", -".......... XX .. .....", -".......... X .... XX .....", -"..........XX .... X .....", -"......... XX .... X .....", -"......... XX ..... ......", -"......... XX ..............", -"......... XX .............", -"......... XX ............", -"......... XX ...........", -"......... X ...........", +"............ . X ........", +"............ .. X ........", +"........... . .......", +"........... .. X .......", +"........... . ......", +".......... .. ......", +".......... .. .. .....", +".......... . .... XX .....", +"............ .... X .....", +"......... .. .... X .....", +"......... .. ..... ......", +"......... .. ..............", +"......... .. .............", +"......... .. ............", +"......... .. ...........", +"......... . ...........", "......... ...........", ".......... XXXXXXXXXXXXXX ...........", "......... ..........", diff --git a/pixmaps/cvdd45.xpm b/pixmaps/cvdd45.xpm index 4dbdc6c..11f9175 100644 --- a/pixmaps/cvdd45.xpm +++ b/pixmaps/cvdd45.xpm @@ -16,27 +16,27 @@ static char *cvdd45[] = { "................. XX X ...........", "................ X ...........", "............... X X ..........", -".............. X XX ..........", -".............. XX XX ..........", -"............. X .........", -"............. XX .........", -"............ X .........", -"............ XX X ........", -"............ X ........", -"............XX . .......", -"........... XX .. ......", -"........... XX .... XX ......", -"........... X ..... X ......", -"...........XX ...... ......", -"...........XX ...... X ......", -".......... XX ..... .......", -".......... XX ...... ...........", -".......... XX .................", -".......... XX ................", -".......... XX ...............", -".......... XX ...............", -".......... XX ..............", -".......... X ..............", +".............. . XX ..........", +".............. .. XX ..........", +"............. . .........", +"............. .. .........", +"............ . .........", +"............ .. X ........", +"............ . ........", +".............. . .......", +"........... .. .. ......", +"........... .. .... XX ......", +"........... . ..... X ......", +"............. ...... ......", +"............. ...... X ......", +".......... .. ..... .......", +".......... .. ...... ...........", +".......... .. .................", +".......... .. ................", +".......... .. ...............", +".......... .. ...............", +".......... .. ..............", +".......... . ..............", ".......... ..............", ".......... XXXXXXXXXXXXXXXXXXX ..............", "......... .............", diff --git a/pixmaps/cvdd49.xpm b/pixmaps/cvdd49.xpm index c282075..47bc2c0 100644 --- a/pixmaps/cvdd49.xpm +++ b/pixmaps/cvdd49.xpm @@ -16,30 +16,30 @@ static char *cvdd49[] = { ".................. XX ............", "................. X ............", "................ X XX ...........", -"............... X XX ...........", -"............... XX XX ...........", -".............. XX X ...........", -".............. XX ..........", -"............. XX ..........", -"............. XX .........", -"............ X X ........", -"............ XX ........", -"............ XX . .......", -"............ X .. .......", -"........... XX .... XX ......", -"........... XX ..... XX ......", -"........... XX ...... X ......", -"........... X ...... X ......", -"........... X ....... .......", -"...........XX ....... ........", -".......... XX ....... ...........", -".......... XX ..................", -".......... XX .................", -".......... XX .................", -".......... XX ................", -".......... XX ................", -".......... XXX ...............", -"........... XXXXXXXXXXXXXXXXXXXXX ...............", +"............... . XX ...........", +"............... .. XX ...........", +".............. .. X ...........", +".............. .. ..........", +"............. .. ..........", +"............. .. .........", +"............ . X ........", +"............ .. ........", +"............ .. . .......", +"............ . .. .......", +"........... .. .... XX ......", +"........... .. ..... XX ......", +"........... .. ...... X ......", +"........... . ...... X ......", +"........... . ....... .......", +"............. ....... ........", +".......... .. ....... ...........", +".......... .. ..................", +".......... .. .................", +".......... .. .................", +".......... .. ................", +".......... .. ................", +".......... ... ...............", +"........... ..................... ...............", "........... ...............", "........... ...............", "........... XXXXXXXXXXXXXXXXXXXXX ...............", diff --git a/pixmaps/cvdl37.xpm b/pixmaps/cvdl37.xpm index 58ce819..841c801 100644 --- a/pixmaps/cvdl37.xpm +++ b/pixmaps/cvdl37.xpm @@ -14,22 +14,22 @@ static char *cvdl37[] = { "............... XXX XX ..........", ".............. X .........", "............. X XX .........", -"............ X X ........", -"............ XX X ........", -"........... X .......", -"........... XX X .......", -"........... X ......", -".......... XX ......", -".......... XX .. .....", -".......... X .... XX .....", -"..........XX .... X .....", -"......... XX .... X .....", -"......... XX ..... ......", -"......... XX ..............", -"......... XX .............", -"......... XX ............", -"......... XX ...........", -"......... X ...........", +"............ . X ........", +"............ .. X ........", +"........... . .......", +"........... .. X .......", +"........... . ......", +".......... .. ......", +".......... .. .. .....", +".......... . .... XX .....", +"............ .... X .....", +"......... .. .... X .....", +"......... .. ..... ......", +"......... .. ..............", +"......... .. .............", +"......... .. ............", +"......... .. ...........", +"......... . ...........", "......... ...........", ".......... XXXXXXXXXXXXXX ...........", "......... ..........", diff --git a/pixmaps/cvdl45.xpm b/pixmaps/cvdl45.xpm index 92e9061..63a169f 100644 --- a/pixmaps/cvdl45.xpm +++ b/pixmaps/cvdl45.xpm @@ -16,27 +16,27 @@ static char *cvdl45[] = { "................. XX X ...........", "................ X ...........", "............... X X ..........", -".............. X XX ..........", -".............. XX XX ..........", -"............. X .........", -"............. XX .........", -"............ X .........", -"............ XX X ........", -"............ X ........", -"............XX . .......", -"........... XX .. ......", -"........... XX .... XX ......", -"........... X ..... X ......", -"...........XX ...... ......", -"...........XX ...... X ......", -".......... XX ..... .......", -".......... XX ...... ...........", -".......... XX .................", -".......... XX ................", -".......... XX ...............", -".......... XX ...............", -".......... XX ..............", -".......... X ..............", +".............. . XX ..........", +".............. .. XX ..........", +"............. . .........", +"............. .. .........", +"............ . .........", +"............ .. X ........", +"............ . ........", +".............. . .......", +"........... .. .. ......", +"........... .. .... XX ......", +"........... . ..... X ......", +"............. ...... ......", +"............. ...... X ......", +".......... .. ..... .......", +".......... .. ...... ...........", +".......... .. .................", +".......... .. ................", +".......... .. ...............", +".......... .. ...............", +".......... .. ..............", +".......... . ..............", ".......... ..............", ".......... XXXXXXXXXXXXXXXXXXX ..............", "......... .............", diff --git a/pixmaps/cvdl49.xpm b/pixmaps/cvdl49.xpm index 8226e57..0b17004 100644 --- a/pixmaps/cvdl49.xpm +++ b/pixmaps/cvdl49.xpm @@ -16,30 +16,30 @@ static char *cvdl49[] = { ".................. XX ............", "................. X ............", "................ X XX ...........", -"............... X XX ...........", -"............... XX XX ...........", -".............. XX X ...........", -".............. XX ..........", -"............. XX ..........", -"............. XX .........", -"............ X X ........", -"............ XX ........", -"............ XX . .......", -"............ X .. .......", -"........... XX .... XX ......", -"........... XX ..... XX ......", -"........... XX ...... X ......", -"........... X ...... X ......", -"........... X ....... .......", -"...........XX ....... ........", -".......... XX ....... ...........", -".......... XX ..................", -".......... XX .................", -".......... XX .................", -".......... XX ................", -".......... XX ................", -".......... XXX ...............", -"........... XXXXXXXXXXXXXXXXXXXXX ...............", +"............... . XX ...........", +"............... .. XX ...........", +".............. .. X ...........", +".............. .. ..........", +"............. .. ..........", +"............. .. .........", +"............ . X ........", +"............ .. ........", +"............ .. . .......", +"............ . .. .......", +"........... .. .... XX ......", +"........... .. ..... XX ......", +"........... .. ...... X ......", +"........... . ...... X ......", +"........... . ....... .......", +"............. ....... ........", +".......... .. ....... ...........", +".......... .. ..................", +".......... .. .................", +".......... .. .................", +".......... .. ................", +".......... .. ................", +".......... ... ...............", +"........... ..................... ...............", "........... ...............", "........... ...............", "........... XXXXXXXXXXXXXXXXXXXXX ...............", diff --git a/pixmaps/dkdd33.xpm b/pixmaps/dkdd33.xpm index d78eb79..dc67d69 100644 --- a/pixmaps/dkdd33.xpm +++ b/pixmaps/dkdd33.xpm @@ -1,9 +1,10 @@ /* XPM */ static char *dkdd33[] = { /* columns rows colors chars-per-pixel */ -"33 33 2 1", +"33 33 3 1", " c black s dark_piece", ". c green s dark_square", +"X c white s light_piece", /* pixels */ ".................................", "................ ................", @@ -12,26 +13,26 @@ static char *dkdd33[] = { "............. .............", "............ ............", "........... ...........", -".......... . ....... . ..........", -"...... . . . . ......", -"...... ... ... ......", +".......... X XXXXXXX X ..........", +"...... X X X X ......", +"...... XXX XXX ......", "...... ......", "...... ......", -"...... ................. ......", +"...... XXXXXXXXXXXXXXXXX ......", "....... .......", -"........ ............. ........", +"........ XXXXXXXXXXXXX ........", "......... .........", "......... .........", "......... .........", "......... .........", "......... .........", "......... .........", -"......... ............. .........", +"......... XXXXXXXXXXXXX .........", "........ ........", -"....... ................. .......", +"....... XXXXXXXXXXXXXXXXX .......", "....... .......", "....... .......", -"..... ................. .....", +"..... XXXXXXXXXXXXXXXXX .....", "..... .....", "..... .....", ".................................", diff --git a/pixmaps/dkdd49.xpm b/pixmaps/dkdd49.xpm index 0a467fb..6a5df6c 100644 --- a/pixmaps/dkdd49.xpm +++ b/pixmaps/dkdd49.xpm @@ -1,9 +1,10 @@ /* XPM */ static char *dkdd49[] = { /* columns rows colors chars-per-pixel */ -"49 49 2 1", +"49 49 3 1", " c black s dark_piece", ". c green s dark_square", +"X c white s light_piece", /* pixels */ ".................................................", ".................................................", @@ -14,18 +15,18 @@ static char *dkdd49[] = { "................. .................", "............... ...............", ".............. ..............", -"......... .. ......... .. .........", -"......... . . . . .........", -"......... . . . . .........", -"......... . . . . .........", -"......... ..... ..... .........", +"......... XX XXXXXXXXX XX .........", +"......... X X X X .........", +"......... X X X X .........", +"......... X X X X .........", +"......... XXXXX XXXXX .........", "......... .........", "......... .........", -"......... ........................... .........", +"......... XXXXXXXXXXXXXXXXXXXXXXXXXXX .........", ".......... ..........", "........... ...........", "............ ............", -"............. ..................... .............", +"............. XXXXXXXXXXXXXXXXXXXXX .............", "............. .............", "............. .............", "............. .............", @@ -36,16 +37,16 @@ static char *dkdd49[] = { "............. .............", "............. .............", "............. .............", -"............. ..................... .............", +"............. XXXXXXXXXXXXXXXXXXXXX .............", "............ ............", "............ ...........", "........... ...........", -".......... ......................... ..........", +".......... XXXXXXXXXXXXXXXXXXXXXXXXX ..........", ".......... ..........", ".......... ..........", ".......... ..........", ".......... ..........", -"....... ........................... .......", +"....... XXXXXXXXXXXXXXXXXXXXXXXXXXX .......", "....... .......", "....... .......", "....... .......", diff --git a/pixmaps/dkdd72.xpm b/pixmaps/dkdd72.xpm index d6edb72..eab91da 100644 --- a/pixmaps/dkdd72.xpm +++ b/pixmaps/dkdd72.xpm @@ -1,9 +1,10 @@ /* XPM */ static char *dkdd72[] = { /* columns rows colors chars-per-pixel */ -"72 72 2 1", +"72 72 3 1", " c black s dark_piece", ". c green s dark_square", +"X c white s light_piece", /* pixels */ "........................................................................", "........................................................................", @@ -17,24 +18,24 @@ static char *dkdd72[] = { "........................ ........................", "...................... ......................", ".................... ....................", -"................... .... .............. .... ...................", -"............. ..... .............. ..... .............", -"............. .. .. .. .. .............", -"............. .. .. .. .. .............", -"............. .. .. .. .. .............", -"............. ....... ....... .............", -"............. ....... ....... .............", +"................... XXXX XXXXXXXXXXXXXX XXXX ...................", +"............. XXXXX XXXXXXXXXXXXXX XXXXX .............", +"............. XX XX XX XX .............", +"............. XX XX XX XX .............", +"............. XX XX XX XX .............", +"............. XXXXXXX XXXXXXX .............", +"............. XXXXXXX XXXXXXX .............", "............. .............", "............. .............", "............. .............", "............. .............", -"............. ........................................ .............", -"............. ........................................ .............", +"............. XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX .............", +"............. XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX .............", ".............. ..............", "............... ...............", "................. .................", -".................. .............................. ..................", -"................... .............................. ...................", +".................. XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX ..................", +"................... XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX ...................", "................... ...................", "................... ...................", "................... ...................", @@ -52,20 +53,20 @@ static char *dkdd72[] = { "................... ...................", "................... ...................", "................... ...................", -"................... .............................. ...................", -".................. .............................. ..................", +"................... XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX ...................", +".................. XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX ..................", "................. .................", "................ ................", "............... ...............", -".............. ...................................... ..............", -".............. ...................................... ..............", +".............. XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX ..............", +".............. XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX ..............", ".............. ..............", ".............. ..............", ".............. ..............", ".............. ..............", ".............. ..............", -"......... ........................................ .........", -"......... ........................................ .........", +"......... XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX .........", +"......... XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX .........", "......... .........", "......... .........", "......... .........", diff --git a/pixmaps/dkdl33.xpm b/pixmaps/dkdl33.xpm index f3ea94f..efc5e5c 100644 --- a/pixmaps/dkdl33.xpm +++ b/pixmaps/dkdl33.xpm @@ -1,9 +1,10 @@ /* XPM */ static char *dkdl33[] = { /* columns rows colors chars-per-pixel */ -"33 33 2 1", +"33 33 3 1", " c black s dark_piece", ". c gray s light_square", +"X c white s light_piece", /* pixels */ ".................................", "................ ................", @@ -12,26 +13,26 @@ static char *dkdl33[] = { "............. .............", "............ ............", "........... ...........", -".......... . ....... . ..........", -"...... . . . . ......", -"...... ... ... ......", +".......... X XXXXXXX X ..........", +"...... X X X X ......", +"...... XXX XXX ......", "...... ......", "...... ......", -"...... ................. ......", +"...... XXXXXXXXXXXXXXXXX ......", "....... .......", -"........ ............. ........", +"........ XXXXXXXXXXXXX ........", "......... .........", "......... .........", "......... .........", "......... .........", "......... .........", "......... .........", -"......... ............. .........", +"......... XXXXXXXXXXXXX .........", "........ ........", -"....... ................. .......", +"....... XXXXXXXXXXXXXXXXX .......", "....... .......", "....... .......", -"..... ................. .....", +"..... XXXXXXXXXXXXXXXXX .....", "..... .....", "..... .....", ".................................", diff --git a/pixmaps/dkdl49.xpm b/pixmaps/dkdl49.xpm index 68b8c45..ca446e6 100644 --- a/pixmaps/dkdl49.xpm +++ b/pixmaps/dkdl49.xpm @@ -1,9 +1,10 @@ /* XPM */ static char *dkdl49[] = { /* columns rows colors chars-per-pixel */ -"49 49 2 1", +"49 49 3 1", " c black s dark_piece", ". c gray s light_square", +"X c white s light_piece", /* pixels */ ".................................................", ".................................................", @@ -14,18 +15,18 @@ static char *dkdl49[] = { "................. .................", "............... ...............", ".............. ..............", -"......... .. ......... .. .........", -"......... . . . . .........", -"......... . . . . .........", -"......... . . . . .........", -"......... ..... ..... .........", +"......... XX XXXXXXXXX XX .........", +"......... X X X X .........", +"......... X X X X .........", +"......... X X X X .........", +"......... XXXXX XXXXX .........", "......... .........", "......... .........", -"......... ........................... .........", +"......... XXXXXXXXXXXXXXXXXXXXXXXXXXX .........", ".......... ..........", "........... ...........", "............ ............", -"............. ..................... .............", +"............. XXXXXXXXXXXXXXXXXXXXX .............", "............. .............", "............. .............", "............. .............", @@ -36,16 +37,16 @@ static char *dkdl49[] = { "............. .............", "............. .............", "............. .............", -"............. ..................... .............", +"............. XXXXXXXXXXXXXXXXXXXXX .............", "............ ............", "............ ...........", "........... ...........", -".......... ......................... ..........", +".......... XXXXXXXXXXXXXXXXXXXXXXXXX ..........", ".......... ..........", ".......... ..........", ".......... ..........", ".......... ..........", -"....... ........................... .......", +"....... XXXXXXXXXXXXXXXXXXXXXXXXXXX .......", "....... .......", "....... .......", "....... .......", diff --git a/pixmaps/dkdl72.xpm b/pixmaps/dkdl72.xpm index e381da4..e687740 100644 --- a/pixmaps/dkdl72.xpm +++ b/pixmaps/dkdl72.xpm @@ -1,9 +1,10 @@ /* XPM */ static char *dkdl72[] = { /* columns rows colors chars-per-pixel */ -"72 72 2 1", +"72 72 3 1", " c black s dark_piece", ". c gray s light_square", +"X c white s light_piece", /* pixels */ "........................................................................", "........................................................................", @@ -17,24 +18,24 @@ static char *dkdl72[] = { "........................ ........................", "...................... ......................", ".................... ....................", -"................... .... .............. .... ...................", -"............. ..... .............. ..... .............", -"............. .. .. .. .. .............", -"............. .. .. .. .. .............", -"............. .. .. .. .. .............", -"............. ....... ....... .............", -"............. ....... ....... .............", +"................... XXXX XXXXXXXXXXXXXX XXXX ...................", +"............. XXXXX XXXXXXXXXXXXXX XXXXX .............", +"............. XX XX XX XX .............", +"............. XX XX XX XX .............", +"............. XX XX XX XX .............", +"............. XXXXXXX XXXXXXX .............", +"............. XXXXXXX XXXXXXX .............", "............. .............", "............. .............", "............. .............", "............. .............", -"............. ........................................ .............", -"............. ........................................ .............", +"............. XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX .............", +"............. XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX .............", ".............. ..............", "............... ...............", "................. .................", -".................. .............................. ..................", -"................... .............................. ...................", +".................. XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX ..................", +"................... XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX ...................", "................... ...................", "................... ...................", "................... ...................", @@ -52,20 +53,20 @@ static char *dkdl72[] = { "................... ...................", "................... ...................", "................... ...................", -"................... .............................. ...................", -".................. .............................. ..................", +"................... XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX ...................", +".................. XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX ..................", "................. .................", "................ ................", "............... ...............", -".............. ...................................... ..............", -".............. ...................................... ..............", +".............. XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX ..............", +".............. XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX ..............", ".............. ..............", ".............. ..............", ".............. ..............", ".............. ..............", ".............. ..............", -"......... ........................................ .........", -"......... ........................................ .........", +"......... XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX .........", +"......... XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX .........", "......... .........", "......... .........", "......... .........", diff --git a/pixmaps/edd33.xpm b/pixmaps/edd33.xpm index f2acddf..ceb88c4 100644 --- a/pixmaps/edd33.xpm +++ b/pixmaps/edd33.xpm @@ -1,39 +1,40 @@ /* XPM */ static char *edd33[] = { /* columns rows colors chars-per-pixel */ -"33 33 2 1", +"33 33 3 1", " c black s dark_piece", ". c green s dark_square", +"X c white s light_piece", /* pixels */ ".................................", "................ ...........", "............. ........", -"............ . ......", -"........... . .....", -".......... . ...", -".......... . ... ..", -".......... . . .", -".......... . .", -".......... . .", -".......... . .", +"............ X ......", +"........... X .....", +".......... X ...", +".......... X XXX ..", +".......... X X .", +".......... X .", +".......... X .", +".......... X .", ".......... .", ".......... ..", -"......... .. . ..", -"......... .. . ..", -".. ... . ..", -".. ... .. ...", +"......... XX X ..", +"......... XX X ..", +".. ... X ..", +".. ... XX ...", ".. .... . ...", -". ..... .. . ... ...", -". ..... . . ....... ...", -". .... . . ........ ...", -". .... . .. .......... ...", -". ... .. .. ............ ...", -". . .. .. ............ ....", -". ... . .. .................", -". . .. .................", -" .... .................", -".. .... ..................", -". .. ..................", +". ..... XX X ... ...", +". ..... X X ....... ...", +". .... X X ........ ...", +". .... X XX .......... ...", +". ... XX XX ............ ...", +". . XX XX ............ ....", +". XXX X XX .................", +". X XX .................", +" XXXX .................", +".. XXXX ..................", +". XX ..................", ".... ..................", "..... ...................", "...... ....................", diff --git a/pixmaps/edd49.xpm b/pixmaps/edd49.xpm index 10bc839..b782e97 100644 --- a/pixmaps/edd49.xpm +++ b/pixmaps/edd49.xpm @@ -1,52 +1,53 @@ /* XPM */ static char *edd49[] = { /* columns rows colors chars-per-pixel */ -"49 49 2 1", +"49 49 3 1", " c black s dark_piece", ". c green s dark_square", +"X c white s light_piece", /* pixels */ ".................................................", ".................................................", ".......................... ...............", ".................... ...........", -".................. .. ........", -"................. . .......", -"................ . .......", -"................ . . ...", -"................ . ... ...", -"................ . .. ...", -"................ . . ..", -"................ . ..", -"................ . ..", -"................ . ..", -"................ . ..", +".................. XX ........", +"................. X .......", +"................ X .......", +"................ X X ...", +"................ X XXX ...", +"................ X XX ...", +"................ X X ..", +"................ X ..", +"................ X ..", +"................ X ..", +"................ X ..", "................ ..", "................ ..", "................ ..", "............... ...", -"............... .. ...", -".............. .. ...", -".............. ... ...", +"............... XX ...", +".............. XX ...", +".............. XXX ...", "..... ...... ...", ".... ..... . ....", -".... ..... ... .. ....", +".... ..... XXX .. ....", ".... ...... ... ....", ".... ...... ..... ....", -"... ........ .. . ....... ....", -"... ....... . ......... ....", -"... ...... . . . ........... ....", -"... ...... . .. ............... ....", -"... ..... .. . ................ ....", -"... ..... .. .. .................. ....", -"... .... .. . .. ................... ....", -"... ... .. .. ... .................... ....", -"... . .. ... .. ..........................", -".... .. ... .. ..........................", -".... . ... .. ..........................", -"... . .. .. ..........................", -". . ... . ..........................", -"...... . .. .. ..........................", -"...... ..... ... ..........................", +"... ........ XX X ....... ....", +"... ....... X ......... ....", +"... ...... X X X ........... ....", +"... ...... X XX ............... ....", +"... ..... XX X ................ ....", +"... ..... XX XX .................. ....", +"... .... XX X XX ................... ....", +"... ... XX XX XXX .................... ....", +"... . XX XXX XX ..........................", +".... XX XXX XX ..........................", +".... X XXX XX ..........................", +"... X XX XX ..........................", +". X XXX X ..........................", +"...... X XX XX ..........................", +"...... XXXXX XXX ..........................", "....... ...........................", "........ ............................", "......... .............................", diff --git a/pixmaps/edd72.xpm b/pixmaps/edd72.xpm index 51e42cb..9395b9e 100644 --- a/pixmaps/edd72.xpm +++ b/pixmaps/edd72.xpm @@ -1,73 +1,74 @@ /* XPM */ static char *edd72[] = { /* columns rows colors chars-per-pixel */ -"72 72 2 1", +"72 72 3 1", " c black s dark_piece", ". c green s dark_square", +"X c white s light_piece", /* pixels */ "........................................................................", "........................................................................", "...................................... ......................", ".............................. ...................", "........................... ................", -".......................... .. ..............", -"......................... .. ...........", -"........................ ... ..........", -"....................... ... .........", -"...................... .. .....", -"...................... ... ..... ....", -"...................... .. ...... ...", -"...................... .. ..... ...", -"...................... .. ..... ...", -"...................... .. ... ...", -"...................... .. ..", -"...................... .. ..", -"...................... .. ..", -"...................... .. ..", -"...................... .. ..", -"...................... .. ..", -"...................... .. ..", +".......................... XX ..............", +"......................... XX ...........", +"........................ XXX ..........", +"....................... XXX .........", +"...................... XX .....", +"...................... XXX XXXXX ....", +"...................... XX XXXXXX ...", +"...................... XX XXXXX ...", +"...................... XX XXXXX ...", +"...................... XX XXX ...", +"...................... XX ..", +"...................... XX ..", +"...................... XX ..", +"...................... XX ..", +"...................... XX ..", +"...................... XX ..", +"...................... XX ..", "...................... ..", "...................... ..", "...................... ..", "...................... ..", "..................... ..", -".................... ... ...", -".................... ... ...", -".................... ... .. ...", -".................... ... ...", -".................... .... .. ...", -".................... .... .. ....", -"..... ............ . ....", +".................... XXX ...", +".................... XXX ...", +".................... XXX XX ...", +".................... XXX ...", +".................... XXXX XX ...", +".................... XXXX XX ....", +"..... ............ X ....", "..... .......... ....", -".... ......... .... . ....", -".... ........ .... .. ....", +".... ......... XXXX . ....", +".... ........ XXXX .. ....", ".... ......... ... ....", "... .......... ..... ....", -"... ........... ... ....... .....", -"... ........... ... ......... .....", +"... ........... XXX ....... .....", +"... ........... XXX ......... .....", "... ............ ........... .....", -"... ........... .. ............. .....", -".. .......... .. ................ .....", -".. ......... . .. ................... .....", -".. ......... .. ... .. .................... .....", -".. ........ .. .. .. ...................... .....", -".. ........ .... . ... ......................... .....", -".. ....... ... .. . ........................... .....", -".. ...... ... . .... ............................ .....", -".. ..... ... .. ... .............................. .....", -".. .... ... ... ... ............................... ......", -".. .. ... ... ... ......................................", -".. . ... ... ... .......................................", -"... ... ... ... .......................................", -"... ... ... ... .......................................", -"... .. ... ... .......................................", -"... ... ... .......................................", -".... .. ... .......................................", -"... ... . .......................................", -". ... .. .......................................", -"...... ..... ... .......................................", -"....... ... ........................................", +"... ........... XX ............. .....", +".. .......... XX ................ .....", +".. ......... X XX ................... .....", +".. ......... XX XXX XX .................... .....", +".. ........ XX XX XX ...................... .....", +".. ........ XXXX X XXX ......................... .....", +".. ....... XXX XX X ........................... .....", +".. ...... XXX X XXXX ............................ .....", +".. ..... XXX XX XXX .............................. .....", +".. .... XXX XXX XXX ............................... ......", +".. .. XXX XXX XXX ......................................", +".. . XXX XXX XXX .......................................", +"... XXX XXX XXX .......................................", +"... XXX XXX XXX .......................................", +"... XX XXX XXX .......................................", +"... XXX XXX .......................................", +".... XX XXX .......................................", +"... XXX X .......................................", +". XXX XX .......................................", +"...... XXXXX XXX .......................................", +"....... XXX ........................................", "..... ........................................", "......... .........................................", ".......... .........................................", diff --git a/pixmaps/edl33.xpm b/pixmaps/edl33.xpm index 01f8a7d..2398f0a 100644 --- a/pixmaps/edl33.xpm +++ b/pixmaps/edl33.xpm @@ -1,39 +1,40 @@ /* XPM */ static char *edl33[] = { /* columns rows colors chars-per-pixel */ -"33 33 2 1", +"33 33 3 1", " c black s dark_piece", ". c gray s light_square", +"X c white s light_piece", /* pixels */ ".................................", "................ ...........", "............. ........", -"............ . ......", -"........... . .....", -".......... . ...", -".......... . ... ..", -".......... . . .", -".......... . .", -".......... . .", -".......... . .", +"............ X ......", +"........... X .....", +".......... X ...", +".......... X XXX ..", +".......... X X .", +".......... X .", +".......... X .", +".......... X .", ".......... .", ".......... ..", -"......... .. . ..", -"......... .. . ..", -".. ... . ..", -".. ... .. ...", +"......... XX X ..", +"......... XX X ..", +".. ... X ..", +".. ... XX ...", ".. .... . ...", -". ..... .. . ... ...", -". ..... . . ....... ...", -". .... . . ........ ...", -". .... . .. .......... ...", -". ... .. .. ............ ...", -". . .. .. ............ ....", -". ... . .. .................", -". . .. .................", -" .... .................", -".. .... ..................", -". .. ..................", +". ..... XX X ... ...", +". ..... X X ....... ...", +". .... X X ........ ...", +". .... X XX .......... ...", +". ... XX XX ............ ...", +". . XX XX ............ ....", +". XXX X XX .................", +". X XX .................", +" XXXX .................", +".. XXXX ..................", +". XX ..................", ".... ..................", "..... ...................", "...... ....................", diff --git a/pixmaps/edl49.xpm b/pixmaps/edl49.xpm index 69fc2bf..9bd94ab 100644 --- a/pixmaps/edl49.xpm +++ b/pixmaps/edl49.xpm @@ -1,52 +1,53 @@ /* XPM */ static char *edl49[] = { /* columns rows colors chars-per-pixel */ -"49 49 2 1", +"49 49 3 1", " c black s dark_piece", ". c gray s light_square", +"X c white s light_piece", /* pixels */ ".................................................", ".................................................", ".......................... ...............", ".................... ...........", -".................. .. ........", -"................. . .......", -"................ . .......", -"................ . . ...", -"................ . ... ...", -"................ . .. ...", -"................ . . ..", -"................ . ..", -"................ . ..", -"................ . ..", -"................ . ..", +".................. XX ........", +"................. X .......", +"................ X .......", +"................ X X ...", +"................ X XXX ...", +"................ X XX ...", +"................ X X ..", +"................ X ..", +"................ X ..", +"................ X ..", +"................ X ..", "................ ..", "................ ..", "................ ..", "............... ...", -"............... .. ...", -".............. .. ...", -".............. ... ...", +"............... XX ...", +".............. XX ...", +".............. XXX ...", "..... ...... ...", ".... ..... . ....", -".... ..... ... .. ....", +".... ..... XXX .. ....", ".... ...... ... ....", ".... ...... ..... ....", -"... ........ .. . ....... ....", -"... ....... . ......... ....", -"... ...... . . . ........... ....", -"... ...... . .. ............... ....", -"... ..... .. . ................ ....", -"... ..... .. .. .................. ....", -"... .... .. . .. ................... ....", -"... ... .. .. ... .................... ....", -"... . .. ... .. ..........................", -".... .. ... .. ..........................", -".... . ... .. ..........................", -"... . .. .. ..........................", -". . ... . ..........................", -"...... . .. .. ..........................", -"...... ..... ... ..........................", +"... ........ XX X ....... ....", +"... ....... X ......... ....", +"... ...... X X X ........... ....", +"... ...... X XX ............... ....", +"... ..... XX X ................ ....", +"... ..... XX XX .................. ....", +"... .... XX X XX ................... ....", +"... ... XX XX XXX .................... ....", +"... . XX XXX XX ..........................", +".... XX XXX XX ..........................", +".... X XXX XX ..........................", +"... X XX XX ..........................", +". X XXX X ..........................", +"...... X XX XX ..........................", +"...... XXXXX XXX ..........................", "....... ...........................", "........ ............................", "......... .............................", diff --git a/pixmaps/edl72.xpm b/pixmaps/edl72.xpm index a8572bd..36a26bd 100644 --- a/pixmaps/edl72.xpm +++ b/pixmaps/edl72.xpm @@ -1,73 +1,74 @@ /* XPM */ static char *edl72[] = { /* columns rows colors chars-per-pixel */ -"72 72 2 1", +"72 72 3 1", " c black s dark_piece", ". c gray s light_square", +"X c white s light_piece", /* pixels */ "........................................................................", "........................................................................", "...................................... ......................", ".............................. ...................", "........................... ................", -".......................... .. ..............", -"......................... .. ...........", -"........................ ... ..........", -"....................... ... .........", -"...................... .. .....", -"...................... ... ..... ....", -"...................... .. ...... ...", -"...................... .. ..... ...", -"...................... .. ..... ...", -"...................... .. ... ...", -"...................... .. ..", -"...................... .. ..", -"...................... .. ..", -"...................... .. ..", -"...................... .. ..", -"...................... .. ..", -"...................... .. ..", +".......................... XX ..............", +"......................... XX ...........", +"........................ XXX ..........", +"....................... XXX .........", +"...................... XX .....", +"...................... XXX XXXXX ....", +"...................... XX XXXXXX ...", +"...................... XX XXXXX ...", +"...................... XX XXXXX ...", +"...................... XX XXX ...", +"...................... XX ..", +"...................... XX ..", +"...................... XX ..", +"...................... XX ..", +"...................... XX ..", +"...................... XX ..", +"...................... XX ..", "...................... ..", "...................... ..", "...................... ..", "...................... ..", "..................... ..", -".................... ... ...", -".................... ... ...", -".................... ... .. ...", -".................... ... ...", -".................... .... .. ...", -".................... .... .. ....", -"..... ............ . ....", +".................... XXX ...", +".................... XXX ...", +".................... XXX XX ...", +".................... XXX ...", +".................... XXXX XX ...", +".................... XXXX XX ....", +"..... ............ X ....", "..... .......... ....", -".... ......... .... . ....", -".... ........ .... .. ....", +".... ......... XXXX . ....", +".... ........ XXXX .. ....", ".... ......... ... ....", "... .......... ..... ....", -"... ........... ... ....... .....", -"... ........... ... ......... .....", +"... ........... XXX ....... .....", +"... ........... XXX ......... .....", "... ............ ........... .....", -"... ........... .. ............. .....", -".. .......... .. ................ .....", -".. ......... . .. ................... .....", -".. ......... .. ... .. .................... .....", -".. ........ .. .. .. ...................... .....", -".. ........ .... . ... ......................... .....", -".. ....... ... .. . ........................... .....", -".. ...... ... . .... ............................ .....", -".. ..... ... .. ... .............................. .....", -".. .... ... ... ... ............................... ......", -".. .. ... ... ... ......................................", -".. . ... ... ... .......................................", -"... ... ... ... .......................................", -"... ... ... ... .......................................", -"... .. ... ... .......................................", -"... ... ... .......................................", -".... .. ... .......................................", -"... ... . .......................................", -". ... .. .......................................", -"...... ..... ... .......................................", -"....... ... ........................................", +"... ........... XX ............. .....", +".. .......... XX ................ .....", +".. ......... X XX ................... .....", +".. ......... XX XXX XX .................... .....", +".. ........ XX XX XX ...................... .....", +".. ........ XXXX X XXX ......................... .....", +".. ....... XXX XX X ........................... .....", +".. ...... XXX X XXXX ............................ .....", +".. ..... XXX XX XXX .............................. .....", +".. .... XXX XXX XXX ............................... ......", +".. .. XXX XXX XXX ......................................", +".. . XXX XXX XXX .......................................", +"... XXX XXX XXX .......................................", +"... XXX XXX XXX .......................................", +"... XX XXX XXX .......................................", +"... XXX XXX .......................................", +".... XX XXX .......................................", +"... XXX X .......................................", +". XXX XX .......................................", +"...... XXXXX XXX .......................................", +"....... XXX ........................................", "..... ........................................", "......... .........................................", ".......... .........................................", diff --git a/pixmaps/fdd33.xpm b/pixmaps/fdd33.xpm index 439175b..9e353d4 100644 --- a/pixmaps/fdd33.xpm +++ b/pixmaps/fdd33.xpm @@ -1,9 +1,10 @@ /* XPM */ static char *fdd33[] = { /* columns rows colors chars-per-pixel */ -"33 33 2 1", +"33 33 3 1", " c black s dark_piece", ". c green s dark_square", +"X c white s light_piece", /* pixels */ ".................................", ".................................", @@ -13,23 +14,23 @@ static char *fdd33[] = { "............. .............", "............. .............", ".............. ..............", -".............. ... ..............", -"............. . .............", -"............ . ............", -"........... . ...........", -".......... . ..........", -"........ . ........", -"...... ............. ......", -".... .... .... ....", -"... .. .. ...", -".. . .......... . ..", -". ... ... ..", -".. . . ...", +".............. XXX ..............", +"............. X .............", +"............ X ............", +"........... X ...........", +".......... X ..........", +"........ X ........", +"...... XXXXXXXXXXXXX ......", +".... XXXX XXXX ....", +"... XX XX ...", +".. X XXXXXXXXXX X ..", +". XXX XXX ..", +".. X X ...", ".. ....", -"... ............. ....", -"... .... .... ...", -".. .. ... ...", -".. . . ..", +"... XXXXXXXXXXXXX ....", +"... XXXX XXXX ...", +".. XX XXX ...", +".. X X ..", ".. ..", ".. ..", "... ...", diff --git a/pixmaps/fdd49.xpm b/pixmaps/fdd49.xpm index f6a4c66..c6dbfa4 100644 --- a/pixmaps/fdd49.xpm +++ b/pixmaps/fdd49.xpm @@ -1,9 +1,10 @@ /* XPM */ static char *fdd49[] = { /* columns rows colors chars-per-pixel */ -"49 49 2 1", +"49 49 3 1", " c black s dark_piece", ". c green s dark_square", +"X c white s light_piece", /* pixels */ ".................................................", ".................................................", @@ -20,31 +21,31 @@ static char *fdd49[] = { ".................... ...................", "..................... ....................", "..................... ....................", -"...................... .... .....................", -"...................... . .....................", -"..................... . ....................", -".................... . ...................", -"................... . ..................", -"................. . .................", -"................ . ................", -".............. . ..............", -"............. . .............", -"........... . ...........", -".......... ................. ..........", -"........ ...... ...... ........", -"....... . . .......", +"...................... XXXX .....................", +"...................... X .....................", +"..................... X ....................", +".................... X ...................", +"................... X ..................", +"................. X .................", +"................ X ................", +".............. X ..............", +"............. X .............", +"........... X ...........", +".......... XXXXXXXXXXXXXXXXX ..........", +"........ XXXXXX XXXXXX ........", +"....... X X .......", "...... ......", "..... .....", "..... .....", -"...... ............. ......", -"...... .... ... ......", -"....... .. .. .......", +"...... XXXXXXXXXXXXX ......", +"...... XXXX XXX ......", +"....... XX XX .......", "....... .......", "....... .......", -"...... ................. ......", -"...... ...... ...... ......", -"...... ... ... ......", -"..... . . .....", +"...... XXXXXXXXXXXXXXXXX ......", +"...... XXXXXX XXXXXX ......", +"...... XXX XXX ......", +"..... X X .....", "..... .....", "...... ......", "....... .......", diff --git a/pixmaps/fdd72.xpm b/pixmaps/fdd72.xpm index 0309ac2..6f780af 100644 --- a/pixmaps/fdd72.xpm +++ b/pixmaps/fdd72.xpm @@ -1,9 +1,10 @@ /* XPM */ static char *fdd72[] = { /* columns rows colors chars-per-pixel */ -"72 72 2 1", +"72 72 3 1", " c black s dark_piece", ". c green s dark_square", +"X c white s light_piece", /* pixels */ "........................................................................", "........................................................................", @@ -33,8 +34,8 @@ static char *fdd72[] = { "............................... ..............................", "............................... ..............................", "................................ ...............................", -"................................. .... ................................", -"................................. .... .................................", +"................................. XXXX ................................", +"................................. XXXX .................................", "................................ ................................", "............................... ...............................", ".............................. ..............................", @@ -45,26 +46,26 @@ static char *fdd72[] = { "....................... ......................", "..................... .....................", "................... ...................", -".................. .................... ..................", -"................ ................................ ................", -".............. ........ ........ ..............", -"............. ... ... ............", +".................. XXXXXXXXXXXXXXXXXXXX ..................", +"................ XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX ................", +".............. XXXXXXXX XXXXXXXX ..............", +"............. XXX XXX ............", "........... ...........", ".......... ..........", "......... .........", -"......... ................. .........", -"......... .......................... ..........", -".......... ......... .......... ..........", -".......... .......... ...... ...........", -"........... ..... ... ...........", +"......... XXXXXXXXXXXXXXXXX .........", +"......... XXXXXXXXXXXXXXXXXXXXXXXXXX ..........", +".......... XXXXXXXXX XXXXXXXXXX ..........", +".......... XXXXXXXXXX XXXXXX ...........", +"........... XXXXX XXX ...........", "........... ............", "............ ............", -"........... .................... ...........", -"........... ................................ ...........", -".......... .......... .......... ..........", -".......... ......... ......... ..........", -"......... ..... ..... .........", -"......... ... ... .........", +"........... XXXXXXXXXXXXXXXXXXXX ...........", +"........... XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX ...........", +".......... XXXXXXXXXX XXXXXXXXXX ..........", +".......... XXXXXXXXX XXXXXXXXX ..........", +"......... XXXXX XXXXX .........", +"......... XXX XXX .........", "......... .........", "......... .........", ".......... ..........", diff --git a/pixmaps/fdl33.xpm b/pixmaps/fdl33.xpm index 95f0dd2..591575e 100644 --- a/pixmaps/fdl33.xpm +++ b/pixmaps/fdl33.xpm @@ -1,9 +1,10 @@ /* XPM */ static char *fdl33[] = { /* columns rows colors chars-per-pixel */ -"33 33 2 1", +"33 33 3 1", " c black s dark_piece", ". c gray s light_square", +"X c white s light_piece", /* pixels */ ".................................", ".................................", @@ -13,23 +14,23 @@ static char *fdl33[] = { "............. .............", "............. .............", ".............. ..............", -".............. ... ..............", -"............. . .............", -"............ . ............", -"........... . ...........", -".......... . ..........", -"........ . ........", -"...... ............. ......", -".... .... .... ....", -"... .. .. ...", -".. . .......... . ..", -". ... ... ..", -".. . . ...", +".............. XXX ..............", +"............. X .............", +"............ X ............", +"........... X ...........", +".......... X ..........", +"........ X ........", +"...... XXXXXXXXXXXXX ......", +".... XXXX XXXX ....", +"... XX XX ...", +".. X XXXXXXXXXX X ..", +". XXX XXX ..", +".. X X ...", ".. ....", -"... ............. ....", -"... .... .... ...", -".. .. ... ...", -".. . . ..", +"... XXXXXXXXXXXXX ....", +"... XXXX XXXX ...", +".. XX XXX ...", +".. X X ..", ".. ..", ".. ..", "... ...", diff --git a/pixmaps/fdl49.xpm b/pixmaps/fdl49.xpm index d2995b9..b99972a 100644 --- a/pixmaps/fdl49.xpm +++ b/pixmaps/fdl49.xpm @@ -1,9 +1,10 @@ /* XPM */ static char *fdl49[] = { /* columns rows colors chars-per-pixel */ -"49 49 2 1", +"49 49 3 1", " c black s dark_piece", ". c gray s light_square", +"X c white s light_piece", /* pixels */ ".................................................", ".................................................", @@ -20,31 +21,31 @@ static char *fdl49[] = { ".................... ...................", "..................... ....................", "..................... ....................", -"...................... .... .....................", -"...................... . .....................", -"..................... . ....................", -".................... . ...................", -"................... . ..................", -"................. . .................", -"................ . ................", -".............. . ..............", -"............. . .............", -"........... . ...........", -".......... ................. ..........", -"........ ...... ...... ........", -"....... . . .......", +"...................... XXXX .....................", +"...................... X .....................", +"..................... X ....................", +".................... X ...................", +"................... X ..................", +"................. X .................", +"................ X ................", +".............. X ..............", +"............. X .............", +"........... X ...........", +".......... XXXXXXXXXXXXXXXXX ..........", +"........ XXXXXX XXXXXX ........", +"....... X X .......", "...... ......", "..... .....", "..... .....", -"...... ............. ......", -"...... .... ... ......", -"....... .. .. .......", +"...... XXXXXXXXXXXXX ......", +"...... XXXX XXX ......", +"....... XX XX .......", "....... .......", "....... .......", -"...... ................. ......", -"...... ...... ...... ......", -"...... ... ... ......", -"..... . . .....", +"...... XXXXXXXXXXXXXXXXX ......", +"...... XXXXXX XXXXXX ......", +"...... XXX XXX ......", +"..... X X .....", "..... .....", "...... ......", "....... .......", diff --git a/pixmaps/fdl72.xpm b/pixmaps/fdl72.xpm index 4b62989..875c6ed 100644 --- a/pixmaps/fdl72.xpm +++ b/pixmaps/fdl72.xpm @@ -1,9 +1,10 @@ /* XPM */ static char *fdl72[] = { /* columns rows colors chars-per-pixel */ -"72 72 2 1", +"72 72 3 1", " c black s dark_piece", ". c gray s light_square", +"X c white s light_piece", /* pixels */ "........................................................................", "........................................................................", @@ -33,8 +34,8 @@ static char *fdl72[] = { "............................... ..............................", "............................... ..............................", "................................ ...............................", -"................................. .... ................................", -"................................. .... .................................", +"................................. XXXX ................................", +"................................. XXXX .................................", "................................ ................................", "............................... ...............................", ".............................. ..............................", @@ -45,26 +46,26 @@ static char *fdl72[] = { "....................... ......................", "..................... .....................", "................... ...................", -".................. .................... ..................", -"................ ................................ ................", -".............. ........ ........ ..............", -"............. ... ... ............", +".................. XXXXXXXXXXXXXXXXXXXX ..................", +"................ XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX ................", +".............. XXXXXXXX XXXXXXXX ..............", +"............. XXX XXX ............", "........... ...........", ".......... ..........", "......... .........", -"......... ................. .........", -"......... .......................... ..........", -".......... ......... .......... ..........", -".......... .......... ...... ...........", -"........... ..... ... ...........", +"......... XXXXXXXXXXXXXXXXX .........", +"......... XXXXXXXXXXXXXXXXXXXXXXXXXX ..........", +".......... XXXXXXXXX XXXXXXXXXX ..........", +".......... XXXXXXXXXX XXXXXX ...........", +"........... XXXXX XXX ...........", "........... ............", "............ ............", -"........... .................... ...........", -"........... ................................ ...........", -".......... .......... .......... ..........", -".......... ......... ......... ..........", -"......... ..... ..... .........", -"......... ... ... .........", +"........... XXXXXXXXXXXXXXXXXXXX ...........", +"........... XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX ...........", +".......... XXXXXXXXXX XXXXXXXXXX ..........", +".......... XXXXXXXXX XXXXXXXXX ..........", +"......... XXXXX XXXXX .........", +"......... XXX XXX .........", "......... .........", "......... .........", ".......... ..........", diff --git a/pixmaps/gdd33.xpm b/pixmaps/gdd33.xpm index 228f71c..90f058d 100644 --- a/pixmaps/gdd33.xpm +++ b/pixmaps/gdd33.xpm @@ -1,9 +1,10 @@ /* XPM */ static char *gdd33[] = { /* columns rows colors chars-per-pixel */ -"33 33 2 1", +"33 33 3 1", " c black s dark_piece", ". c green s dark_square", +"X c white s light_piece", /* pixels */ ".................................", ".................................", @@ -26,11 +27,11 @@ static char *gdd33[] = { "........ ........", "........ ........", "........ ........", -"......... ....... .........", -"......... .. .. .........", +"......... XXXXXXX .........", +"......... XX XX .........", ".......... ..........", -".......... ....... ..........", -"........... .. .. ...........", +".......... XXXXXXX ..........", +"........... XX XX ...........", ".......... ..........", ".......... ..........", "......... .........", diff --git a/pixmaps/gdd49.xpm b/pixmaps/gdd49.xpm index ed736d9..733e002 100644 --- a/pixmaps/gdd49.xpm +++ b/pixmaps/gdd49.xpm @@ -1,9 +1,10 @@ /* XPM */ static char *gdd49[] = { /* columns rows colors chars-per-pixel */ -"49 49 2 1", +"49 49 3 1", " c black s dark_piece", ". c green s dark_square", +"X c white s light_piece", /* pixels */ ".................................................", ".................................................", @@ -37,13 +38,13 @@ static char *gdd49[] = { "............ ............", "............. .............", ".............. ..............", -".............. ....... ..............", -"............... ...... ...... ...............", +".............. XXXXXXX ..............", +"............... XXXXXX XXXXXX ...............", "............... ...............", "................ ................", "................ ................", -"................ ........... ................", -"................ ... ... ................", +"................ XXXXXXXXXXX ................", +"................ XXX XXX ................", "............... ...............", "............... ...............", ".............. ..............", diff --git a/pixmaps/gdd72.xpm b/pixmaps/gdd72.xpm index 04fb609..285453b 100644 --- a/pixmaps/gdd72.xpm +++ b/pixmaps/gdd72.xpm @@ -1,9 +1,10 @@ /* XPM */ static char *gdd72[] = { /* columns rows colors chars-per-pixel */ -"72 72 2 1", +"72 72 3 1", " c black s dark_piece", ". c green s dark_square", +"X c white s light_piece", /* pixels */ "..... .................................................................", "........................................................................", @@ -52,21 +53,21 @@ static char *gdd72[] = { "............... ................", "................ .................", "................. ..................", -".................. ........... ...................", -"................... ......................... ....................", -".................... .......... .......... .....................", -".................... . . .....................", +".................. XXXXXXXXXXX ...................", +"................... XXXXXXXXXXXXXXXXXXXXXXXXX ....................", +".................... XXXXXXXXXX XXXXXXXXXX .....................", +".................... X X .....................", "..................... ......................", "..................... ......................", "..................... ......................", -"..................... ........... ......................", -"..................... ....................... ......................", -"...................... ........ ........ .......................", +"..................... XXXXXXXXXXX ......................", +"..................... XXXXXXXXXXXXXXXXXXXXXXX ......................", +"...................... XXXXXXXX XXXXXXXX .......................", "..................... ......................", "..................... ......................", ".................... .....................", "................... ....................", -"................... .. ....................", +"................... XX ....................", ".................. ...................", ".................. ...................", ".................. ...................", diff --git a/pixmaps/gdl33.xpm b/pixmaps/gdl33.xpm index 93ab308..ffedcbc 100644 --- a/pixmaps/gdl33.xpm +++ b/pixmaps/gdl33.xpm @@ -1,9 +1,10 @@ /* XPM */ static char *gdl33[] = { /* columns rows colors chars-per-pixel */ -"33 33 2 1", +"33 33 3 1", " c black s dark_piece", ". c gray s light_square", +"X c white s light_piece", /* pixels */ ".................................", ".................................", @@ -26,11 +27,11 @@ static char *gdl33[] = { "........ ........", "........ ........", "........ ........", -"......... ....... .........", -"......... .. .. .........", +"......... XXXXXXX .........", +"......... XX XX .........", ".......... ..........", -".......... ....... ..........", -"........... .. .. ...........", +".......... XXXXXXX ..........", +"........... XX XX ...........", ".......... ..........", ".......... ..........", "......... .........", diff --git a/pixmaps/gdl49.xpm b/pixmaps/gdl49.xpm index cde3423..91d9234 100644 --- a/pixmaps/gdl49.xpm +++ b/pixmaps/gdl49.xpm @@ -1,9 +1,10 @@ /* XPM */ static char *gdl49[] = { /* columns rows colors chars-per-pixel */ -"49 49 2 1", +"49 49 3 1", " c black s dark_piece", ". c gray s light_square", +"X c white s light_piece", /* pixels */ ".................................................", ".................................................", @@ -37,13 +38,13 @@ static char *gdl49[] = { "............ ............", "............. .............", ".............. ..............", -".............. ....... ..............", -"............... ...... ...... ...............", +".............. XXXXXXX ..............", +"............... XXXXXX XXXXXX ...............", "............... ...............", "................ ................", "................ ................", -"................ ........... ................", -"................ ... ... ................", +"................ XXXXXXXXXXX ................", +"................ XXX XXX ................", "............... ...............", "............... ...............", ".............. ..............", diff --git a/pixmaps/gdl72.xpm b/pixmaps/gdl72.xpm index b2defd5..3bc956a 100644 --- a/pixmaps/gdl72.xpm +++ b/pixmaps/gdl72.xpm @@ -1,9 +1,10 @@ /* XPM */ static char *gdl72[] = { /* columns rows colors chars-per-pixel */ -"72 72 2 1", +"72 72 3 1", " c black s dark_piece", ". c gray s light_square", +"X c white s light_piece", /* pixels */ "..... .................................................................", "........................................................................", @@ -52,21 +53,21 @@ static char *gdl72[] = { "............... ................", "................ .................", "................. ..................", -".................. ........... ...................", -"................... ......................... ....................", -".................... .......... .......... .....................", -".................... . . .....................", +".................. XXXXXXXXXXX ...................", +"................... XXXXXXXXXXXXXXXXXXXXXXXXX ....................", +".................... XXXXXXXXXX XXXXXXXXXX .....................", +".................... X X .....................", "..................... ......................", "..................... ......................", "..................... ......................", -"..................... ........... ......................", -"..................... ....................... ......................", -"...................... ........ ........ .......................", +"..................... XXXXXXXXXXX ......................", +"..................... XXXXXXXXXXXXXXXXXXXXXXX ......................", +"...................... XXXXXXXX XXXXXXXX .......................", "..................... ......................", "..................... ......................", ".................... .....................", "................... ....................", -"................... .. ....................", +"................... XX ....................", ".................. ...................", ".................. ...................", ".................. ...................", diff --git a/pixmaps/hdd49.xpm b/pixmaps/hdd49.xpm index 9021925..4c46eac 100644 --- a/pixmaps/hdd49.xpm +++ b/pixmaps/hdd49.xpm @@ -16,40 +16,40 @@ static char *hdd49[] = { "............ .. .........................", "............ X X .....................", "............. XX X X XXX ...................", -"............ X XXX .................", -"........... XX XXX ...............", -".......... XXXX XX ..............", +"............ X ... .................", +"........... XX ... ...............", +".......... XXXX .. ..............", ".......... XXXXXX X .............", "......... XXXXX XX X ............", -"......... XXX XXXX X ...........", -"......... XXX XXXXXX XX...........", -"......... XX XXXXXX X ..........", -"........ XXXXXXXX XX .........", -"........ XXXXXX X .........", -"........ XXX XX ........", -"....... X X X ........", -"....... X XX........", -"...... XX .......", -"..... . X .......", -"..... ... XX.......", -".... .... XX ......", -".... ...... X ......", -"... XX ....... X ......", -"... X ....... XX......", -"... ........ XX .....", -"... X ........ XX .....", -"... . ........ XX .....", -".... . ........ X .....", -"..... . ........ X .....", -".......... ....... XX.....", -".................. XX ....", -".................. XX ....", -"................. XX ....", -"................ XX ....", -"............... XX ....", -"............... XX ....", -".............. XX ....", -".............. XX ....", +"......... XXX XXXX . ...........", +"......... XXX XXXXXX .............", +"......... XX XXXXXX . ..........", +"........ XXXXXXXX .. .........", +"........ XXXXXX . .........", +"........ XXX .. ........", +"....... X X . ........", +"....... X ..........", +"...... .. .......", +"..... . . .......", +"..... ... .........", +".... .... .. ......", +".... ...... . ......", +"... XX ....... . ......", +"... X ....... ........", +"... ........ .. .....", +"... X ........ .. .....", +"... . ........ .. .....", +".... . ........ . .....", +"..... . ........ . .....", +".......... ....... .......", +".................. .. ....", +".................. .. ....", +"................. .. ....", +"................ .. ....", +"............... .. ....", +"............... .. ....", +".............. .. ....", +".............. .. ....", ".............. ....", ".............. ....", ".................................................", diff --git a/pixmaps/hdd72.xpm b/pixmaps/hdd72.xpm index 9f40644..9f37818 100644 --- a/pixmaps/hdd72.xpm +++ b/pixmaps/hdd72.xpm @@ -17,60 +17,60 @@ static char *hdd72[] = { ".................. ..... .....................................", ".................. ... ....................................", ".................. .. ....................................", -".................. X XX ..............................", -".................. XX X XX ...........................", -".................. XXXXX XXXXX .........................", -".................. XXX XXXXXXXX .......................", -"................. XXX XXXXX ......................", -"................ XX X XXXX ....................", -"............... XXXX XXX ...................", -".............. XXXXXX XXXX ..................", -".............. XXXXXXXXX XXXX .................", -"............. XXXXXXX XX XXXX ................", -"............. XXXXX XXXX XXXX ...............", -"............. XXXX XXXXX XXXX ...............", -"............. XXX XXXXXX XXX ..............", -"............. XXX XXXXXXX XXXX .............", -"............ XXX XXXXXXXXX XXXX .............", -"............ XXXXXXXXXXX XXXX ............", -"............ XXXXXXXXX XXXX ............", -"........... XXXXXXX XXXX ...........", -"........... XXXXX XXXX ...........", -".......... XXX X XXXX ...........", -".......... X XX XXXX ..........", -"......... XX XXXX ..........", -"........ XX XXXX ..........", -"........ X XXXX .........", -"....... XX XXXX .........", -"...... XXXX .........", -"...... . XXXX ........", -"..... ... XXXX ........", -"..... ..... XXXX ........", -"..... XX ....... XXXX .......", -".... XXXX ........ XXXX .......", -".... XXXX .......... XXXX .......", -".... XXX .......... XXXX .......", -".... XXX ........... XXXX .......", -".... .. ........... XXXX .......", -".... .. ........... XXXX ......", -".... ... ............ XXXX ......", -"..... .. ........... XXXX ......", -"...... ... ........... XXXX ......", -"........ . ........... XXXX ......", -".............. ........... XXXX ......", -"........................... XXXX ......", -"........................... XXXX ......", -".......................... XXXX .....", -"......................... XXXXX .....", -"........................ XXXX .....", -"........................ XXXX .....", -"....................... XXXX .....", -"...................... XXXX .....", -"...................... XXXX .....", -"...................... XXXX .....", -"..................... XXXX .....", -"..................... XXXX .....", -"..................... XXX .....", +".................. X .. ..............................", +".................. XX X .. ...........................", +".................. XXXXX ..... .........................", +".................. XXX ........ .......................", +"................. XXX ..... ......................", +"................ XX X .... ....................", +"............... XXXX ... ...................", +".............. XXXXXX .... ..................", +".............. XXXXXXXXX .... .................", +"............. XXXXXXX XX .... ................", +"............. XXXXX XXXX .... ...............", +"............. XXXX XXXXX .... ...............", +"............. XXX XXXXXX ... ..............", +"............. XXX XXXXXXX .... .............", +"............ XXX XXXXXXXXX .... .............", +"............ XXXXXXXXXXX .... ............", +"............ XXXXXXXXX .... ............", +"........... XXXXXXX .... ...........", +"........... XXXXX .... ...........", +".......... XXX X .... ...........", +".......... X XX .... ..........", +"......... XX .... ..........", +"........ XX .... ..........", +"........ X .... .........", +"....... XX .... .........", +"...... .... .........", +"...... . .... ........", +"..... ... .... ........", +"..... ..... .... ........", +"..... XX ....... .... .......", +".... XXXX ........ .... .......", +".... XXXX .......... .... .......", +".... XXX .......... .... .......", +".... XXX ........... .... .......", +".... .. ........... .... .......", +".... .. ........... .... ......", +".... ... ............ .... ......", +"..... .. ........... .... ......", +"...... ... ........... .... ......", +"........ . ........... .... ......", +".............. ........... .... ......", +"........................... .... ......", +"........................... .... ......", +".......................... .... .....", +"......................... ..... .....", +"........................ .... .....", +"........................ .... .....", +"....................... .... .....", +"...................... .... .....", +"...................... .... .....", +"...................... .... .....", +"..................... .... .....", +"..................... .... .....", +"..................... ... .....", "..................... .....", "..................... .....", "........................................................................", diff --git a/pixmaps/hdl49.xpm b/pixmaps/hdl49.xpm index 03dff1e..9b4baf2 100644 --- a/pixmaps/hdl49.xpm +++ b/pixmaps/hdl49.xpm @@ -16,40 +16,40 @@ static char *hdl49[] = { "............ .. .........................", "............ X X .....................", "............. XX X X XXX ...................", -"............ X XXX .................", -"........... XX XXX ...............", -".......... XXXX XX ..............", +"............ X ... .................", +"........... XX ... ...............", +".......... XXXX .. ..............", ".......... XXXXXX X .............", "......... XXXXX XX X ............", -"......... XXX XXXX X ...........", -"......... XXX XXXXXX XX...........", -"......... XX XXXXXX X ..........", -"........ XXXXXXXX XX .........", -"........ XXXXXX X .........", -"........ XXX XX ........", -"....... X X X ........", -"....... X XX........", -"...... XX .......", -"..... . X .......", -"..... ... XX.......", -".... .... XX ......", -".... ...... X ......", -"... XX ....... X ......", -"... X ....... XX......", -"... ........ XX .....", -"... X ........ XX .....", -"... . ........ XX .....", -".... . ........ X .....", -"..... . ........ X .....", -".......... ....... XX.....", -".................. XX ....", -".................. XX ....", -"................. XX ....", -"................ XX ....", -"............... XX ....", -"............... XX ....", -".............. XX ....", -".............. XX ....", +"......... XXX XXXX . ...........", +"......... XXX XXXXXX .............", +"......... XX XXXXXX . ..........", +"........ XXXXXXXX .. .........", +"........ XXXXXX . .........", +"........ XXX .. ........", +"....... X X . ........", +"....... X ..........", +"...... .. .......", +"..... . . .......", +"..... ... .........", +".... .... .. ......", +".... ...... . ......", +"... XX ....... . ......", +"... X ....... ........", +"... ........ .. .....", +"... X ........ .. .....", +"... . ........ .. .....", +".... . ........ . .....", +"..... . ........ . .....", +".......... ....... .......", +".................. .. ....", +".................. .. ....", +"................. .. ....", +"................ .. ....", +"............... .. ....", +"............... .. ....", +".............. .. ....", +".............. .. ....", ".............. ....", ".............. ....", ".................................................", diff --git a/pixmaps/hdl72.xpm b/pixmaps/hdl72.xpm index 9e6c2b9..9cadf96 100644 --- a/pixmaps/hdl72.xpm +++ b/pixmaps/hdl72.xpm @@ -17,60 +17,60 @@ static char *hdl72[] = { ".................. ..... .....................................", ".................. ... ....................................", ".................. .. ....................................", -".................. X XX ..............................", -".................. XX X XX ...........................", -".................. XXXXX XXXXX .........................", -".................. XXX XXXXXXXX .......................", -"................. XXX XXXXX ......................", -"................ XX X XXXX ....................", -"............... XXXX XXX ...................", -".............. XXXXXX XXXX ..................", -".............. XXXXXXXXX XXXX .................", -"............. XXXXXXX XX XXXX ................", -"............. XXXXX XXXX XXXX ...............", -"............. XXXX XXXXX XXXX ...............", -"............. XXX XXXXXX XXX ..............", -"............. XXX XXXXXXX XXXX .............", -"............ XXX XXXXXXXXX XXXX .............", -"............ XXXXXXXXXXX XXXX ............", -"............ XXXXXXXXX XXXX ............", -"........... XXXXXXX XXXX ...........", -"........... XXXXX XXXX ...........", -".......... XXX X XXXX ...........", -".......... X XX XXXX ..........", -"......... XX XXXX ..........", -"........ XX XXXX ..........", -"........ X XXXX .........", -"....... XX XXXX .........", -"...... XXXX .........", -"...... . XXXX ........", -"..... ... XXXX ........", -"..... ..... XXXX ........", -"..... XX ....... XXXX .......", -".... XXXX ........ XXXX .......", -".... XXXX .......... XXXX .......", -".... XXX .......... XXXX .......", -".... XXX ........... XXXX .......", -".... .. ........... XXXX .......", -".... .. ........... XXXX ......", -".... ... ............ XXXX ......", -"..... .. ........... XXXX ......", -"...... ... ........... XXXX ......", -"........ . ........... XXXX ......", -".............. ........... XXXX ......", -"........................... XXXX ......", -"........................... XXXX ......", -".......................... XXXX .....", -"......................... XXXXX .....", -"........................ XXXX .....", -"........................ XXXX .....", -"....................... XXXX .....", -"...................... XXXX .....", -"...................... XXXX .....", -"...................... XXXX .....", -"..................... XXXX .....", -"..................... XXXX .....", -"..................... XXX .....", +".................. X .. ..............................", +".................. XX X .. ...........................", +".................. XXXXX ..... .........................", +".................. XXX ........ .......................", +"................. XXX ..... ......................", +"................ XX X .... ....................", +"............... XXXX ... ...................", +".............. XXXXXX .... ..................", +".............. XXXXXXXXX .... .................", +"............. XXXXXXX XX .... ................", +"............. XXXXX XXXX .... ...............", +"............. XXXX XXXXX .... ...............", +"............. XXX XXXXXX ... ..............", +"............. XXX XXXXXXX .... .............", +"............ XXX XXXXXXXXX .... .............", +"............ XXXXXXXXXXX .... ............", +"............ XXXXXXXXX .... ............", +"........... XXXXXXX .... ...........", +"........... XXXXX .... ...........", +".......... XXX X .... ...........", +".......... X XX .... ..........", +"......... XX .... ..........", +"........ XX .... ..........", +"........ X .... .........", +"....... XX .... .........", +"...... .... .........", +"...... . .... ........", +"..... ... .... ........", +"..... ..... .... ........", +"..... XX ....... .... .......", +".... XXXX ........ .... .......", +".... XXXX .......... .... .......", +".... XXX .......... .... .......", +".... XXX ........... .... .......", +".... .. ........... .... .......", +".... .. ........... .... ......", +".... ... ............ .... ......", +"..... .. ........... .... ......", +"...... ... ........... .... ......", +"........ . ........... .... ......", +".............. ........... .... ......", +"........................... .... ......", +"........................... .... ......", +".......................... .... .....", +"......................... ..... .....", +"........................ .... .....", +"........................ .... .....", +"....................... .... .....", +"...................... .... .....", +"...................... .... .....", +"...................... .... .....", +"..................... .... .....", +"..................... .... .....", +"..................... ... .....", "..................... .....", "..................... .....", "........................................................................", diff --git a/pixmaps/ldd33.xpm b/pixmaps/ldd33.xpm index 5e2871e..6b450c3 100644 --- a/pixmaps/ldd33.xpm +++ b/pixmaps/ldd33.xpm @@ -1,9 +1,10 @@ /* XPM */ static char *ldd33[] = { /* columns rows colors chars-per-pixel */ -"33 33 2 1", +"33 33 3 1", " c black s dark_piece", ". c green s dark_square", +"X c white s light_piece", /* pixels */ ".................................", ".................................", @@ -19,18 +20,18 @@ static char *ldd33[] = { ".............. ............", ".............. ............", "............. ...........", -"............. . ...........", -"............. . ...........", -"............ . ..........", -"............ . ..........", -"............ ..... ..........", -"........... . .........", -"........... . .........", -"........... . .........", +"............. X ...........", +"............. X ...........", +"............ X ..........", +"............ X ..........", +"............ XXXXX ..........", +"........... X .........", +"........... X .........", +"........... X .........", "............ ..........", "............. ...........", -".............. . ............", -"............... . . .............", +".............. X ............", +"............... X X .............", "................ ..............", "................ ..............", "................ ..............", diff --git a/pixmaps/ldd37.xpm b/pixmaps/ldd37.xpm index b432d94..cb9daf9 100644 --- a/pixmaps/ldd37.xpm +++ b/pixmaps/ldd37.xpm @@ -1,9 +1,10 @@ /* XPM */ static char *ldd37[] = { /* columns rows colors chars-per-pixel */ -"37 37 2 1", +"37 37 3 1", " c black s dark_piece", ". c green s dark_square", +"X c white s light_piece", /* pixels */ ".....................................", ".....................................", @@ -21,20 +22,20 @@ static char *ldd37[] = { ".............. ..............", ".............. ..............", ".............. ..............", -"............. . .............", -"............. . .............", -"............. . .............", -"............ . ............", -"............ ..... ............", -"............ . ............", -"........... . ...........", -"........... . ...........", -"........... . ...........", +"............. X .............", +"............. X .............", +"............. X .............", +"............ X ............", +"............ XXXXX ............", +"............ X ............", +"........... X ...........", +"........... X ...........", +"........... X ...........", "............ ............", "............. .............", ".............. ..............", -"............... . ...............", -"................ . . ................", +"............... X ...............", +"................ X X ................", "................. .................", "................. .................", "................. .................", diff --git a/pixmaps/ldd40.xpm b/pixmaps/ldd40.xpm index a5db236..6af78cc 100644 --- a/pixmaps/ldd40.xpm +++ b/pixmaps/ldd40.xpm @@ -1,9 +1,10 @@ /* XPM */ static char *ldd40[] = { /* columns rows colors chars-per-pixel */ -"40 40 2 1", +"40 40 3 1", " c black s dark_piece", ". c green s dark_square", +"X c white s light_piece", /* pixels */ "........................................", "........................................", @@ -21,22 +22,22 @@ static char *ldd40[] = { "............... ................", ".............. ...............", ".............. ...............", -"............. . ..............", -"............. . ..............", -"............. . ..............", -"............ . .............", -"............ . .............", -"............ ....... .............", -"........... . ............", -"........... . ............", -".......... . ...........", -".......... . ...........", -"........... . ............", +"............. X ..............", +"............. X ..............", +"............. X ..............", +"............ X .............", +"............ X .............", +"............ XXXXXXX .............", +"........... X ............", +"........... X ............", +".......... X ...........", +".......... X ...........", +"........... X ............", "............ .............", "............. ..............", ".............. ...............", -"............... . ................", -"................ . . .................", +"............... X ................", +"................ X X .................", "................. ..................", ".................. ...................", ".................. ...................", diff --git a/pixmaps/ldd45.xpm b/pixmaps/ldd45.xpm index 2f04001..c4e86ce 100644 --- a/pixmaps/ldd45.xpm +++ b/pixmaps/ldd45.xpm @@ -1,9 +1,10 @@ /* XPM */ static char *ldd45[] = { /* columns rows colors chars-per-pixel */ -"45 45 2 1", +"45 45 3 1", " c black s dark_piece", ". c green s dark_square", +"X c white s light_piece", /* pixels */ ".............................................", ".............................................", @@ -23,24 +24,24 @@ static char *ldd45[] = { ".................. ..................", "................. .................", "................. .................", -"................. . .................", -"................ . ................", -"................ . ................", -"................ . ................", -"............... . ...............", -"............... . ...............", -"............... ....... ...............", -".............. . ..............", -".............. . ..............", -".............. . ..............", -"............. . .............", -"............. . .............", +"................. X .................", +"................ X ................", +"................ X ................", +"................ X ................", +"............... X ...............", +"............... X ...............", +"............... XXXXXXX ...............", +".............. X ..............", +".............. X ..............", +".............. X ..............", +"............. X .............", +"............. X .............", ".............. ..............", "............... ...............", "................ ................", "................. .................", -".................. . ..................", -"................... . . ...................", +".................. X ..................", +"................... X X ...................", ".................... ....................", "..................... .....................", "..................... .....................", diff --git a/pixmaps/ldd49.xpm b/pixmaps/ldd49.xpm index dccce91..1e903a3 100644 --- a/pixmaps/ldd49.xpm +++ b/pixmaps/ldd49.xpm @@ -1,9 +1,10 @@ /* XPM */ static char *ldd49[] = { /* columns rows colors chars-per-pixel */ -"49 49 2 1", +"49 49 3 1", " c black s dark_piece", ". c green s dark_square", +"X c white s light_piece", /* pixels */ ".................................................", ".................................................", @@ -27,17 +28,17 @@ static char *ldd49[] = { ".................. ..................", "................. .................", "................. .................", -"................. . .................", -"................ . ................", -"................ . ................", -"................ . ................", -"............... . ...............", -"............... ....... ...............", -".............. . ..............", -".............. . ..............", -"............. . .............", -"............. . .............", -".............. . ..............", +"................. X .................", +"................ X ................", +"................ X ................", +"................ X ................", +"............... X ...............", +"............... XXXXXXX ...............", +".............. X ..............", +".............. X ..............", +"............. X .............", +"............. X .............", +".............. X ..............", "............... ...............", "................ ................", "................. .................", diff --git a/pixmaps/ldd54.xpm b/pixmaps/ldd54.xpm index 8bb6d14..37fdef7 100644 --- a/pixmaps/ldd54.xpm +++ b/pixmaps/ldd54.xpm @@ -1,9 +1,10 @@ /* XPM */ static char *ldd54[] = { /* columns rows colors chars-per-pixel */ -"54 54 2 1", +"54 54 3 1", " c black s dark_piece", ". c green s dark_square", +"X c white s light_piece", /* pixels */ "......................................................", "......................................................", @@ -28,28 +29,28 @@ static char *ldd54[] = { ".................... ....................", ".................... ....................", "................... ...................", -"................... .. ...................", -"................... .. ...................", -".................. .. ..................", -".................. .. ..................", -".................. .. ..................", -"................. .. .................", -"................. .. .................", -"................. ........ .................", -"................ ........ ................", -"................ .. ................", -"................ .. ................", -"............... .. ...............", -"............... .. ...............", -"............... .. ...............", -"................ .. ................", +"................... XX ...................", +"................... XX ...................", +".................. XX ..................", +".................. XX ..................", +".................. XX ..................", +"................. XX .................", +"................. XX .................", +"................. XXXXXXXX .................", +"................ XXXXXXXX ................", +"................ XX ................", +"................ XX ................", +"............... XX ...............", +"............... XX ...............", +"............... XX ...............", +"................ XX ................", "................. .................", ".................. ..................", "................... ...................", ".................... ....................", -"..................... .. .....................", -"...................... .... ......................", -"....................... . . .......................", +"..................... XX .....................", +"...................... XXXX ......................", +"....................... X X .......................", "........................ ........................", "......................... .........................", "......................... .........................", diff --git a/pixmaps/ldd58.xpm b/pixmaps/ldd58.xpm index 8a96e1e..8086c02 100644 --- a/pixmaps/ldd58.xpm +++ b/pixmaps/ldd58.xpm @@ -1,9 +1,10 @@ /* XPM */ static char *ldd58[] = { /* columns rows colors chars-per-pixel */ -"58 58 2 1", +"58 58 3 1", " c black s dark_piece", ". c green s dark_square", +"X c white s light_piece", /* pixels */ "..........................................................", "..........................................................", @@ -31,28 +32,28 @@ static char *ldd58[] = { "..................... .....................", "..................... .....................", ".................... ....................", -".................... .. ....................", -".................... .. ....................", -"................... .. ...................", -"................... .. ...................", -"................... .. ...................", -".................. .. ..................", -".................. .. ..................", -".................. .......... ..................", -"................. .......... .................", -"................. .. .................", -"................. .. .................", -"................ .. ................", -"................ .. ................", -"................. .. .................", -".................. .. ..................", +".................... XX ....................", +".................... XX ....................", +"................... XX ...................", +"................... XX ...................", +"................... XX ...................", +".................. XX ..................", +".................. XX ..................", +".................. XXXXXXXXXX ..................", +"................. XXXXXXXXXX .................", +"................. XX .................", +"................. XX .................", +"................ XX ................", +"................ XX ................", +"................. XX .................", +".................. XX ..................", "................... ...................", ".................... ....................", "..................... .....................", "...................... ......................", -"....................... .. .......................", -"........................ .... ........................", -"......................... . . .........................", +"....................... XX .......................", +"........................ XXXX ........................", +"......................... X X .........................", ".......................... ..........................", "........................... ...........................", "........................... ...........................", diff --git a/pixmaps/ldd64.xpm b/pixmaps/ldd64.xpm index eb63814..ad1019d 100644 --- a/pixmaps/ldd64.xpm +++ b/pixmaps/ldd64.xpm @@ -1,9 +1,10 @@ /* XPM */ static char *ldd64[] = { /* columns rows colors chars-per-pixel */ -"64 64 2 1", +"64 64 3 1", " c black s dark_piece", ". c green s dark_square", +"X c white s light_piece", /* pixels */ "................................................................", "................................................................", @@ -32,23 +33,23 @@ static char *ldd64[] = { "........................ ........................", "....................... .......................", "....................... .......................", -"....................... .. .......................", -"...................... .. ......................", -"...................... .. ......................", -"...................... .. ......................", -"..................... .. .....................", -"..................... .. .....................", -"..................... .. .....................", -".................... .. ....................", -".................... .......... ....................", -".................... .......... ....................", -"................... .. ...................", -"................... .. ...................", -"................... .. ...................", -".................. .. ..................", -".................. .. ..................", -".................. .. ..................", -"................... .. ...................", +"....................... XX .......................", +"...................... XX ......................", +"...................... XX ......................", +"...................... XX ......................", +"..................... XX .....................", +"..................... XX .....................", +"..................... XX .....................", +".................... XX ....................", +".................... XXXXXXXXXX ....................", +".................... XXXXXXXXXX ....................", +"................... XX ...................", +"................... XX ...................", +"................... XX ...................", +".................. XX ..................", +".................. XX ..................", +".................. XX ..................", +"................... XX ...................", ".................... ....................", "..................... .....................", "...................... ......................", diff --git a/pixmaps/ldd72.xpm b/pixmaps/ldd72.xpm index dbdb38a..61489ac 100644 --- a/pixmaps/ldd72.xpm +++ b/pixmaps/ldd72.xpm @@ -1,9 +1,10 @@ /* XPM */ static char *ldd72[] = { /* columns rows colors chars-per-pixel */ -"72 72 2 1", +"72 72 3 1", " c black s dark_piece", ". c green s dark_square", +"X c white s light_piece", /* pixels */ "........................................................................", "........................................................................", @@ -37,27 +38,27 @@ static char *ldd72[] = { ".......................... .........................", ".......................... .........................", "......................... ........................", -"......................... ... ........................", -"........................ ... .......................", -"........................ ... .......................", -"........................ ... .......................", -"....................... ... ......................", -"....................... ... ......................", -"...................... ... .....................", -"...................... ... .....................", -"...................... ............. .....................", -"..................... ............. ....................", -"..................... ............. ....................", -".................... ... ...................", -".................... ... ...................", -".................... ... ...................", -"................... ... ..................", -"................... ... ..................", -"................... ... ..................", -".................... ... ...................", -"..................... ... ....................", -"...................... ... .....................", -"....................... ... ......................", +"......................... XXX ........................", +"........................ XXX .......................", +"........................ XXX .......................", +"........................ XXX .......................", +"....................... XXX ......................", +"....................... XXX ......................", +"...................... XXX .....................", +"...................... XXX .....................", +"...................... XXXXXXXXXXXXX .....................", +"..................... XXXXXXXXXXXXX ....................", +"..................... XXXXXXXXXXXXX ....................", +".................... XXX ...................", +".................... XXX ...................", +".................... XXX ...................", +"................... XXX ..................", +"................... XXX ..................", +"................... XXX ..................", +".................... XXX ...................", +"..................... XXX ....................", +"...................... XXX .....................", +"....................... XXX ......................", "........................ .......................", "......................... ........................", ".......................... .........................", diff --git a/pixmaps/ldl33.xpm b/pixmaps/ldl33.xpm index 63e54fd..467b892 100644 --- a/pixmaps/ldl33.xpm +++ b/pixmaps/ldl33.xpm @@ -1,9 +1,10 @@ /* XPM */ static char *ldl33[] = { /* columns rows colors chars-per-pixel */ -"33 33 2 1", +"33 33 3 1", " c black s dark_piece", ". c gray s light_square", +"X c white s light_piece", /* pixels */ ".................................", ".................................", @@ -19,18 +20,18 @@ static char *ldl33[] = { ".............. ............", ".............. ............", "............. ...........", -"............. . ...........", -"............. . ...........", -"............ . ..........", -"............ . ..........", -"............ ..... ..........", -"........... . .........", -"........... . .........", -"........... . .........", +"............. X ...........", +"............. X ...........", +"............ X ..........", +"............ X ..........", +"............ XXXXX ..........", +"........... X .........", +"........... X .........", +"........... X .........", "............ ..........", "............. ...........", -".............. . ............", -"............... . . .............", +".............. X ............", +"............... X X .............", "................ ..............", "................ ..............", "................ ..............", diff --git a/pixmaps/ldl37.xpm b/pixmaps/ldl37.xpm index 9ead598..97dd3d1 100644 --- a/pixmaps/ldl37.xpm +++ b/pixmaps/ldl37.xpm @@ -1,9 +1,10 @@ /* XPM */ static char *ldl37[] = { /* columns rows colors chars-per-pixel */ -"37 37 2 1", +"37 37 3 1", " c black s dark_piece", ". c gray s light_square", +"X c white s light_piece", /* pixels */ ".....................................", ".....................................", @@ -21,20 +22,20 @@ static char *ldl37[] = { ".............. ..............", ".............. ..............", ".............. ..............", -"............. . .............", -"............. . .............", -"............. . .............", -"............ . ............", -"............ ..... ............", -"............ . ............", -"........... . ...........", -"........... . ...........", -"........... . ...........", +"............. X .............", +"............. X .............", +"............. X .............", +"............ X ............", +"............ XXXXX ............", +"............ X ............", +"........... X ...........", +"........... X ...........", +"........... X ...........", "............ ............", "............. .............", ".............. ..............", -"............... . ...............", -"................ . . ................", +"............... X ...............", +"................ X X ................", "................. .................", "................. .................", "................. .................", diff --git a/pixmaps/ldl40.xpm b/pixmaps/ldl40.xpm index 9555d12..a5573be 100644 --- a/pixmaps/ldl40.xpm +++ b/pixmaps/ldl40.xpm @@ -1,9 +1,10 @@ /* XPM */ static char *ldl40[] = { /* columns rows colors chars-per-pixel */ -"40 40 2 1", +"40 40 3 1", " c black s dark_piece", ". c gray s light_square", +"X c white s light_piece", /* pixels */ "........................................", "........................................", @@ -21,22 +22,22 @@ static char *ldl40[] = { "............... ................", ".............. ...............", ".............. ...............", -"............. . ..............", -"............. . ..............", -"............. . ..............", -"............ . .............", -"............ . .............", -"............ ....... .............", -"........... . ............", -"........... . ............", -".......... . ...........", -".......... . ...........", -"........... . ............", +"............. X ..............", +"............. X ..............", +"............. X ..............", +"............ X .............", +"............ X .............", +"............ XXXXXXX .............", +"........... X ............", +"........... X ............", +".......... X ...........", +".......... X ...........", +"........... X ............", "............ .............", "............. ..............", ".............. ...............", -"............... . ................", -"................ . . .................", +"............... X ................", +"................ X X .................", "................. ..................", ".................. ...................", ".................. ...................", diff --git a/pixmaps/ldl45.xpm b/pixmaps/ldl45.xpm index 5d4a131..7a27117 100644 --- a/pixmaps/ldl45.xpm +++ b/pixmaps/ldl45.xpm @@ -1,9 +1,10 @@ /* XPM */ static char *ldl45[] = { /* columns rows colors chars-per-pixel */ -"45 45 2 1", +"45 45 3 1", " c black s dark_piece", ". c gray s light_square", +"X c white s light_piece", /* pixels */ ".............................................", ".............................................", @@ -23,24 +24,24 @@ static char *ldl45[] = { ".................. ..................", "................. .................", "................. .................", -"................. . .................", -"................ . ................", -"................ . ................", -"................ . ................", -"............... . ...............", -"............... . ...............", -"............... ....... ...............", -".............. . ..............", -".............. . ..............", -".............. . ..............", -"............. . .............", -"............. . .............", +"................. X .................", +"................ X ................", +"................ X ................", +"................ X ................", +"............... X ...............", +"............... X ...............", +"............... XXXXXXX ...............", +".............. X ..............", +".............. X ..............", +".............. X ..............", +"............. X .............", +"............. X .............", ".............. ..............", "............... ...............", "................ ................", "................. .................", -".................. . ..................", -"................... . . ...................", +".................. X ..................", +"................... X X ...................", ".................... ....................", "..................... .....................", "..................... .....................", diff --git a/pixmaps/ldl49.xpm b/pixmaps/ldl49.xpm index 74ce593..8a44600 100644 --- a/pixmaps/ldl49.xpm +++ b/pixmaps/ldl49.xpm @@ -1,9 +1,10 @@ /* XPM */ static char *ldl49[] = { /* columns rows colors chars-per-pixel */ -"49 49 2 1", +"49 49 3 1", " c black s dark_piece", ". c gray s light_square", +"X c white s light_piece", /* pixels */ ".................................................", ".................................................", @@ -27,17 +28,17 @@ static char *ldl49[] = { ".................. ..................", "................. .................", "................. .................", -"................. . .................", -"................ . ................", -"................ . ................", -"................ . ................", -"............... . ...............", -"............... ....... ...............", -".............. . ..............", -".............. . ..............", -"............. . .............", -"............. . .............", -".............. . ..............", +"................. X .................", +"................ X ................", +"................ X ................", +"................ X ................", +"............... X ...............", +"............... XXXXXXX ...............", +".............. X ..............", +".............. X ..............", +"............. X .............", +"............. X .............", +".............. X ..............", "............... ...............", "................ ................", "................. .................", diff --git a/pixmaps/ldl54.xpm b/pixmaps/ldl54.xpm index 7fcdd54..c42ee21 100644 --- a/pixmaps/ldl54.xpm +++ b/pixmaps/ldl54.xpm @@ -1,9 +1,10 @@ /* XPM */ static char *ldl54[] = { /* columns rows colors chars-per-pixel */ -"54 54 2 1", +"54 54 3 1", " c black s dark_piece", ". c gray s light_square", +"X c white s light_piece", /* pixels */ "......................................................", "......................................................", @@ -28,28 +29,28 @@ static char *ldl54[] = { ".................... ....................", ".................... ....................", "................... ...................", -"................... .. ...................", -"................... .. ...................", -".................. .. ..................", -".................. .. ..................", -".................. .. ..................", -"................. .. .................", -"................. .. .................", -"................. ........ .................", -"................ ........ ................", -"................ .. ................", -"................ .. ................", -"............... .. ...............", -"............... .. ...............", -"............... .. ...............", -"................ .. ................", +"................... XX ...................", +"................... XX ...................", +".................. XX ..................", +".................. XX ..................", +".................. XX ..................", +"................. XX .................", +"................. XX .................", +"................. XXXXXXXX .................", +"................ XXXXXXXX ................", +"................ XX ................", +"................ XX ................", +"............... XX ...............", +"............... XX ...............", +"............... XX ...............", +"................ XX ................", "................. .................", ".................. ..................", "................... ...................", ".................... ....................", -"..................... .. .....................", -"...................... .... ......................", -"....................... . . .......................", +"..................... XX .....................", +"...................... XXXX ......................", +"....................... X X .......................", "........................ ........................", "......................... .........................", "......................... .........................", diff --git a/pixmaps/ldl58.xpm b/pixmaps/ldl58.xpm index 0987914..ef21281 100644 --- a/pixmaps/ldl58.xpm +++ b/pixmaps/ldl58.xpm @@ -1,9 +1,10 @@ /* XPM */ static char *ldl58[] = { /* columns rows colors chars-per-pixel */ -"58 58 2 1", +"58 58 3 1", " c black s dark_piece", ". c gray s light_square", +"X c white s light_piece", /* pixels */ "..........................................................", "..........................................................", @@ -31,28 +32,28 @@ static char *ldl58[] = { "..................... .....................", "..................... .....................", ".................... ....................", -".................... .. ....................", -".................... .. ....................", -"................... .. ...................", -"................... .. ...................", -"................... .. ...................", -".................. .. ..................", -".................. .. ..................", -".................. .......... ..................", -"................. .......... .................", -"................. .. .................", -"................. .. .................", -"................ .. ................", -"................ .. ................", -"................. .. .................", -".................. .. ..................", +".................... XX ....................", +".................... XX ....................", +"................... XX ...................", +"................... XX ...................", +"................... XX ...................", +".................. XX ..................", +".................. XX ..................", +".................. XXXXXXXXXX ..................", +"................. XXXXXXXXXX .................", +"................. XX .................", +"................. XX .................", +"................ XX ................", +"................ XX ................", +"................. XX .................", +".................. XX ..................", "................... ...................", ".................... ....................", "..................... .....................", "...................... ......................", -"....................... .. .......................", -"........................ .... ........................", -"......................... . . .........................", +"....................... XX .......................", +"........................ XXXX ........................", +"......................... X X .........................", ".......................... ..........................", "........................... ...........................", "........................... ...........................", diff --git a/pixmaps/ldl64.xpm b/pixmaps/ldl64.xpm index af0b708..791dd0e 100644 --- a/pixmaps/ldl64.xpm +++ b/pixmaps/ldl64.xpm @@ -1,9 +1,10 @@ /* XPM */ static char *ldl64[] = { /* columns rows colors chars-per-pixel */ -"64 64 2 1", +"64 64 3 1", " c black s dark_piece", ". c gray s light_square", +"X c white s light_piece", /* pixels */ "................................................................", "................................................................", @@ -32,23 +33,23 @@ static char *ldl64[] = { "........................ ........................", "....................... .......................", "....................... .......................", -"....................... .. .......................", -"...................... .. ......................", -"...................... .. ......................", -"...................... .. ......................", -"..................... .. .....................", -"..................... .. .....................", -"..................... .. .....................", -".................... .. ....................", -".................... .......... ....................", -".................... .......... ....................", -"................... .. ...................", -"................... .. ...................", -"................... .. ...................", -".................. .. ..................", -".................. .. ..................", -".................. .. ..................", -"................... .. ...................", +"....................... XX .......................", +"...................... XX ......................", +"...................... XX ......................", +"...................... XX ......................", +"..................... XX .....................", +"..................... XX .....................", +"..................... XX .....................", +".................... XX ....................", +".................... XXXXXXXXXX ....................", +".................... XXXXXXXXXX ....................", +"................... XX ...................", +"................... XX ...................", +"................... XX ...................", +".................. XX ..................", +".................. XX ..................", +".................. XX ..................", +"................... XX ...................", ".................... ....................", "..................... .....................", "...................... ......................", diff --git a/pixmaps/ldl72.xpm b/pixmaps/ldl72.xpm index 6fb0c52..8b1d2d2 100644 --- a/pixmaps/ldl72.xpm +++ b/pixmaps/ldl72.xpm @@ -1,9 +1,10 @@ /* XPM */ static char *ldl72[] = { /* columns rows colors chars-per-pixel */ -"72 72 2 1", +"72 72 3 1", " c black s dark_piece", ". c gray s light_square", +"X c white s light_piece", /* pixels */ "........................................................................", "........................................................................", @@ -37,27 +38,27 @@ static char *ldl72[] = { ".......................... .........................", ".......................... .........................", "......................... ........................", -"......................... ... ........................", -"........................ ... .......................", -"........................ ... .......................", -"........................ ... .......................", -"....................... ... ......................", -"....................... ... ......................", -"...................... ... .....................", -"...................... ... .....................", -"...................... ............. .....................", -"..................... ............. ....................", -"..................... ............. ....................", -".................... ... ...................", -".................... ... ...................", -".................... ... ...................", -"................... ... ..................", -"................... ... ..................", -"................... ... ..................", -".................... ... ...................", -"..................... ... ....................", -"...................... ... .....................", -"....................... ... ......................", +"......................... XXX ........................", +"........................ XXX .......................", +"........................ XXX .......................", +"........................ XXX .......................", +"....................... XXX ......................", +"....................... XXX ......................", +"...................... XXX .....................", +"...................... XXX .....................", +"...................... XXXXXXXXXXXXX .....................", +"..................... XXXXXXXXXXXXX ....................", +"..................... XXXXXXXXXXXXX ....................", +".................... XXX ...................", +".................... XXX ...................", +".................... XXX ...................", +"................... XXX ..................", +"................... XXX ..................", +"................... XXX ..................", +".................... XXX ...................", +"..................... XXX ....................", +"...................... XXX .....................", +"....................... XXX ......................", "........................ .......................", "......................... ........................", ".......................... .........................", diff --git a/pixmaps/m33s.bmp b/pixmaps/m33s.bmp deleted file mode 100644 index 52be842..0000000 Binary files a/pixmaps/m33s.bmp and /dev/null differ diff --git a/pixmaps/mdd33.xpm b/pixmaps/mdd33.xpm index f599594..02ca27e 100644 --- a/pixmaps/mdd33.xpm +++ b/pixmaps/mdd33.xpm @@ -1,42 +1,42 @@ -/* XPM */ -static char *mdd33[] = { -/* columns rows colors chars-per-pixel */ -"33 33 3 1", -" c black s dark_piece", -". c green s dark_square", -"X c white s light_piece", -/* pixels */ -".................................", -".................................", -".................................", -".................................", -".................................", -"................ ................", -"............... ...............", -".............. ..............", -".............. ..............", -"............... ...............", -"............... X ...............", -"........... ...........", -"........ ........", -"....... .......", -"...... ......", -"...... ......", -"..... .....", -"..... .....", -"..... .....", -"..... .....", -".... ....", -".... ....", -".... XXXXXXXXXXXXX ....", -"... XXXXX XXXXX ...", -"... X X ...", -".. ..", -".. ..", -"... ...", -"..... .....", -".......... ..........", -".................................", -".................................", -"................................." -}; +/* XPM */ +static char *mdd33[] = { +/* columns rows colors chars-per-pixel */ +"33 33 3 1", +" c black s dark_piece", +". c green s dark_square", +"X c white s light_piece", +/* pixels */ +".................................", +".................................", +".................................", +".................................", +".................................", +".................................", +".................................", +".................................", +".................................", +".................................", +".................................", +".................................", +".................................", +".................................", +".................................", +".................................", +".................................", +".................................", +".................................", +".................................", +".................................", +"........................ .", +".................................", +".................................", +".................................", +".................................", +".................................", +".................................", +".................................", +".................................", +".................................", +".................................", +"................................." +}; diff --git a/pixmaps/mdd49.xpm b/pixmaps/mdd49.xpm index 1510c80..e178399 100644 --- a/pixmaps/mdd49.xpm +++ b/pixmaps/mdd49.xpm @@ -1,9 +1,10 @@ /* XPM */ static char *mdd49[] = { /* columns rows colors chars-per-pixel */ -"49 49 2 1", +"49 49 3 1", " c black s dark_piece", ". c green s dark_square", +"X c white s light_piece", /* pixels */ ".................................................", ".................................................", @@ -18,7 +19,7 @@ static char *mdd49[] = { "...................... ......................", "...................... ......................", "...................... ......................", -"...................... ... ......................", +"...................... XXX ......................", "................. ................", "............... ...............", "............ ............", @@ -32,18 +33,18 @@ static char *mdd49[] = { "........ ........", "....... ........", "....... .......", -"....... ........... .......", -"....... .... .... .......", -"....... .. .. .......", +"....... XXXXXXXXXXX .......", +"....... XXXX XXXX .......", +"....... XX XX .......", "...... ......", "...... ......", "...... ......", -"..... ................... .....", -".... ...... ...... ....", -"... ... ... ...", -".. .. .. .. .. ..", -". . ...... ..... . .", -". ................. .", +"..... XXXXXXXXXXXXXXXXXXX .....", +".... XXXXXX XXXXXX ....", +"... XXX XXX ...", +".. XX XX XX XX ..", +". X XXXXXX XXXXX X .", +". XXXXXXXXXXXXXXXXX .", ". .", ".. ..", "... ...", diff --git a/pixmaps/mdd72.xpm b/pixmaps/mdd72.xpm index 73ee78f..736be28 100644 --- a/pixmaps/mdd72.xpm +++ b/pixmaps/mdd72.xpm @@ -1,9 +1,10 @@ /* XPM */ static char *mdd72[] = { /* columns rows colors chars-per-pixel */ -"72 72 2 1", +"72 72 3 1", " c black s dark_piece", ". c green s dark_square", +"X c white s light_piece", /* pixels */ "........................................................................", "........................................................................", @@ -28,8 +29,8 @@ static char *mdd72[] = { "................................ ...............................", "................................ ...............................", "................................ ...............................", -"................................. ... ................................", -"................................. ... ................................", +"................................. XXX ................................", +"................................. XXX ................................", "........................... ..........................", "........................ ......................", "..................... ....................", @@ -48,22 +49,22 @@ static char *mdd72[] = { "............. .............", "............. .............", "............. .............", -"............ .................... ............", -"............ ...... .................... ..... ............", -"............ .......... ........ ............", -"............ .... ... ............", +"............ XXXXXXXXXXXXXXXXXXXX ............", +"............ XXXXXX XXXXXXXXXXXXXXXXXXXX XXXXX ............", +"............ XXXXXXXXXX XXXXXXXX ............", +"............ XXXX XXX ............", "........... ...........", "........... ...........", "........... ...........", ".......... ..........", "......... .........", -"........ .......................... ........", -"....... ........................................ .......", -"...... ............ ........... ......", -"..... ....... ........ .....", -".... ... ............. ............. ... ....", -"... ........................................ ...", -"... ..................... ...", +"........ XXXXXXXXXXXXXXXXXXXXXXXXXX ........", +"....... XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX .......", +"...... XXXXXXXXXXXX XXXXXXXXXXX ......", +"..... XXXXXXX XXXXXXXX .....", +".... XXX XXXXXXXXXXXXX XXXXXXXXXXXXX XXX ....", +"... XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX ...", +"... XXXXXXXXXXXXXXXXXXXXX ...", "... ...", ".... ....", "..... .....", diff --git a/pixmaps/mdl33.xpm b/pixmaps/mdl33.xpm index 253cc90..f92fc17 100644 --- a/pixmaps/mdl33.xpm +++ b/pixmaps/mdl33.xpm @@ -1,42 +1,42 @@ -/* XPM */ -static char *mdl33[] = { -/* columns rows colors chars-per-pixel */ -"33 33 3 1", -" c black s dark_piece", -". c gray s light_square", -"X c white s light_piece", -/* pixels */ -".................................", -".................................", -".................................", -".................................", -".................................", -"................ ................", -"............... ...............", -".............. ..............", -".............. ..............", -"............... ...............", -"............... X ...............", -"........... ...........", -"........ ........", -"....... .......", -"...... ......", -"...... ......", -"..... .....", -"..... .....", -"..... .....", -"..... .....", -".... ....", -".... ....", -".... XXXXXXXXXXXXX ....", -"... XXXXX XXXXX ...", -"... X X ...", -".. ..", -".. ..", -"... ...", -"..... .....", -".......... ..........", -".................................", -".................................", -"................................." -}; +/* XPM */ +static char *mdl33[] = { +/* columns rows colors chars-per-pixel */ +"33 33 3 1", +" c black s dark_piece", +". c gray s light_square", +"X c white s light_piece", +/* pixels */ +".................................", +".................................", +".................................", +".................................", +".................................", +".................................", +".................................", +".................................", +".................................", +".................................", +".................................", +".................................", +".................................", +".................................", +".................................", +".................................", +".................................", +".................................", +".................................", +".................................", +".................................", +"........................ .", +".................................", +".................................", +".................................", +".................................", +".................................", +".................................", +".................................", +".................................", +".................................", +".................................", +"................................." +}; diff --git a/pixmaps/mdl49.xpm b/pixmaps/mdl49.xpm index 2ecdf81..3298cfa 100644 --- a/pixmaps/mdl49.xpm +++ b/pixmaps/mdl49.xpm @@ -1,9 +1,10 @@ /* XPM */ static char *mdl49[] = { /* columns rows colors chars-per-pixel */ -"49 49 2 1", +"49 49 3 1", " c black s dark_piece", ". c gray s light_square", +"X c white s light_piece", /* pixels */ ".................................................", ".................................................", @@ -18,7 +19,7 @@ static char *mdl49[] = { "...................... ......................", "...................... ......................", "...................... ......................", -"...................... ... ......................", +"...................... XXX ......................", "................. ................", "............... ...............", "............ ............", @@ -32,18 +33,18 @@ static char *mdl49[] = { "........ ........", "....... ........", "....... .......", -"....... ........... .......", -"....... .... .... .......", -"....... .. .. .......", +"....... XXXXXXXXXXX .......", +"....... XXXX XXXX .......", +"....... XX XX .......", "...... ......", "...... ......", "...... ......", -"..... ................... .....", -".... ...... ...... ....", -"... ... ... ...", -".. .. .. .. .. ..", -". . ...... ..... . .", -". ................. .", +"..... XXXXXXXXXXXXXXXXXXX .....", +".... XXXXXX XXXXXX ....", +"... XXX XXX ...", +".. XX XX XX XX ..", +". X XXXXXX XXXXX X .", +". XXXXXXXXXXXXXXXXX .", ". .", ".. ..", "... ...", diff --git a/pixmaps/mdl72.xpm b/pixmaps/mdl72.xpm index c303d37..b1a1498 100644 --- a/pixmaps/mdl72.xpm +++ b/pixmaps/mdl72.xpm @@ -1,9 +1,10 @@ /* XPM */ static char *mdl72[] = { /* columns rows colors chars-per-pixel */ -"72 72 2 1", +"72 72 3 1", " c black s dark_piece", ". c gray s light_square", +"X c white s light_piece", /* pixels */ "........................................................................", "........................................................................", @@ -28,8 +29,8 @@ static char *mdl72[] = { "................................ ...............................", "................................ ...............................", "................................ ...............................", -"................................. ... ................................", -"................................. ... ................................", +"................................. XXX ................................", +"................................. XXX ................................", "........................... ..........................", "........................ ......................", "..................... ....................", @@ -48,22 +49,22 @@ static char *mdl72[] = { "............. .............", "............. .............", "............. .............", -"............ .................... ............", -"............ ...... .................... ..... ............", -"............ .......... ........ ............", -"............ .... ... ............", +"............ XXXXXXXXXXXXXXXXXXXX ............", +"............ XXXXXX XXXXXXXXXXXXXXXXXXXX XXXXX ............", +"............ XXXXXXXXXX XXXXXXXX ............", +"............ XXXX XXX ............", "........... ...........", "........... ...........", "........... ...........", ".......... ..........", "......... .........", -"........ .......................... ........", -"....... ........................................ .......", -"...... ............ ........... ......", -"..... ....... ........ .....", -".... ... ............. ............. ... ....", -"... ........................................ ...", -"... ..................... ...", +"........ XXXXXXXXXXXXXXXXXXXXXXXXXX ........", +"....... XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX .......", +"...... XXXXXXXXXXXX XXXXXXXXXXX ......", +"..... XXXXXXX XXXXXXXX .....", +".... XXX XXXXXXXXXXXXX XXXXXXXXXXXXX XXX ....", +"... XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX ...", +"... XXXXXXXXXXXXXXXXXXXXX ...", "... ...", ".... ....", "..... .....", diff --git a/pixmaps/odd33.xpm b/pixmaps/odd33.xpm index 55d3314..7583b13 100644 --- a/pixmaps/odd33.xpm +++ b/pixmaps/odd33.xpm @@ -1,9 +1,10 @@ /* XPM */ static char *odd33[] = { /* columns rows colors chars-per-pixel */ -"33 33 2 1", +"33 33 3 1", " c black s dark_piece", ". c green s dark_square", +"X c white s light_piece", /* pixels */ ".................................", ".................................", @@ -18,19 +19,19 @@ static char *odd33[] = { ".. .. ........", "....... ....", "......... ..", -"........... .......... ..", -"............ . ..", -"............ . . .", -".... ........ . .", -".... . ..", +"........... XXXXXXXXXX ..", +"............ X ..", +"............ X X .", +".... XXXXXXXX X .", +".... X ..", ".... ....", ".... ....", ".... ....", ".... ....", ".... ....", -".... ... ... ....", -".... . . . . ....", -".... . . . . ....", +".... XXX XXX ....", +".... X X X X ....", +".... X X X X ....", ".... ....", "....... ........ ........", "........ .......... .........", diff --git a/pixmaps/odd49.xpm b/pixmaps/odd49.xpm index e11bd91..a82d049 100644 --- a/pixmaps/odd49.xpm +++ b/pixmaps/odd49.xpm @@ -1,9 +1,10 @@ /* XPM */ static char *odd49[] = { /* columns rows colors chars-per-pixel */ -"49 49 2 1", +"49 49 3 1", " c black s dark_piece", ". c green s dark_square", +"X c white s light_piece", /* pixels */ ".................................................", ".................................................", @@ -27,13 +28,13 @@ static char *odd49[] = { "........... ..........", "............. .......", "............... .....", -"................. ................ ....", -"................. . ....", -"................. . ....", -"...... .......... .....", -"...... . ....", -"...... . ....", -"...... . ....", +"................. XXXXXXXXXXXXXXXX ....", +"................. X ....", +"................. X ....", +"...... XXXXXXXXXX .....", +"...... X ....", +"...... X ....", +"...... X ....", "...... ......", "...... ......", "...... ......", @@ -43,13 +44,13 @@ static char *odd49[] = { "...... ......", "...... ......", "...... ......", -"...... .. .. ......", -"...... .... .... ......", -"...... ...... ...... ......", -"...... ...... ...... ......", -"......... ...... ............... ...... .........", -".......... .... ................. .... ..........", -".......... .. ................. .. ..........", +"...... XX XX ......", +"...... XXXX XXXX ......", +"...... XXXXXX XXXXXX ......", +"...... XXXXXX XXXXXX ......", +"......... XXXXXX ............... XXXXXX .........", +".......... XXXX ................. XXXX ..........", +".......... XX ................. XX ..........", "............ ..................... ............", ".................................................", ".................................................", diff --git a/pixmaps/odd72.xpm b/pixmaps/odd72.xpm index 0e75e81..6c666b1 100644 --- a/pixmaps/odd72.xpm +++ b/pixmaps/odd72.xpm @@ -1,9 +1,10 @@ /* XPM */ static char *odd72[] = { /* columns rows colors chars-per-pixel */ -"72 72 2 1", +"72 72 3 1", " c black s dark_piece", ". c green s dark_square", +"X c white s light_piece", /* pixels */ "........................................................................", "........................................................................", @@ -37,18 +38,18 @@ static char *odd72[] = { "................. .................", "................... ..............", "..................... ...........", -"..................... ........................... .......", -"..................... ........................... .....", -"..................... .. .....", -"..................... .. .....", -"........ ............... .....", -"........ ............... ......", -"........ .. ......", -"........ .. .....", -"........ .. ....", -"........ .. ....", -"........ .. ....", -"........ .. .....", +"..................... XXXXXXXXXXXXXXXXXXXXXXXXXXX .......", +"..................... XXXXXXXXXXXXXXXXXXXXXXXXXXX .....", +"..................... XX .....", +"..................... XX .....", +"........ XXXXXXXXXXXXXXX .....", +"........ XXXXXXXXXXXXXXX ......", +"........ XX ......", +"........ XX .....", +"........ XX ....", +"........ XX ....", +"........ XX ....", +"........ XX .....", "........ ......", "........ .........", "........ .........", @@ -61,15 +62,15 @@ static char *odd72[] = { "........ .........", "........ .........", "........ .........", -"........ .... .... .........", -"........ ...... ...... .........", -"........ ........ ........ .........", -"........ ........ ........ .........", -"........ ........ ........ .........", -"............... ........ ................. ........ ................", -"............... ........ ................. ........ ................", -"................ ...... .................. ...... ................", -"................ .... ................... .... .................", +"........ XXXX XXXX .........", +"........ XXXXXX XXXXXX .........", +"........ XXXXXXXX XXXXXXXX .........", +"........ XXXXXXXX XXXXXXXX .........", +"........ XXXXXXXX XXXXXXXX .........", +"............... XXXXXXXX ................. XXXXXXXX ................", +"............... XXXXXXXX ................. XXXXXXXX ................", +"................ XXXXXX .................. XXXXXX ................", +"................ XXXX ................... XXXX .................", "................. ..................... ..................", ".................. ....................... ...................", "........................................................................", diff --git a/pixmaps/odl33.xpm b/pixmaps/odl33.xpm index 5308eca..876a4d7 100644 --- a/pixmaps/odl33.xpm +++ b/pixmaps/odl33.xpm @@ -1,9 +1,10 @@ /* XPM */ static char *odl33[] = { /* columns rows colors chars-per-pixel */ -"33 33 2 1", +"33 33 3 1", " c black s dark_piece", ". c gray s light_square", +"X c white s light_piece", /* pixels */ ".................................", ".................................", @@ -18,19 +19,19 @@ static char *odl33[] = { ".. .. ........", "....... ....", "......... ..", -"........... .......... ..", -"............ . ..", -"............ . . .", -".... ........ . .", -".... . ..", +"........... XXXXXXXXXX ..", +"............ X ..", +"............ X X .", +".... XXXXXXXX X .", +".... X ..", ".... ....", ".... ....", ".... ....", ".... ....", ".... ....", -".... ... ... ....", -".... . . . . ....", -".... . . . . ....", +".... XXX XXX ....", +".... X X X X ....", +".... X X X X ....", ".... ....", "....... ........ ........", "........ .......... .........", diff --git a/pixmaps/odl49.xpm b/pixmaps/odl49.xpm index 2c80d39..fdc0e6d 100644 --- a/pixmaps/odl49.xpm +++ b/pixmaps/odl49.xpm @@ -1,9 +1,10 @@ /* XPM */ static char *odl49[] = { /* columns rows colors chars-per-pixel */ -"49 49 2 1", +"49 49 3 1", " c black s dark_piece", ". c gray s light_square", +"X c white s light_piece", /* pixels */ ".................................................", ".................................................", @@ -27,13 +28,13 @@ static char *odl49[] = { "........... ..........", "............. .......", "............... .....", -"................. ................ ....", -"................. . ....", -"................. . ....", -"...... .......... .....", -"...... . ....", -"...... . ....", -"...... . ....", +"................. XXXXXXXXXXXXXXXX ....", +"................. X ....", +"................. X ....", +"...... XXXXXXXXXX .....", +"...... X ....", +"...... X ....", +"...... X ....", "...... ......", "...... ......", "...... ......", @@ -43,13 +44,13 @@ static char *odl49[] = { "...... ......", "...... ......", "...... ......", -"...... .. .. ......", -"...... .... .... ......", -"...... ...... ...... ......", -"...... ...... ...... ......", -"......... ...... ............... ...... .........", -".......... .... ................. .... ..........", -".......... .. ................. .. ..........", +"...... XX XX ......", +"...... XXXX XXXX ......", +"...... XXXXXX XXXXXX ......", +"...... XXXXXX XXXXXX ......", +"......... XXXXXX ............... XXXXXX .........", +".......... XXXX ................. XXXX ..........", +".......... XX ................. XX ..........", "............ ..................... ............", ".................................................", ".................................................", diff --git a/pixmaps/odl72.xpm b/pixmaps/odl72.xpm index f65d242..c528533 100644 --- a/pixmaps/odl72.xpm +++ b/pixmaps/odl72.xpm @@ -1,9 +1,10 @@ /* XPM */ static char *odl72[] = { /* columns rows colors chars-per-pixel */ -"72 72 2 1", +"72 72 3 1", " c black s dark_piece", ". c gray s light_square", +"X c white s light_piece", /* pixels */ "........................................................................", "........................................................................", @@ -37,18 +38,18 @@ static char *odl72[] = { "................. .................", "................... ..............", "..................... ...........", -"..................... ........................... .......", -"..................... ........................... .....", -"..................... .. .....", -"..................... .. .....", -"........ ............... .....", -"........ ............... ......", -"........ .. ......", -"........ .. .....", -"........ .. ....", -"........ .. ....", -"........ .. ....", -"........ .. .....", +"..................... XXXXXXXXXXXXXXXXXXXXXXXXXXX .......", +"..................... XXXXXXXXXXXXXXXXXXXXXXXXXXX .....", +"..................... XX .....", +"..................... XX .....", +"........ XXXXXXXXXXXXXXX .....", +"........ XXXXXXXXXXXXXXX ......", +"........ XX ......", +"........ XX .....", +"........ XX ....", +"........ XX ....", +"........ XX ....", +"........ XX .....", "........ ......", "........ .........", "........ .........", @@ -61,15 +62,15 @@ static char *odl72[] = { "........ .........", "........ .........", "........ .........", -"........ .... .... .........", -"........ ...... ...... .........", -"........ ........ ........ .........", -"........ ........ ........ .........", -"........ ........ ........ .........", -"............... ........ ................. ........ ................", -"............... ........ ................. ........ ................", -"................ ...... .................. ...... ................", -"................ .... ................... .... .................", +"........ XXXX XXXX .........", +"........ XXXXXX XXXXXX .........", +"........ XXXXXXXX XXXXXXXX .........", +"........ XXXXXXXX XXXXXXXX .........", +"........ XXXXXXXX XXXXXXXX .........", +"............... XXXXXXXX ................. XXXXXXXX ................", +"............... XXXXXXXX ................. XXXXXXXX ................", +"................ XXXXXX .................. XXXXXX ................", +"................ XXXX ................... XXXX .................", "................. ..................... ..................", ".................. ....................... ...................", "........................................................................", diff --git a/pixmaps/sdd49.xpm b/pixmaps/sdd49.xpm index 61b330c..c8f22e8 100644 --- a/pixmaps/sdd49.xpm +++ b/pixmaps/sdd49.xpm @@ -1,9 +1,10 @@ /* XPM */ static char *sdd49[] = { /* columns rows colors chars-per-pixel */ -"49 49 2 1", +"49 49 3 1", " c black s dark_piece", ". c green s dark_square", +"X c white s light_piece", /* pixels */ ".................................................", ".................................................", @@ -18,14 +19,14 @@ static char *sdd49[] = { "............. ................", "........... ................", ".......... ...............", -"......... ...... .. .............", -"........ ... ...........", -"........ ... ..........", -"....... .. . .........", -"....... .. .. ........", -"...... . .. ........", -"...... . .. .......", -"...... . .......", +"......... XXXXXX XX .............", +"........ XXX ...........", +"........ XXX ..........", +"....... XX X .........", +"....... XX XX ........", +"...... X XX ........", +"...... X XX .......", +"...... X .......", "...... . .......", "...... .... .......", "...... ....... . .......", diff --git a/pixmaps/sdd72.xpm b/pixmaps/sdd72.xpm index 8503541..f0a77f3 100644 --- a/pixmaps/sdd72.xpm +++ b/pixmaps/sdd72.xpm @@ -1,9 +1,10 @@ /* XPM */ static char *sdd72[] = { /* columns rows colors chars-per-pixel */ -"72 72 2 1", +"72 72 3 1", " c black s dark_piece", ". c green s dark_square", +"X c white s light_piece", /* pixels */ "........................................................................", "........................................................................", @@ -23,18 +24,18 @@ static char *sdd72[] = { "................... ........................", "................. .......................", "................ ......................", -"............... ... .....................", -"............. ......... ..... ...................", -"............. ............ .................", -"............ ...... ................", -"........... ...... ...............", -"........... ...... ... ..............", -".......... ..... ... .............", -".......... .... .. ............", -"......... ... .... ...........", -"......... ... ... ...........", -"......... ... .... ..........", -"......... . ..........", +"............... XXX .....................", +"............. XXXXXXXXX XXXXX ...................", +"............. XXXXXXXXXXXX .................", +"............ XXXXXX ................", +"........... XXXXXX ...............", +"........... XXXXXX XXX ..............", +".......... XXXXX XXX .............", +".......... XXXX XX ............", +"......... XXX XXXX ...........", +"......... XXX XXX ...........", +"......... XXX XXXX ..........", +"......... X ..........", "......... ..........", "......... .. ..........", "......... ... ..........", diff --git a/pixmaps/sdl49.xpm b/pixmaps/sdl49.xpm index 05b0f88..298bfd3 100644 --- a/pixmaps/sdl49.xpm +++ b/pixmaps/sdl49.xpm @@ -1,9 +1,10 @@ /* XPM */ static char *sdl49[] = { /* columns rows colors chars-per-pixel */ -"49 49 2 1", +"49 49 3 1", " c black s dark_piece", ". c gray s light_square", +"X c white s light_piece", /* pixels */ ".................................................", ".................................................", @@ -18,14 +19,14 @@ static char *sdl49[] = { "............. ................", "........... ................", ".......... ...............", -"......... ...... .. .............", -"........ ... ...........", -"........ ... ..........", -"....... .. . .........", -"....... .. .. ........", -"...... . .. ........", -"...... . .. .......", -"...... . .......", +"......... XXXXXX XX .............", +"........ XXX ...........", +"........ XXX ..........", +"....... XX X .........", +"....... XX XX ........", +"...... X XX ........", +"...... X XX .......", +"...... X .......", "...... . .......", "...... .... .......", "...... ....... . .......", diff --git a/pixmaps/sdl72.xpm b/pixmaps/sdl72.xpm index f61c684..9498a41 100644 --- a/pixmaps/sdl72.xpm +++ b/pixmaps/sdl72.xpm @@ -1,9 +1,10 @@ /* XPM */ static char *sdl72[] = { /* columns rows colors chars-per-pixel */ -"72 72 2 1", +"72 72 3 1", " c black s dark_piece", ". c gray s light_square", +"X c white s light_piece", /* pixels */ "........................................................................", "........................................................................", @@ -23,18 +24,18 @@ static char *sdl72[] = { "................... ........................", "................. .......................", "................ ......................", -"............... ... .....................", -"............. ......... ..... ...................", -"............. ............ .................", -"............ ...... ................", -"........... ...... ...............", -"........... ...... ... ..............", -".......... ..... ... .............", -".......... .... .. ............", -"......... ... .... ...........", -"......... ... ... ...........", -"......... ... .... ..........", -"......... . ..........", +"............... XXX .....................", +"............. XXXXXXXXX XXXXX ...................", +"............. XXXXXXXXXXXX .................", +"............ XXXXXX ................", +"........... XXXXXX ...............", +"........... XXXXXX XXX ..............", +".......... XXXXX XXX .............", +".......... XXXX XX ............", +"......... XXX XXXX ...........", +"......... XXX XXX ...........", +"......... XXX XXXX ..........", +"......... X ..........", "......... ..........", "......... .. ..........", "......... ... ..........", diff --git a/pixmaps/udd49.xpm b/pixmaps/udd49.xpm index b4721c9..c2ad907 100644 --- a/pixmaps/udd49.xpm +++ b/pixmaps/udd49.xpm @@ -1,44 +1,45 @@ /* XPM */ static char *udd49[] = { /* columns rows colors chars-per-pixel */ -"49 49 2 1", +"49 49 3 1", " c black s dark_piece", ". c green s dark_square", +"X c white s light_piece", /* pixels */ ".................................................", ". ..............................................", ".. .............................................", ".. ............................................", -"... . ...... ........ ...........................", -".... . ..... ..... ..........................", -".... .. .... .... .........................", -"..... .. ... .. .........................", -"...... .. .. . . ......................", -"....... .. .. .. . . ...................", -"....... ... . .................", -"........ ... ................", -"......... .. ..............", +"... X ...... ........ ...........................", +".... X ..... ..... ..........................", +".... XX .... .... .........................", +"..... XX ... .. .........................", +"...... XX .. X X ......................", +"....... XX .. XX X X ...................", +"....... XXX X .................", +"........ XXX ................", +"......... XX ..............", ".......... .............", -"......... . ............", -"......... .. ...........", -"......... . ...........", -"......... . ..........", -"........ . .........", -"........ . .........", -"........ . ........", -"....... . ........", -"....... . ........", +"......... X ............", +"......... XX ...........", +"......... X ...........", +"......... X ..........", +"........ X .........", +"........ X .........", +"........ X ........", +"....... X ........", +"....... X ........", "...... .......", "..... . .......", "..... .. .......", ".... ... ......", ".... ..... ......", -"... .. ...... ......", -"... . ....... ......", +"... XX ...... ......", +"... X ....... ......", "... ........ .....", -"... . ....... .....", -"... . . ..... .....", -".... . . .... .....", +"... X ....... .....", +"... . X ..... .....", +".... . X .... .....", "..... . . .. .....", ".......... . ... .....", ".............. ... ....", diff --git a/pixmaps/udd72.xpm b/pixmaps/udd72.xpm index e762155..976e295 100644 --- a/pixmaps/udd72.xpm +++ b/pixmaps/udd72.xpm @@ -1,9 +1,10 @@ /* XPM */ static char *udd72[] = { /* columns rows colors chars-per-pixel */ -"72 72 2 1", +"72 72 3 1", " c black s dark_piece", ". c green s dark_square", +"X c white s light_piece", /* pixels */ "........................................................................", "........................................................................", @@ -12,25 +13,25 @@ static char *udd72[] = { ". ............................ .......................................", ".. ........... ........... ......................................", ".. ........... ......... ......................................", -"... . .......... ...... .....................................", -".... . ........ ..... .....................................", -"..... .. ....... ... ....................................", -"...... .. ...... .. ....................................", -"....... .. .... . . ...............................", -"........ .. ... . .. .. ............................", -"......... ... .. .. . .. .........................", -".......... ... . ... . .......................", -"........... ... ... .....................", -"............ ... . ....................", -"............. ... ...................", -".............. . ..................", +"... X .......... ...... .....................................", +".... X ........ ..... .....................................", +"..... XX ....... ... ....................................", +"...... XX ...... .. ....................................", +"....... XX .... X X ...............................", +"........ XX ... X XX XX ............................", +"......... XXX .. XX X XX .........................", +".......... XXX . XXX X .......................", +"........... XXX XXX .....................", +"............ XXX X ....................", +"............. XXX ...................", +".............. X ..................", ".............. .................", -"............. .. ................", -"............. ... ...............", -"............. .... ...............", -"............. ..... ..............", -"............. .... .............", -"............ . .............", +"............. XX ................", +"............. XXX ...............", +"............. XXXX ...............", +"............. XXXXX ..............", +"............. XXXX .............", +"............ X .............", "............ ............", "............ ............", "........... ...........", @@ -45,18 +46,18 @@ static char *udd72[] = { "...... . ........", "..... ... ........", "..... ..... ........", -"..... .. ....... .......", -".... .... ........ .......", -".... .... .......... .......", -".... ... .......... .......", -".... ... ........... .......", +"..... XX ....... .......", +".... XXXX ........ .......", +".... XXXX .......... .......", +".... XXX .......... .......", +".... XXX ........... .......", ".... ........... ......", ".... ......... ......", -".... . ....... ......", -"..... ... ...... ......", -"...... .. ...... ......", -"........ . .. ..... ......", -".............. . . ..... ......", +".... X ....... ......", +"..... XXX ...... ......", +"...... XX ...... ......", +"........ . XX ..... ......", +".............. . X ..... ......", "................... ... ......", ".................... ... .....", ".......................... .....", diff --git a/pixmaps/udl49.xpm b/pixmaps/udl49.xpm index ebd9c86..0a5e30b 100644 --- a/pixmaps/udl49.xpm +++ b/pixmaps/udl49.xpm @@ -1,44 +1,45 @@ /* XPM */ static char *udl49[] = { /* columns rows colors chars-per-pixel */ -"49 49 2 1", +"49 49 3 1", " c black s dark_piece", ". c gray s light_square", +"X c white s light_piece", /* pixels */ ".................................................", ". ..............................................", ".. .............................................", ".. ............................................", -"... . ...... ........ ...........................", -".... . ..... ..... ..........................", -".... .. .... .... .........................", -"..... .. ... .. .........................", -"...... .. .. . . ......................", -"....... .. .. .. . . ...................", -"....... ... . .................", -"........ ... ................", -"......... .. ..............", +"... X ...... ........ ...........................", +".... X ..... ..... ..........................", +".... XX .... .... .........................", +"..... XX ... .. .........................", +"...... XX .. X X ......................", +"....... XX .. XX X X ...................", +"....... XXX X .................", +"........ XXX ................", +"......... XX ..............", ".......... .............", -"......... . ............", -"......... .. ...........", -"......... . ...........", -"......... . ..........", -"........ . .........", -"........ . .........", -"........ . ........", -"....... . ........", -"....... . ........", +"......... X ............", +"......... XX ...........", +"......... X ...........", +"......... X ..........", +"........ X .........", +"........ X .........", +"........ X ........", +"....... X ........", +"....... X ........", "...... .......", "..... . .......", "..... .. .......", ".... ... ......", ".... ..... ......", -"... .. ...... ......", -"... . ....... ......", +"... XX ...... ......", +"... X ....... ......", "... ........ .....", -"... . ....... .....", -"... . . ..... .....", -".... . . .... .....", +"... X ....... .....", +"... . X ..... .....", +".... . X .... .....", "..... . . .. .....", ".......... . ... .....", ".............. ... ....", diff --git a/pixmaps/udl72.xpm b/pixmaps/udl72.xpm index 851f6ee..d759885 100644 --- a/pixmaps/udl72.xpm +++ b/pixmaps/udl72.xpm @@ -1,9 +1,10 @@ /* XPM */ static char *udl72[] = { /* columns rows colors chars-per-pixel */ -"72 72 2 1", +"72 72 3 1", " c black s dark_piece", ". c gray s light_square", +"X c white s light_piece", /* pixels */ "........................................................................", "........................................................................", @@ -12,25 +13,25 @@ static char *udl72[] = { ". ............................ .......................................", ".. ........... ........... ......................................", ".. ........... ......... ......................................", -"... . .......... ...... .....................................", -".... . ........ ..... .....................................", -"..... .. ....... ... ....................................", -"...... .. ...... .. ....................................", -"....... .. .... . . ...............................", -"........ .. ... . .. .. ............................", -"......... ... .. .. . .. .........................", -".......... ... . ... . .......................", -"........... ... ... .....................", -"............ ... . ....................", -"............. ... ...................", -".............. . ..................", +"... X .......... ...... .....................................", +".... X ........ ..... .....................................", +"..... XX ....... ... ....................................", +"...... XX ...... .. ....................................", +"....... XX .... X X ...............................", +"........ XX ... X XX XX ............................", +"......... XXX .. XX X XX .........................", +".......... XXX . XXX X .......................", +"........... XXX XXX .....................", +"............ XXX X ....................", +"............. XXX ...................", +".............. X ..................", ".............. .................", -"............. .. ................", -"............. ... ...............", -"............. .... ...............", -"............. ..... ..............", -"............. .... .............", -"............ . .............", +"............. XX ................", +"............. XXX ...............", +"............. XXXX ...............", +"............. XXXXX ..............", +"............. XXXX .............", +"............ X .............", "............ ............", "............ ............", "........... ...........", @@ -45,18 +46,18 @@ static char *udl72[] = { "...... . ........", "..... ... ........", "..... ..... ........", -"..... .. ....... .......", -".... .... ........ .......", -".... .... .......... .......", -".... ... .......... .......", -".... ... ........... .......", +"..... XX ....... .......", +".... XXXX ........ .......", +".... XXXX .......... .......", +".... XXX .......... .......", +".... XXX ........... .......", ".... ........... ......", ".... ......... ......", -".... . ....... ......", -"..... ... ...... ......", -"...... .. ...... ......", -"........ . .. ..... ......", -".............. . . ..... ......", +".... X ....... ......", +"..... XXX ...... ......", +"...... XX ...... ......", +"........ . XX ..... ......", +".............. . X ..... ......", "................... ... ......", ".................... ... .....", ".......................... .....", diff --git a/pixmaps/vdd33.xpm b/pixmaps/vdd33.xpm index b998fc2..07b2591 100644 --- a/pixmaps/vdd33.xpm +++ b/pixmaps/vdd33.xpm @@ -1,9 +1,10 @@ /* XPM */ static char *vdd33[] = { /* columns rows colors chars-per-pixel */ -"33 33 2 1", +"33 33 3 1", " c black s dark_piece", ". c green s dark_square", +"X c white s light_piece", /* pixels */ ".................................", ".................................", @@ -14,27 +15,27 @@ static char *vdd33[] = { "............ ...........", ".......... .........", "......... ........", -"........ ... ........", -"........ .. . .......", -"........ ... . . .......", -"....... ... ... .....", -"....... . ....", -"....... . ...", -"....... ....... ...", -"...... . . ...", +"........ XXX ........", +"........ XX X .......", +"........ XXX X X .......", +"....... XXX XXX .....", +"....... X ....", +"....... X ...", +"....... XXXXXXX ...", +"...... X . ...", "...... .... ...", "...... ...........", -"...... .. ...........", -"...... .. ..........", -"...... . .........", +"...... XX ...........", +"...... XX ..........", +"...... X .........", "...... ........", -"...... .... .......", -"...... . .. ......", -"..... . . .....", -".... . . ....", -"... . . ...", -"... . . ..", -"... . . ..", +"...... XXXX .......", +"...... X XX ......", +"..... X X .....", +".... X X ....", +"... X X ...", +"... X X ..", +"... X X ..", ".... . . ..", ".................................", "................................." diff --git a/pixmaps/vdd49.xpm b/pixmaps/vdd49.xpm index 8abaaba..a01532e 100644 --- a/pixmaps/vdd49.xpm +++ b/pixmaps/vdd49.xpm @@ -1,9 +1,10 @@ /* XPM */ static char *vdd49[] = { /* columns rows colors chars-per-pixel */ -"49 49 2 1", +"49 49 3 1", " c black s dark_piece", ". c green s dark_square", +"X c white s light_piece", /* pixels */ ".................................................", ".................................................", @@ -17,40 +18,40 @@ static char *vdd49[] = { ".............. ...............", "............. ..............", "............ .............", -"........... .... ............", -"........... .. . ............", -".......... .. .. . ...........", -".......... ... .. . .. .........", -".......... .. . .. . .......", -"......... ..... . .....", -"......... ... ....", -"......... . ....", -"........ . ...", -"........ ........ ...", -"........ .. .... ...", -"........ . . ...", +"........... XXXX ............", +"........... XX X ............", +".......... XX XX X ...........", +".......... XXX XX X XX .........", +".......... XX X XX X .......", +"......... XXXXX X .....", +"......... XXX ....", +"......... X ....", +"........ X ...", +"........ XXXXXXXX ...", +"........ XX XXXX ...", +"........ X . ...", "........ .... ....", "........ .......... ....", "........ ........... .....", "........ ..................", "....... ..................", -"....... . .................", -"....... .. ...............", -"....... .. ..............", +"....... X .................", +"....... XX ...............", +"....... XX ..............", "....... .............", "....... ............", -"....... ... ...........", -"....... .. . ..........", -"....... . .. .........", -"....... . . ........", -"..... . . .. .......", -".... . . . ......", -"... . . .....", -"... . . ....", -"... . . ...", -"... . . ...", -".... . . ...", -".... . . ...", +"....... XXX ...........", +"....... XX X ..........", +"....... X XX .........", +"....... X X ........", +"..... X X XX .......", +".... X X X ......", +"... X X .....", +"... X X ....", +"... X X ...", +"... X X ...", +".... X X ...", +".... X X ...", "..... ...", ".................................................", "................................................." diff --git a/pixmaps/vdd72.xpm b/pixmaps/vdd72.xpm index a379d9d..8732f9a 100644 --- a/pixmaps/vdd72.xpm +++ b/pixmaps/vdd72.xpm @@ -1,9 +1,10 @@ /* XPM */ static char *vdd72[] = { /* columns rows colors chars-per-pixel */ -"72 72 2 1", +"72 72 3 1", " c black s dark_piece", ". c green s dark_square", +"X c white s light_piece", /* pixels */ "........................................................................", "........................................................................", @@ -26,51 +27,51 @@ static char *vdd72[] = { ".................... .......................", "................... ......................", ".................. .....................", -".................. ...... ....................", -"................. ... .. ....................", -"................. ... .. .. ...................", -"................ ... .... .. .. ..................", -"................ .... .... .. ... .................", -"................ ... .. .. .. . ................", -"............... ... .. .. .............", -"............... ....... .. ...........", -"............... .... ..........", -".............. ... ..........", -".............. .. .........", -".............. .... .........", -".............. ......... .........", -".............. ... ....... .........", -"............. .. .... .........", -"............. .. .. .........", -"............. . . ....... ..........", +".................. XXXXXX ....................", +"................. XXX XX ....................", +"................. XXX XX XX ...................", +"................ XXX XXXX XX XX ..................", +"................ XXXX XXXX XX XXX .................", +"................ XXX XX XX XX X ................", +"............... XXX XX XX .............", +"............... XXXXXXX XX ...........", +"............... XXXX ..........", +".............. XXX ..........", +".............. XX .........", +".............. XXXX .........", +".............. XXXXXXXXX .........", +".............. XXX XXXXXXX .........", +"............. XX XXXX .........", +"............. XX .. .........", +"............. X . ....... ..........", "............. ............... ..........", "............. ............... ...........", "............. ...........................", "............. ............................", "............ ............................", -"............ .. ...........................", -"............ .. ...........................", -"............ .. ........................", -"............ ... .......................", +"............ XX ...........................", +"............ XX ...........................", +"............ XX ........................", +"............ XXX .......................", "............ ......................", "............ .....................", "............ ....................", -"............ .... ...................", -"............ ......... ..................", -"............ .... ... .................", -"............ ... .. ................", -"............ ... ... ...............", -".......... . .. ... ..............", -"......... .. .. ... .............", -"........ .. .. . ............", -"....... .. .. ...........", -"....... .. .. .........", -"....... .. .. .........", -"....... ... .. ........", -"....... .. ... ........", -"........ .. .. ........", -"........ .. .. ........", -"........ .. .. ........", +"............ XXXX ...................", +"............ XXXXXXXXX ..................", +"............ XXXX XXX .................", +"............ XXX XX ................", +"............ XXX XXX ...............", +".......... X XX XXX ..............", +"......... XX XX XXX .............", +"........ XX XX X ............", +"....... XX XX ...........", +"....... XX XX .........", +"....... XX XX .........", +"....... XXX XX ........", +"....... XX XXX ........", +"........ XX XX ........", +"........ XX XX ........", +"........ XX XX ........", ".......... ........", "........................................................................", "........................................................................", diff --git a/pixmaps/vdl33.xpm b/pixmaps/vdl33.xpm index 575a626..b64a468 100644 --- a/pixmaps/vdl33.xpm +++ b/pixmaps/vdl33.xpm @@ -1,9 +1,10 @@ /* XPM */ static char *vdl33[] = { /* columns rows colors chars-per-pixel */ -"33 33 2 1", +"33 33 3 1", " c black s dark_piece", ". c gray s light_square", +"X c white s light_piece", /* pixels */ ".................................", ".................................", @@ -14,27 +15,27 @@ static char *vdl33[] = { "............ ...........", ".......... .........", "......... ........", -"........ ... ........", -"........ .. . .......", -"........ ... . . .......", -"....... ... ... .....", -"....... . ....", -"....... . ...", -"....... ....... ...", -"...... . . ...", +"........ XXX ........", +"........ XX X .......", +"........ XXX X X .......", +"....... XXX XXX .....", +"....... X ....", +"....... X ...", +"....... XXXXXXX ...", +"...... X . ...", "...... .... ...", "...... ...........", -"...... .. ...........", -"...... .. ..........", -"...... . .........", +"...... XX ...........", +"...... XX ..........", +"...... X .........", "...... ........", -"...... .... .......", -"...... . .. ......", -"..... . . .....", -".... . . ....", -"... . . ...", -"... . . ..", -"... . . ..", +"...... XXXX .......", +"...... X XX ......", +"..... X X .....", +".... X X ....", +"... X X ...", +"... X X ..", +"... X X ..", ".... . . ..", ".................................", "................................." diff --git a/pixmaps/vdl49.xpm b/pixmaps/vdl49.xpm index b6b415c..f800074 100644 --- a/pixmaps/vdl49.xpm +++ b/pixmaps/vdl49.xpm @@ -1,9 +1,10 @@ /* XPM */ static char *vdl49[] = { /* columns rows colors chars-per-pixel */ -"49 49 2 1", +"49 49 3 1", " c black s dark_piece", ". c gray s light_square", +"X c white s light_piece", /* pixels */ ".................................................", ".................................................", @@ -17,40 +18,40 @@ static char *vdl49[] = { ".............. ...............", "............. ..............", "............ .............", -"........... .... ............", -"........... .. . ............", -".......... .. .. . ...........", -".......... ... .. . .. .........", -".......... .. . .. . .......", -"......... ..... . .....", -"......... ... ....", -"......... . ....", -"........ . ...", -"........ ........ ...", -"........ .. .... ...", -"........ . . ...", +"........... XXXX ............", +"........... XX X ............", +".......... XX XX X ...........", +".......... XXX XX X XX .........", +".......... XX X XX X .......", +"......... XXXXX X .....", +"......... XXX ....", +"......... X ....", +"........ X ...", +"........ XXXXXXXX ...", +"........ XX XXXX ...", +"........ X . ...", "........ .... ....", "........ .......... ....", "........ ........... .....", "........ ..................", "....... ..................", -"....... . .................", -"....... .. ...............", -"....... .. ..............", +"....... X .................", +"....... XX ...............", +"....... XX ..............", "....... .............", "....... ............", -"....... ... ...........", -"....... .. . ..........", -"....... . .. .........", -"....... . . ........", -"..... . . .. .......", -".... . . . ......", -"... . . .....", -"... . . ....", -"... . . ...", -"... . . ...", -".... . . ...", -".... . . ...", +"....... XXX ...........", +"....... XX X ..........", +"....... X XX .........", +"....... X X ........", +"..... X X XX .......", +".... X X X ......", +"... X X .....", +"... X X ....", +"... X X ...", +"... X X ...", +".... X X ...", +".... X X ...", "..... ...", ".................................................", "................................................." diff --git a/pixmaps/vdl72.xpm b/pixmaps/vdl72.xpm index 1373726..33ec319 100644 --- a/pixmaps/vdl72.xpm +++ b/pixmaps/vdl72.xpm @@ -1,9 +1,10 @@ /* XPM */ static char *vdl72[] = { /* columns rows colors chars-per-pixel */ -"72 72 2 1", +"72 72 3 1", " c black s dark_piece", ". c gray s light_square", +"X c white s light_piece", /* pixels */ "........................................................................", "........................................................................", @@ -26,51 +27,51 @@ static char *vdl72[] = { ".................... .......................", "................... ......................", ".................. .....................", -".................. ...... ....................", -"................. ... .. ....................", -"................. ... .. .. ...................", -"................ ... .... .. .. ..................", -"................ .... .... .. ... .................", -"................ ... .. .. .. . ................", -"............... ... .. .. .............", -"............... ....... .. ...........", -"............... .... ..........", -".............. ... ..........", -".............. .. .........", -".............. .... .........", -".............. ......... .........", -".............. ... ....... .........", -"............. .. .... .........", -"............. .. .. .........", -"............. . . ....... ..........", +".................. XXXXXX ....................", +"................. XXX XX ....................", +"................. XXX XX XX ...................", +"................ XXX XXXX XX XX ..................", +"................ XXXX XXXX XX XXX .................", +"................ XXX XX XX XX X ................", +"............... XXX XX XX .............", +"............... XXXXXXX XX ...........", +"............... XXXX ..........", +".............. XXX ..........", +".............. XX .........", +".............. XXXX .........", +".............. XXXXXXXXX .........", +".............. XXX XXXXXXX .........", +"............. XX XXXX .........", +"............. XX .. .........", +"............. X . ....... ..........", "............. ............... ..........", "............. ............... ...........", "............. ...........................", "............. ............................", "............ ............................", -"............ .. ...........................", -"............ .. ...........................", -"............ .. ........................", -"............ ... .......................", +"............ XX ...........................", +"............ XX ...........................", +"............ XX ........................", +"............ XXX .......................", "............ ......................", "............ .....................", "............ ....................", -"............ .... ...................", -"............ ......... ..................", -"............ .... ... .................", -"............ ... .. ................", -"............ ... ... ...............", -".......... . .. ... ..............", -"......... .. .. ... .............", -"........ .. .. . ............", -"....... .. .. ...........", -"....... .. .. .........", -"....... .. .. .........", -"....... ... .. ........", -"....... .. ... ........", -"........ .. .. ........", -"........ .. .. ........", -"........ .. .. ........", +"............ XXXX ...................", +"............ XXXXXXXXX ..................", +"............ XXXX XXX .................", +"............ XXX XX ................", +"............ XXX XXX ...............", +".......... X XX XXX ..............", +"......... XX XX XXX .............", +"........ XX XX X ............", +"....... XX XX ...........", +"....... XX XX .........", +"....... XX XX .........", +"....... XXX XX ........", +"....... XX XXX ........", +"........ XX XX ........", +"........ XX XX ........", +"........ XX XX ........", ".......... ........", "........................................................................", "........................................................................", diff --git a/pixmaps/wdd33.xpm b/pixmaps/wdd33.xpm index 4da3814..5028e93 100644 --- a/pixmaps/wdd33.xpm +++ b/pixmaps/wdd33.xpm @@ -1,9 +1,10 @@ /* XPM */ static char *wdd33[] = { /* columns rows colors chars-per-pixel */ -"33 33 2 1", +"33 33 3 1", " c black s dark_piece", ". c green s dark_square", +"X c white s light_piece", /* pixels */ ".................................", ".................................", @@ -13,24 +14,24 @@ static char *wdd33[] = { ".............. ..............", "........... ..........", ".......... ........", -"........ .. .......", -"....... .... ......", -"...... .... .....", -"..... .. ....", -"..... .. ....", -"..... ... .. ...", -".... ..... . ...", -".... ..... .. ...", -".... ... ....", -"..... ... ... ....", -".... ..... . ...", -".... .. ...", -".... ... ...", -".... ... ... ...", -".... .... .. ...", -".... ... ... ....", -".... . . ....", -"..... . ....", +"........ XX .......", +"....... XXXX ......", +"...... XXXX .....", +"..... XX ....", +"..... XX ....", +"..... XXX XX ...", +".... XXXXX X ...", +".... XXXXX XX ...", +".... XXX ....", +"..... XXX XXX ....", +".... XXXXX X ...", +".... XX ...", +".... XXX ...", +".... XXX XXX ...", +".... XXXX XX ...", +".... XXX XXX ....", +".... X X ....", +"..... X ....", "..... .....", "...... ......", "........ .......", diff --git a/pixmaps/wdd49.xpm b/pixmaps/wdd49.xpm index 5bc2017..371bb46 100644 --- a/pixmaps/wdd49.xpm +++ b/pixmaps/wdd49.xpm @@ -1,9 +1,10 @@ /* XPM */ static char *wdd49[] = { /* columns rows colors chars-per-pixel */ -"49 49 2 1", +"49 49 3 1", " c black s dark_piece", ". c green s dark_square", +"X c white s light_piece", /* pixels */ ".................................................", ".................................................", @@ -23,29 +24,29 @@ static char *wdd49[] = { "............... ...........", "............. ..........", "............ .........", -"........... ........... ........", -".......... ..... .......", -"......... .... .......", -"......... .... ......", -"........ .. ......", -"....... ..... .. ......", -"....... ....... . ......", -"....... ....... . ......", -"....... ....... ......", -"....... ....... .....", -"....... ..... .....", -"....... ..... ....", -"....... ... ....", -"....... ... ....", -"........ ......... ....", -"....... ..... ....", -"....... ...... ....", -"....... ........ ..... ....", -"....... .. ... ....", -"....... .. ... .....", -"....... . . .....", -"....... . . ......", -"....... . ......", +"........... XXXXXXXXXXX ........", +".......... XXXXX .......", +"......... XXXX .......", +"......... XXXX ......", +"........ XX ......", +"....... XXXXX XX ......", +"....... XXXXXXX X ......", +"....... XXXXXXX X ......", +"....... XXXXXXX ......", +"....... XXXXXXX .....", +"....... XXXXX .....", +"....... XXXXX ....", +"....... XXX ....", +"....... XXX ....", +"........ XXXXXXXXX ....", +"....... XXXXX ....", +"....... XXXXXX ....", +"....... XXXXXXXX XXXXX ....", +"....... XX XXX ....", +"....... XX XXX .....", +"....... X X .....", +"....... X X ......", +"....... X ......", "........ .......", "......... .........", ".......... ...........", diff --git a/pixmaps/wdd72.xpm b/pixmaps/wdd72.xpm index 73515ff..95907e2 100644 --- a/pixmaps/wdd72.xpm +++ b/pixmaps/wdd72.xpm @@ -1,9 +1,10 @@ /* XPM */ static char *wdd72[] = { /* columns rows colors chars-per-pixel */ -"72 72 2 1", +"72 72 3 1", " c black s dark_piece", ". c green s dark_square", +"X c white s light_piece", /* pixels */ "........................................................................", "........................................................................", @@ -31,39 +32,39 @@ static char *wdd72[] = { "..................... ...............", "................... ..............", ".................. ..............", -"................ .. .............", -"............... ............ ............", -".............. .................. ...........", -".............. ............. ...........", -"............. .......... ..........", -"............. .......... ..........", -"............ ........ ..........", -"............ ...... ..........", -"........... ...... .... .........", -"........... ...... .... .........", -".......... ........ ..... .........", -".......... ........ ... ........", -".......... .......... .. .......", -".......... .......... .......", -".......... ........ .......", -".......... ........ .......", -".......... ...... .......", -".......... ...... .......", -".......... .... .......", -"........... .... .......", -"........... .. ......", -"........... ......... ......", -"........... ................... ......", -"........... ..... ............. ......", -".......... ........... ......", -".......... ..................... ......", -".......... ............ ........ ......", -".......... ......... ....... .......", -".......... ...... ....... .......", -".......... .... ....... ........", -"........... .... ..... ........", -"........... .... ... ........", -"........... .. . .........", +"................ XX .............", +"............... XXXXXXXXXXXX ............", +".............. XXXXXXXXXXXXXXXXXX ...........", +".............. XXXXXXXXXXXXX ...........", +"............. XXXXXXXXXX ..........", +"............. XXXXXXXXXX ..........", +"............ XXXXXXXX ..........", +"............ XXXXXX ..........", +"........... XXXXXX XXXX .........", +"........... XXXXXX XXXX .........", +".......... XXXXXXXX XXXXX .........", +".......... XXXXXXXX XXX ........", +".......... XXXXXXXXXX XX .......", +".......... XXXXXXXXXX .......", +".......... XXXXXXXX .......", +".......... XXXXXXXX .......", +".......... XXXXXX .......", +".......... XXXXXX .......", +".......... XXXX .......", +"........... XXXX .......", +"........... XX ......", +"........... XXXXXXXXX ......", +"........... XXXXXXXXXXXXXXXXXXX ......", +"........... XXXXX XXXXXXXXXXXXX ......", +".......... XXXXXXXXXXX ......", +".......... XXXXXXXXXXXXXXXXXXXXX ......", +".......... XXXXXXXXXXXX XXXXXXXX ......", +".......... XXXXXXXXX XXXXXXX .......", +".......... XXXXXX XXXXXXX .......", +".......... XXXX XXXXXXX ........", +"........... XXXX XXXXX ........", +"........... XXXX XXX ........", +"........... XX X .........", "........... .........", "............ .........", "............ ..........", diff --git a/pixmaps/wdl33.xpm b/pixmaps/wdl33.xpm index c210b29..cad08ef 100644 --- a/pixmaps/wdl33.xpm +++ b/pixmaps/wdl33.xpm @@ -1,9 +1,10 @@ /* XPM */ static char *wdl33[] = { /* columns rows colors chars-per-pixel */ -"33 33 2 1", +"33 33 3 1", " c black s dark_piece", ". c gray s light_square", +"X c white s light_piece", /* pixels */ ".................................", ".................................", @@ -13,24 +14,24 @@ static char *wdl33[] = { ".............. ..............", "........... ..........", ".......... ........", -"........ .. .......", -"....... .... ......", -"...... .... .....", -"..... .. ....", -"..... .. ....", -"..... ... .. ...", -".... ..... . ...", -".... ..... .. ...", -".... ... ....", -"..... ... ... ....", -".... ..... . ...", -".... .. ...", -".... ... ...", -".... ... ... ...", -".... .... .. ...", -".... ... ... ....", -".... . . ....", -"..... . ....", +"........ XX .......", +"....... XXXX ......", +"...... XXXX .....", +"..... XX ....", +"..... XX ....", +"..... XXX XX ...", +".... XXXXX X ...", +".... XXXXX XX ...", +".... XXX ....", +"..... XXX XXX ....", +".... XXXXX X ...", +".... XX ...", +".... XXX ...", +".... XXX XXX ...", +".... XXXX XX ...", +".... XXX XXX ....", +".... X X ....", +"..... X ....", "..... .....", "...... ......", "........ .......", diff --git a/pixmaps/wdl49.xpm b/pixmaps/wdl49.xpm index 80bab0d..570a741 100644 --- a/pixmaps/wdl49.xpm +++ b/pixmaps/wdl49.xpm @@ -1,9 +1,10 @@ /* XPM */ static char *wdl49[] = { /* columns rows colors chars-per-pixel */ -"49 49 2 1", +"49 49 3 1", " c black s dark_piece", ". c gray s light_square", +"X c white s light_piece", /* pixels */ ".................................................", ".................................................", @@ -23,29 +24,29 @@ static char *wdl49[] = { "............... ...........", "............. ..........", "............ .........", -"........... ........... ........", -".......... ..... .......", -"......... .... .......", -"......... .... ......", -"........ .. ......", -"....... ..... .. ......", -"....... ....... . ......", -"....... ....... . ......", -"....... ....... ......", -"....... ....... .....", -"....... ..... .....", -"....... ..... ....", -"....... ... ....", -"....... ... ....", -"........ ......... ....", -"....... ..... ....", -"....... ...... ....", -"....... ........ ..... ....", -"....... .. ... ....", -"....... .. ... .....", -"....... . . .....", -"....... . . ......", -"....... . ......", +"........... XXXXXXXXXXX ........", +".......... XXXXX .......", +"......... XXXX .......", +"......... XXXX ......", +"........ XX ......", +"....... XXXXX XX ......", +"....... XXXXXXX X ......", +"....... XXXXXXX X ......", +"....... XXXXXXX ......", +"....... XXXXXXX .....", +"....... XXXXX .....", +"....... XXXXX ....", +"....... XXX ....", +"....... XXX ....", +"........ XXXXXXXXX ....", +"....... XXXXX ....", +"....... XXXXXX ....", +"....... XXXXXXXX XXXXX ....", +"....... XX XXX ....", +"....... XX XXX .....", +"....... X X .....", +"....... X X ......", +"....... X ......", "........ .......", "......... .........", ".......... ...........", diff --git a/pixmaps/wdl72.xpm b/pixmaps/wdl72.xpm index 585ea0c..687f74a 100644 --- a/pixmaps/wdl72.xpm +++ b/pixmaps/wdl72.xpm @@ -1,9 +1,10 @@ /* XPM */ static char *wdl72[] = { /* columns rows colors chars-per-pixel */ -"72 72 2 1", +"72 72 3 1", " c black s dark_piece", ". c gray s light_square", +"X c white s light_piece", /* pixels */ "........................................................................", "........................................................................", @@ -31,39 +32,39 @@ static char *wdl72[] = { "..................... ...............", "................... ..............", ".................. ..............", -"................ .. .............", -"............... ............ ............", -".............. .................. ...........", -".............. ............. ...........", -"............. .......... ..........", -"............. .......... ..........", -"............ ........ ..........", -"............ ...... ..........", -"........... ...... .... .........", -"........... ...... .... .........", -".......... ........ ..... .........", -".......... ........ ... ........", -".......... .......... .. .......", -".......... .......... .......", -".......... ........ .......", -".......... ........ .......", -".......... ...... .......", -".......... ...... .......", -".......... .... .......", -"........... .... .......", -"........... .. ......", -"........... ......... ......", -"........... ................... ......", -"........... ..... ............. ......", -".......... ........... ......", -".......... ..................... ......", -".......... ............ ........ ......", -".......... ......... ....... .......", -".......... ...... ....... .......", -".......... .... ....... ........", -"........... .... ..... ........", -"........... .... ... ........", -"........... .. . .........", +"................ XX .............", +"............... XXXXXXXXXXXX ............", +".............. XXXXXXXXXXXXXXXXXX ...........", +".............. XXXXXXXXXXXXX ...........", +"............. XXXXXXXXXX ..........", +"............. XXXXXXXXXX ..........", +"............ XXXXXXXX ..........", +"............ XXXXXX ..........", +"........... XXXXXX XXXX .........", +"........... XXXXXX XXXX .........", +".......... XXXXXXXX XXXXX .........", +".......... XXXXXXXX XXX ........", +".......... XXXXXXXXXX XX .......", +".......... XXXXXXXXXX .......", +".......... XXXXXXXX .......", +".......... XXXXXXXX .......", +".......... XXXXXX .......", +".......... XXXXXX .......", +".......... XXXX .......", +"........... XXXX .......", +"........... XX ......", +"........... XXXXXXXXX ......", +"........... XXXXXXXXXXXXXXXXXXX ......", +"........... XXXXX XXXXXXXXXXXXX ......", +".......... XXXXXXXXXXX ......", +".......... XXXXXXXXXXXXXXXXXXXXX ......", +".......... XXXXXXXXXXXX XXXXXXXX ......", +".......... XXXXXXXXX XXXXXXX .......", +".......... XXXXXX XXXXXXX .......", +".......... XXXX XXXXXXX ........", +"........... XXXX XXXXX ........", +"........... XXXX XXX ........", +"........... XX X .........", "........... .........", "............ .........", "............ ..........", diff --git a/pixmaps/wldd49.xpm b/pixmaps/wldd49.xpm index 7875fb4..aaf9332 100644 --- a/pixmaps/wldd49.xpm +++ b/pixmaps/wldd49.xpm @@ -1,9 +1,10 @@ /* XPM */ static char *wldd49[] = { /* columns rows colors chars-per-pixel */ -"49 49 2 1", +"49 49 3 1", " c black s dark_piece", ". c green s dark_square", +"X c white s light_piece", /* pixels */ ".................................................", ".................................................", @@ -23,29 +24,29 @@ static char *wldd49[] = { "............... ...........", "............. ..........", "............ .........", -"........... ........... ........", -".......... ..... .......", -"......... .... .......", -"......... .... ......", -"........ ... .. ......", -"....... .. .. .. ......", -"....... . . . ......", -"....... . . . ......", -"....... . . ......", -"....... . . .....", -"....... . . .....", -"....... . . ....", -"....... .. .. ....", -"....... ... ....", -"........ ......... ....", -"....... ..... ....", -"....... ...... ....", -"....... ........ ..... ....", -"....... .. ... ....", -"....... .. ... .....", -"....... . . .....", -"....... . . ......", -"....... . ......", +"........... XXXXXXXXXXX ........", +".......... XXXXX .......", +"......... XXXX .......", +"......... XXXX ......", +"........ XXX XX ......", +"....... XX XX XX ......", +"....... X X X ......", +"....... X X X ......", +"....... X X ......", +"....... X X .....", +"....... X X .....", +"....... X X ....", +"....... XX XX ....", +"....... XXX ....", +"........ XXXXXXXXX ....", +"....... XXXXX ....", +"....... XXXXXX ....", +"....... XXXXXXXX XXXXX ....", +"....... XX XXX ....", +"....... XX XXX .....", +"....... X X .....", +"....... X X ......", +"....... X ......", "........ .......", "......... .........", ".......... ...........", diff --git a/pixmaps/wldd72.xpm b/pixmaps/wldd72.xpm index a324880..619c2da 100644 --- a/pixmaps/wldd72.xpm +++ b/pixmaps/wldd72.xpm @@ -1,9 +1,10 @@ /* XPM */ static char *wldd72[] = { /* columns rows colors chars-per-pixel */ -"72 72 2 1", +"72 72 3 1", " c black s dark_piece", ". c green s dark_square", +"X c white s light_piece", /* pixels */ "........................................................................", "........................................................................", @@ -31,39 +32,39 @@ static char *wldd72[] = { "..................... ...............", "................... ..............", ".................. ..............", -"................ .. .............", -"............... ............. ............", -".............. .................. ...........", -".............. ............. ...........", -"............. .......... ..........", -"............. .......... ..........", -"............ ........ ..........", -"............ ...... ..........", -"........... ..... .... .........", -"........... ....... .... .........", -".......... ... ... ..... .........", -".......... .. .. ... ........", -".......... .. .. .. .......", -".......... .. .. .......", -".......... .. .. .......", -".......... .. .. .......", -".......... .. .. .......", -".......... .. .. .......", -".......... ... ... .......", -"........... ....... .......", -"........... ..... ......", -"........... ......... ......", -"........... ................... ......", -"........... ..... ............. ......", -".......... ........... ......", -".......... ..................... ......", -".......... ............ ........ ......", -".......... ......... ....... .......", -".......... ...... ....... .......", -".......... .... ....... ........", -"........... .... ..... ........", -"........... .... ... ........", -"........... .. . .........", +"................ XX .............", +"............... XXXXXXXXXXXXX ............", +".............. XXXXXXXXXXXXXXXXXX ...........", +".............. XXXXXXXXXXXXX ...........", +"............. XXXXXXXXXX ..........", +"............. XXXXXXXXXX ..........", +"............ XXXXXXXX ..........", +"............ XXXXXX ..........", +"........... XXXXX XXXX .........", +"........... XXXXXXX XXXX .........", +".......... XXX XXX XXXXX .........", +".......... XX XX XXX ........", +".......... XX XX XX .......", +".......... XX XX .......", +".......... XX XX .......", +".......... XX XX .......", +".......... XX XX .......", +".......... XX XX .......", +".......... XXX XXX .......", +"........... XXXXXXX .......", +"........... XXXXX ......", +"........... XXXXXXXXX ......", +"........... XXXXXXXXXXXXXXXXXXX ......", +"........... XXXXX XXXXXXXXXXXXX ......", +".......... XXXXXXXXXXX ......", +".......... XXXXXXXXXXXXXXXXXXXXX ......", +".......... XXXXXXXXXXXX XXXXXXXX ......", +".......... XXXXXXXXX XXXXXXX .......", +".......... XXXXXX XXXXXXX .......", +".......... XXXX XXXXXXX ........", +"........... XXXX XXXXX ........", +"........... XXXX XXX ........", +"........... XX X .........", "........... .........", "............ .........", "............ ..........", diff --git a/pixmaps/wldl49.xpm b/pixmaps/wldl49.xpm index 9464070..87d38a2 100644 --- a/pixmaps/wldl49.xpm +++ b/pixmaps/wldl49.xpm @@ -1,9 +1,10 @@ /* XPM */ static char *wldl49[] = { /* columns rows colors chars-per-pixel */ -"49 49 2 1", +"49 49 3 1", " c black s dark_piece", ". c gray s light_square", +"X c white s light_piece", /* pixels */ ".................................................", ".................................................", @@ -23,29 +24,29 @@ static char *wldl49[] = { "............... ...........", "............. ..........", "............ .........", -"........... ........... ........", -".......... ..... .......", -"......... .... .......", -"......... .... ......", -"........ ... .. ......", -"....... .. .. .. ......", -"....... . . . ......", -"....... . . . ......", -"....... . . ......", -"....... . . .....", -"....... . . .....", -"....... . . ....", -"....... .. .. ....", -"....... ... ....", -"........ ......... ....", -"....... ..... ....", -"....... ...... ....", -"....... ........ ..... ....", -"....... .. ... ....", -"....... .. ... .....", -"....... . . .....", -"....... . . ......", -"....... . ......", +"........... XXXXXXXXXXX ........", +".......... XXXXX .......", +"......... XXXX .......", +"......... XXXX ......", +"........ XXX XX ......", +"....... XX XX XX ......", +"....... X X X ......", +"....... X X X ......", +"....... X X ......", +"....... X X .....", +"....... X X .....", +"....... X X ....", +"....... XX XX ....", +"....... XXX ....", +"........ XXXXXXXXX ....", +"....... XXXXX ....", +"....... XXXXXX ....", +"....... XXXXXXXX XXXXX ....", +"....... XX XXX ....", +"....... XX XXX .....", +"....... X X .....", +"....... X X ......", +"....... X ......", "........ .......", "......... .........", ".......... ...........", diff --git a/pixmaps/wldl72.xpm b/pixmaps/wldl72.xpm index 5bc8474..50fd7ea 100644 --- a/pixmaps/wldl72.xpm +++ b/pixmaps/wldl72.xpm @@ -1,9 +1,10 @@ /* XPM */ static char *wldl72[] = { /* columns rows colors chars-per-pixel */ -"72 72 2 1", +"72 72 3 1", " c black s dark_piece", ". c gray s light_square", +"X c white s light_piece", /* pixels */ "........................................................................", "........................................................................", @@ -31,39 +32,39 @@ static char *wldl72[] = { "..................... ...............", "................... ..............", ".................. ..............", -"................ .. .............", -"............... ............. ............", -".............. .................. ...........", -".............. ............. ...........", -"............. .......... ..........", -"............. .......... ..........", -"............ ........ ..........", -"............ ...... ..........", -"........... ..... .... .........", -"........... ....... .... .........", -".......... ... ... ..... .........", -".......... .. .. ... ........", -".......... .. .. .. .......", -".......... .. .. .......", -".......... .. .. .......", -".......... .. .. .......", -".......... .. .. .......", -".......... .. .. .......", -".......... ... ... .......", -"........... ....... .......", -"........... ..... ......", -"........... ......... ......", -"........... ................... ......", -"........... ..... ............. ......", -".......... ........... ......", -".......... ..................... ......", -".......... ............ ........ ......", -".......... ......... ....... .......", -".......... ...... ....... .......", -".......... .... ....... ........", -"........... .... ..... ........", -"........... .... ... ........", -"........... .. . .........", +"................ XX .............", +"............... XXXXXXXXXXXXX ............", +".............. XXXXXXXXXXXXXXXXXX ...........", +".............. XXXXXXXXXXXXX ...........", +"............. XXXXXXXXXX ..........", +"............. XXXXXXXXXX ..........", +"............ XXXXXXXX ..........", +"............ XXXXXX ..........", +"........... XXXXX XXXX .........", +"........... XXXXXXX XXXX .........", +".......... XXX XXX XXXXX .........", +".......... XX XX XXX ........", +".......... XX XX XX .......", +".......... XX XX .......", +".......... XX XX .......", +".......... XX XX .......", +".......... XX XX .......", +".......... XX XX .......", +".......... XXX XXX .......", +"........... XXXXXXX .......", +"........... XXXXX ......", +"........... XXXXXXXXX ......", +"........... XXXXXXXXXXXXXXXXXXX ......", +"........... XXXXX XXXXXXXXXXXXX ......", +".......... XXXXXXXXXXX ......", +".......... XXXXXXXXXXXXXXXXXXXXX ......", +".......... XXXXXXXXXXXX XXXXXXXX ......", +".......... XXXXXXXXX XXXXXXX .......", +".......... XXXXXX XXXXXXX .......", +".......... XXXX XXXXXXX ........", +"........... XXXX XXXXX ........", +"........... XXXX XXX ........", +"........... XX X .........", "........... .........", "............ .........", "............ ..........", diff --git a/pixmaps/wndd49.xpm b/pixmaps/wndd49.xpm index 86756cd..f77ad0e 100644 --- a/pixmaps/wndd49.xpm +++ b/pixmaps/wndd49.xpm @@ -1,9 +1,10 @@ /* XPM */ static char *wndd49[] = { /* columns rows colors chars-per-pixel */ -"49 49 2 1", +"49 49 3 1", " c black s dark_piece", ". c green s dark_square", +"X c white s light_piece", /* pixels */ ".................................................", ".................................................", @@ -23,28 +24,28 @@ static char *wndd49[] = { "............... ...........", "............. ..........", "............ .........", -"........... ........... ........", -".......... ..... .......", -"......... .... .......", -"......... .... ......", -"........ .... .. ......", -"....... ....... .. ......", -"....... ...... . ......", -"....... ..... . ......", -"....... ..... ......", -"....... ..... .....", -"....... ..... .....", -"....... ..... ....", -"....... ...... ....", -"....... ....... ....", -"........ ......... .... ....", -"....... ..... ....", -"....... ...... ....", -"....... ........ ..... ....", -"....... .. ... ....", -"....... .. ... .....", -"....... . . .....", -"....... . . ......", +"........... XXXXXXXXXXX ........", +".......... XXXXX .......", +"......... XXXX .......", +"......... XXXX ......", +"........ XXXX XX ......", +"....... XXXXXXX XX ......", +"....... XXXXXX X ......", +"....... XXXXX X ......", +"....... XXXXX ......", +"....... XXXXX .....", +"....... XXXXX .....", +"....... XXXXX ....", +"....... XXXXXX ....", +"....... XXXXXXX ....", +"........ XXXXXXXXX XXXX ....", +"....... XXXXX ....", +"....... XXXXXX ....", +"....... XXXXXXXX XXXXX ....", +"....... XX XXX ....", +"....... XX XXX .....", +"....... X X .....", +"....... X X ......", "....... ......", "........ .......", "......... .........", diff --git a/pixmaps/wndd72.xpm b/pixmaps/wndd72.xpm index 9695990..9eac568 100644 --- a/pixmaps/wndd72.xpm +++ b/pixmaps/wndd72.xpm @@ -1,9 +1,10 @@ /* XPM */ static char *wndd72[] = { /* columns rows colors chars-per-pixel */ -"72 72 2 1", +"72 72 3 1", " c black s dark_piece", ". c green s dark_square", +"X c white s light_piece", /* pixels */ "........................................................................", "........................................................................", @@ -31,39 +32,39 @@ static char *wndd72[] = { "..................... ...............", "................... ..............", ".................. ..............", -"................ .. .............", -"............... ............. ............", -".............. .................. ...........", -".............. ............. ...........", -"............. .......... ..........", -"............. .......... ..........", -"............ ........ ..........", -"............ ...... ..........", -"........... ...... .... .........", -"........... ......... .... .........", -".......... ........ ..... .........", -".......... ....... ... ........", -".......... ...... .. .......", -".......... ...... .......", -".......... ...... .......", -".......... ...... .......", -".......... ...... .......", -".......... ...... .......", -".......... ....... .......", -"........... ........ .......", -"........... ......... ......", -"........... ......... ...... ......", -"........... ................... ......", -"........... ..... ............. ......", -".......... ........... ......", -".......... ..................... ......", -".......... ............ ........ ......", -".......... ......... ....... .......", -".......... ...... ....... .......", -".......... .... ....... ........", -"........... .... ..... ........", -"........... .... .. ........", -"........... .. . .........", +"................ XX .............", +"............... XXXXXXXXXXXXX ............", +".............. XXXXXXXXXXXXXXXXXX ...........", +".............. XXXXXXXXXXXXX ...........", +"............. XXXXXXXXXX ..........", +"............. XXXXXXXXXX ..........", +"............ XXXXXXXX ..........", +"............ XXXXXX ..........", +"........... XXXXXX XXXX .........", +"........... XXXXXXXXX XXXX .........", +".......... XXXXXXXX XXXXX .........", +".......... XXXXXXX XXX ........", +".......... XXXXXX XX .......", +".......... XXXXXX .......", +".......... XXXXXX .......", +".......... XXXXXX .......", +".......... XXXXXX .......", +".......... XXXXXX .......", +".......... XXXXXXX .......", +"........... XXXXXXXX .......", +"........... XXXXXXXXX ......", +"........... XXXXXXXXX XXXXXX ......", +"........... XXXXXXXXXXXXXXXXXXX ......", +"........... XXXXX XXXXXXXXXXXXX ......", +".......... XXXXXXXXXXX ......", +".......... XXXXXXXXXXXXXXXXXXXXX ......", +".......... XXXXXXXXXXXX XXXXXXXX ......", +".......... XXXXXXXXX XXXXXXX .......", +".......... XXXXXX XXXXXXX .......", +".......... XXXX XXXXXXX ........", +"........... XXXX XXXXX ........", +"........... XXXX XX ........", +"........... XX X .........", "........... .........", "............ .........", "............ ..........", diff --git a/pixmaps/wndl49.xpm b/pixmaps/wndl49.xpm index ae37096..07a8158 100644 --- a/pixmaps/wndl49.xpm +++ b/pixmaps/wndl49.xpm @@ -1,9 +1,10 @@ /* XPM */ static char *wndl49[] = { /* columns rows colors chars-per-pixel */ -"49 49 2 1", +"49 49 3 1", " c black s dark_piece", ". c gray s light_square", +"X c white s light_piece", /* pixels */ ".................................................", ".................................................", @@ -23,28 +24,28 @@ static char *wndl49[] = { "............... ...........", "............. ..........", "............ .........", -"........... ........... ........", -".......... ..... .......", -"......... .... .......", -"......... .... ......", -"........ .... .. ......", -"....... ....... .. ......", -"....... ...... . ......", -"....... ..... . ......", -"....... ..... ......", -"....... ..... .....", -"....... ..... .....", -"....... ..... ....", -"....... ...... ....", -"....... ....... ....", -"........ ......... .... ....", -"....... ..... ....", -"....... ...... ....", -"....... ........ ..... ....", -"....... .. ... ....", -"....... .. ... .....", -"....... . . .....", -"....... . . ......", +"........... XXXXXXXXXXX ........", +".......... XXXXX .......", +"......... XXXX .......", +"......... XXXX ......", +"........ XXXX XX ......", +"....... XXXXXXX XX ......", +"....... XXXXXX X ......", +"....... XXXXX X ......", +"....... XXXXX ......", +"....... XXXXX .....", +"....... XXXXX .....", +"....... XXXXX ....", +"....... XXXXXX ....", +"....... XXXXXXX ....", +"........ XXXXXXXXX XXXX ....", +"....... XXXXX ....", +"....... XXXXXX ....", +"....... XXXXXXXX XXXXX ....", +"....... XX XXX ....", +"....... XX XXX .....", +"....... X X .....", +"....... X X ......", "....... ......", "........ .......", "......... .........", diff --git a/pixmaps/wndl72.xpm b/pixmaps/wndl72.xpm index 5e2fe29..ec79e2e 100644 --- a/pixmaps/wndl72.xpm +++ b/pixmaps/wndl72.xpm @@ -1,9 +1,10 @@ /* XPM */ static char *wndl72[] = { /* columns rows colors chars-per-pixel */ -"72 72 2 1", +"72 72 3 1", " c black s dark_piece", ". c gray s light_square", +"X c white s light_piece", /* pixels */ "........................................................................", "........................................................................", @@ -31,39 +32,39 @@ static char *wndl72[] = { "..................... ...............", "................... ..............", ".................. ..............", -"................ .. .............", -"............... ............. ............", -".............. .................. ...........", -".............. ............. ...........", -"............. .......... ..........", -"............. .......... ..........", -"............ ........ ..........", -"............ ...... ..........", -"........... ...... .... .........", -"........... ......... .... .........", -".......... ........ ..... .........", -".......... ....... ... ........", -".......... ...... .. .......", -".......... ...... .......", -".......... ...... .......", -".......... ...... .......", -".......... ...... .......", -".......... ...... .......", -".......... ....... .......", -"........... ........ .......", -"........... ......... ......", -"........... ......... ...... ......", -"........... ................... ......", -"........... ..... ............. ......", -".......... ........... ......", -".......... ..................... ......", -".......... ............ ........ ......", -".......... ......... ....... .......", -".......... ...... ....... .......", -".......... .... ....... ........", -"........... .... ..... ........", -"........... .... .. ........", -"........... .. . .........", +"................ XX .............", +"............... XXXXXXXXXXXXX ............", +".............. XXXXXXXXXXXXXXXXXX ...........", +".............. XXXXXXXXXXXXX ...........", +"............. XXXXXXXXXX ..........", +"............. XXXXXXXXXX ..........", +"............ XXXXXXXX ..........", +"............ XXXXXX ..........", +"........... XXXXXX XXXX .........", +"........... XXXXXXXXX XXXX .........", +".......... XXXXXXXX XXXXX .........", +".......... XXXXXXX XXX ........", +".......... XXXXXX XX .......", +".......... XXXXXX .......", +".......... XXXXXX .......", +".......... XXXXXX .......", +".......... XXXXXX .......", +".......... XXXXXX .......", +".......... XXXXXXX .......", +"........... XXXXXXXX .......", +"........... XXXXXXXXX ......", +"........... XXXXXXXXX XXXXXX ......", +"........... XXXXXXXXXXXXXXXXXXX ......", +"........... XXXXX XXXXXXXXXXXXX ......", +".......... XXXXXXXXXXX ......", +".......... XXXXXXXXXXXXXXXXXXXXX ......", +".......... XXXXXXXXXXXX XXXXXXXX ......", +".......... XXXXXXXXX XXXXXXX .......", +".......... XXXXXX XXXXXXX .......", +".......... XXXX XXXXXXX ........", +"........... XXXX XXXXX ........", +"........... XXXX XX ........", +"........... XX X .........", "........... .........", "............ .........", "............ ..........", diff --git a/pixmaps/wpdd49.xpm b/pixmaps/wpdd49.xpm index d4c641c..150815b 100644 --- a/pixmaps/wpdd49.xpm +++ b/pixmaps/wpdd49.xpm @@ -1,9 +1,10 @@ /* XPM */ static char *wpdd49[] = { /* columns rows colors chars-per-pixel */ -"49 49 2 1", +"49 49 3 1", " c black s dark_piece", ". c green s dark_square", +"X c white s light_piece", /* pixels */ ".................................................", ".................................................", @@ -23,29 +24,29 @@ static char *wpdd49[] = { "............... ...........", "............. ..........", "............ .........", -"........... ........... ........", -".......... ..... .......", -"......... .... .......", -"......... .... ......", -"........ .. ......", -"....... .. ......", -"....... . ......", -"....... . ......", +"........... XXXXXXXXXXX ........", +".......... XXXXX .......", +"......... XXXX .......", +"......... XXXX ......", +"........ XX ......", +"....... XX ......", +"....... X ......", +"....... X ......", "....... ......", "....... .....", "....... .....", "....... ....", "....... ....", "....... ....", -"........ ......... ....", -"....... ..... ....", -"....... ...... ....", -"....... ........ ..... ....", -"....... .. ... ....", -"....... .. ... .....", -"....... . . .....", -"....... . . ......", -"....... . ......", +"........ XXXXXXXXX ....", +"....... XXXXX ....", +"....... XXXXXX ....", +"....... XXXXXXXX XXXXX ....", +"....... XX XXX ....", +"....... XX XXX .....", +"....... X X .....", +"....... X X ......", +"....... X ......", "........ .......", "......... .........", ".......... ...........", diff --git a/pixmaps/wpdd72.xpm b/pixmaps/wpdd72.xpm index a8c2a24..a4cacb8 100644 --- a/pixmaps/wpdd72.xpm +++ b/pixmaps/wpdd72.xpm @@ -1,9 +1,10 @@ /* XPM */ static char *wpdd72[] = { /* columns rows colors chars-per-pixel */ -"72 72 2 1", +"72 72 3 1", " c black s dark_piece", ". c green s dark_square", +"X c white s light_piece", /* pixels */ "........................................................................", "........................................................................", @@ -31,19 +32,19 @@ static char *wpdd72[] = { "..................... ...............", "................... ..............", ".................. ..............", -"................ .. .............", -"............... ............ ............", -".............. .................. ...........", -".............. ............. ...........", -"............. .......... ..........", -"............. .......... ..........", -"............ ........ ..........", -"............ ...... ..........", -"........... .... .........", -"........... .... .........", -".......... ..... .........", -".......... ... ........", -".......... .. .......", +"................ XX .............", +"............... XXXXXXXXXXXX ............", +".............. XXXXXXXXXXXXXXXXXX ...........", +".............. XXXXXXXXXXXXX ...........", +"............. XXXXXXXXXX ..........", +"............. XXXXXXXXXX ..........", +"............ XXXXXXXX ..........", +"............ XXXXXX ..........", +"........... XXXX .........", +"........... XXXX .........", +".......... XXXXX .........", +".......... XXX ........", +".......... XX .......", ".......... .......", ".......... .......", ".......... .......", @@ -52,18 +53,18 @@ static char *wpdd72[] = { ".......... .......", "........... .......", "........... ......", -"........... ......... ......", -"........... ................... ......", -"........... ..... ............. ......", -".......... ........... ......", -".......... ..................... ......", -".......... ............ ........ ......", -".......... ......... ....... .......", -".......... ...... ....... .......", -".......... .... ....... ........", -"........... .... ..... ........", -"........... .... ... ........", -"........... .. . .........", +"........... XXXXXXXXX ......", +"........... XXXXXXXXXXXXXXXXXXX ......", +"........... XXXXX XXXXXXXXXXXXX ......", +".......... XXXXXXXXXXX ......", +".......... XXXXXXXXXXXXXXXXXXXXX ......", +".......... XXXXXXXXXXXX XXXXXXXX ......", +".......... XXXXXXXXX XXXXXXX .......", +".......... XXXXXX XXXXXXX .......", +".......... XXXX XXXXXXX ........", +"........... XXXX XXXXX ........", +"........... XXXX XXX ........", +"........... XX X .........", "........... .........", "............ .........", "............ ..........", diff --git a/pixmaps/wpdl49.xpm b/pixmaps/wpdl49.xpm index f5889cd..d529b79 100644 --- a/pixmaps/wpdl49.xpm +++ b/pixmaps/wpdl49.xpm @@ -1,9 +1,10 @@ /* XPM */ static char *wpdl49[] = { /* columns rows colors chars-per-pixel */ -"49 49 2 1", +"49 49 3 1", " c black s dark_piece", ". c gray s light_square", +"X c white s light_piece", /* pixels */ ".................................................", ".................................................", @@ -23,29 +24,29 @@ static char *wpdl49[] = { "............... ...........", "............. ..........", "............ .........", -"........... ........... ........", -".......... ..... .......", -"......... .... .......", -"......... .... ......", -"........ .. ......", -"....... .. ......", -"....... . ......", -"....... . ......", +"........... XXXXXXXXXXX ........", +".......... XXXXX .......", +"......... XXXX .......", +"......... XXXX ......", +"........ XX ......", +"....... XX ......", +"....... X ......", +"....... X ......", "....... ......", "....... .....", "....... .....", "....... ....", "....... ....", "....... ....", -"........ ......... ....", -"....... ..... ....", -"....... ...... ....", -"....... ........ ..... ....", -"....... .. ... ....", -"....... .. ... .....", -"....... . . .....", -"....... . . ......", -"....... . ......", +"........ XXXXXXXXX ....", +"....... XXXXX ....", +"....... XXXXXX ....", +"....... XXXXXXXX XXXXX ....", +"....... XX XXX ....", +"....... XX XXX .....", +"....... X X .....", +"....... X X ......", +"....... X ......", "........ .......", "......... .........", ".......... ...........", diff --git a/pixmaps/wpdl72.xpm b/pixmaps/wpdl72.xpm index 4d8c5e9..71de004 100644 --- a/pixmaps/wpdl72.xpm +++ b/pixmaps/wpdl72.xpm @@ -1,9 +1,10 @@ /* XPM */ static char *wpdl72[] = { /* columns rows colors chars-per-pixel */ -"72 72 2 1", +"72 72 3 1", " c black s dark_piece", ". c gray s light_square", +"X c white s light_piece", /* pixels */ "........................................................................", "........................................................................", @@ -31,19 +32,19 @@ static char *wpdl72[] = { "..................... ...............", "................... ..............", ".................. ..............", -"................ .. .............", -"............... ............ ............", -".............. .................. ...........", -".............. ............. ...........", -"............. .......... ..........", -"............. .......... ..........", -"............ ........ ..........", -"............ ...... ..........", -"........... .... .........", -"........... .... .........", -".......... ..... .........", -".......... ... ........", -".......... .. .......", +"................ XX .............", +"............... XXXXXXXXXXXX ............", +".............. XXXXXXXXXXXXXXXXXX ...........", +".............. XXXXXXXXXXXXX ...........", +"............. XXXXXXXXXX ..........", +"............. XXXXXXXXXX ..........", +"............ XXXXXXXX ..........", +"............ XXXXXX ..........", +"........... XXXX .........", +"........... XXXX .........", +".......... XXXXX .........", +".......... XXX ........", +".......... XX .......", ".......... .......", ".......... .......", ".......... .......", @@ -52,18 +53,18 @@ static char *wpdl72[] = { ".......... .......", "........... .......", "........... ......", -"........... ......... ......", -"........... ................... ......", -"........... ..... ............. ......", -".......... ........... ......", -".......... ..................... ......", -".......... ............ ........ ......", -".......... ......... ....... .......", -".......... ...... ....... .......", -".......... .... ....... ........", -"........... .... ..... ........", -"........... .... ... ........", -"........... .. . .........", +"........... XXXXXXXXX ......", +"........... XXXXXXXXXXXXXXXXXXX ......", +"........... XXXXX XXXXXXXXXXXXX ......", +".......... XXXXXXXXXXX ......", +".......... XXXXXXXXXXXXXXXXXXXXX ......", +".......... XXXXXXXXXXXX XXXXXXXX ......", +".......... XXXXXXXXX XXXXXXX .......", +".......... XXXXXX XXXXXXX .......", +".......... XXXX XXXXXXX ........", +"........... XXXX XXXXX ........", +"........... XXXX XXX ........", +"........... XX X .........", "........... .........", "............ .........", "............ ..........", diff --git a/pixmaps/wsdd49.xpm b/pixmaps/wsdd49.xpm index b9ea823..f7b650e 100644 --- a/pixmaps/wsdd49.xpm +++ b/pixmaps/wsdd49.xpm @@ -1,9 +1,10 @@ /* XPM */ static char *wsdd49[] = { /* columns rows colors chars-per-pixel */ -"49 49 2 1", +"49 49 3 1", " c black s dark_piece", ". c green s dark_square", +"X c white s light_piece", /* pixels */ ".................................................", ".................................................", @@ -23,29 +24,29 @@ static char *wsdd49[] = { "............... ...........", "............. ..........", "............ .........", -"........... ........... ........", -".......... ..... .......", -"......... .... .......", -"......... . .... ......", -"........ . .. ......", -"....... ... .. ......", -"....... ... . ......", -"....... ............ . ......", -"....... .......... ......", -"....... ...... .....", -"....... ...... .....", -"....... ...... ....", -"....... ... ... ....", -"....... . . ....", -"........ ......... ....", -"....... ..... ....", -"....... ...... ....", -"....... ........ ..... ....", -"....... .. ... ....", -"....... .. ... .....", -"....... . . .....", -"....... . . ......", -"....... . ......", +"........... XXXXXXXXXXX ........", +".......... XXXXX .......", +"......... XXXX .......", +"......... X XXXX ......", +"........ X XX ......", +"....... XXX XX ......", +"....... XXX X ......", +"....... XXXXXXXXXXXX X ......", +"....... XXXXXXXXXX ......", +"....... XXXXXX .....", +"....... XXXXXX .....", +"....... XXXXXX ....", +"....... XXX XXX ....", +"....... X X ....", +"........ XXXXXXXXX ....", +"....... XXXXX ....", +"....... XXXXXX ....", +"....... XXXXXXXX XXXXX ....", +"....... XX XXX ....", +"....... XX XXX .....", +"....... X X .....", +"....... X X ......", +"....... X ......", "........ .......", "......... .........", ".......... ...........", diff --git a/pixmaps/wsdd72.xpm b/pixmaps/wsdd72.xpm index 29431a8..7cd3976 100644 --- a/pixmaps/wsdd72.xpm +++ b/pixmaps/wsdd72.xpm @@ -1,9 +1,10 @@ /* XPM */ static char *wsdd72[] = { /* columns rows colors chars-per-pixel */ -"72 72 2 1", +"72 72 3 1", " c black s dark_piece", ". c green s dark_square", +"X c white s light_piece", /* pixels */ "........................................................................", "........................................................................", @@ -31,39 +32,39 @@ static char *wsdd72[] = { "..................... ...............", "................... ..............", ".................. ..............", -"................ .. .............", -"............... ............. ............", -".............. .................. ...........", -".............. ............. ...........", -"............. .......... ..........", -"............. .......... ..........", -"............ ........ ..........", -"............ . ...... ..........", -"........... . .... .........", -"........... ... .... .........", -".......... ... ..... .........", -".......... ..... ... ........", -".......... ............... .. .......", -".......... ............ .......", -".......... ......... .......", -".......... ....... .......", -".......... ....... .......", -".......... ......... .......", -".......... ... ... .......", -"........... ... ... .......", -"........... . . ......", -"........... ......... ......", -"........... ................... ......", -"........... ..... ............. ......", -".......... ........... ......", -".......... ..................... ......", -".......... ............ ........ ......", -".......... ......... ....... .......", -".......... ...... ....... .......", -".......... .... ....... ........", -"........... .... ..... ........", -"........... .... ... ........", -"........... .. . .........", +"................ XX .............", +"............... XXXXXXXXXXXXX ............", +".............. XXXXXXXXXXXXXXXXXX ...........", +".............. XXXXXXXXXXXXX ...........", +"............. XXXXXXXXXX ..........", +"............. XXXXXXXXXX ..........", +"............ XXXXXXXX ..........", +"............ X XXXXXX ..........", +"........... X XXXX .........", +"........... XXX XXXX .........", +".......... XXX XXXXX .........", +".......... XXXXX XXX ........", +".......... XXXXXXXXXXXXXXX XX .......", +".......... XXXXXXXXXXXX .......", +".......... XXXXXXXXX .......", +".......... XXXXXXX .......", +".......... XXXXXXX .......", +".......... XXXXXXXXX .......", +".......... XXX XXX .......", +"........... XXX XXX .......", +"........... X X ......", +"........... XXXXXXXXX ......", +"........... XXXXXXXXXXXXXXXXXXX ......", +"........... XXXXX XXXXXXXXXXXXX ......", +".......... XXXXXXXXXXX ......", +".......... XXXXXXXXXXXXXXXXXXXXX ......", +".......... XXXXXXXXXXXX XXXXXXXX ......", +".......... XXXXXXXXX XXXXXXX .......", +".......... XXXXXX XXXXXXX .......", +".......... XXXX XXXXXXX ........", +"........... XXXX XXXXX ........", +"........... XXXX XXX ........", +"........... XX X .........", "........... .........", "............ .........", "............ ..........", diff --git a/pixmaps/wsdl49.xpm b/pixmaps/wsdl49.xpm index 6bf4b24..6a14306 100644 --- a/pixmaps/wsdl49.xpm +++ b/pixmaps/wsdl49.xpm @@ -1,9 +1,10 @@ /* XPM */ static char *wsdl49[] = { /* columns rows colors chars-per-pixel */ -"49 49 2 1", +"49 49 3 1", " c black s dark_piece", ". c gray s light_square", +"X c white s light_piece", /* pixels */ ".................................................", ".................................................", @@ -23,29 +24,29 @@ static char *wsdl49[] = { "............... ...........", "............. ..........", "............ .........", -"........... ........... ........", -".......... ..... .......", -"......... .... .......", -"......... . .... ......", -"........ . .. ......", -"....... ... .. ......", -"....... ... . ......", -"....... ............ . ......", -"....... .......... ......", -"....... ...... .....", -"....... ...... .....", -"....... ...... ....", -"....... ... ... ....", -"....... . . ....", -"........ ......... ....", -"....... ..... ....", -"....... ...... ....", -"....... ........ ..... ....", -"....... .. ... ....", -"....... .. ... .....", -"....... . . .....", -"....... . . ......", -"....... . ......", +"........... XXXXXXXXXXX ........", +".......... XXXXX .......", +"......... XXXX .......", +"......... X XXXX ......", +"........ X XX ......", +"....... XXX XX ......", +"....... XXX X ......", +"....... XXXXXXXXXXXX X ......", +"....... XXXXXXXXXX ......", +"....... XXXXXX .....", +"....... XXXXXX .....", +"....... XXXXXX ....", +"....... XXX XXX ....", +"....... X X ....", +"........ XXXXXXXXX ....", +"....... XXXXX ....", +"....... XXXXXX ....", +"....... XXXXXXXX XXXXX ....", +"....... XX XXX ....", +"....... XX XXX .....", +"....... X X .....", +"....... X X ......", +"....... X ......", "........ .......", "......... .........", ".......... ...........", diff --git a/pixmaps/wsdl72.xpm b/pixmaps/wsdl72.xpm index fceed2a..bd42f11 100644 --- a/pixmaps/wsdl72.xpm +++ b/pixmaps/wsdl72.xpm @@ -1,9 +1,10 @@ /* XPM */ static char *wsdl72[] = { /* columns rows colors chars-per-pixel */ -"72 72 2 1", +"72 72 3 1", " c black s dark_piece", ". c gray s light_square", +"X c white s light_piece", /* pixels */ "........................................................................", "........................................................................", @@ -31,39 +32,39 @@ static char *wsdl72[] = { "..................... ...............", "................... ..............", ".................. ..............", -"................ .. .............", -"............... ............. ............", -".............. .................. ...........", -".............. ............. ...........", -"............. .......... ..........", -"............. .......... ..........", -"............ ........ ..........", -"............ . ...... ..........", -"........... . .... .........", -"........... ... .... .........", -".......... ... ..... .........", -".......... ..... ... ........", -".......... ............... .. .......", -".......... ............ .......", -".......... ......... .......", -".......... ....... .......", -".......... ....... .......", -".......... ......... .......", -".......... ... ... .......", -"........... ... ... .......", -"........... . . ......", -"........... ......... ......", -"........... ................... ......", -"........... ..... ............. ......", -".......... ........... ......", -".......... ..................... ......", -".......... ............ ........ ......", -".......... ......... ....... .......", -".......... ...... ....... .......", -".......... .... ....... ........", -"........... .... ..... ........", -"........... .... ... ........", -"........... .. . .........", +"................ XX .............", +"............... XXXXXXXXXXXXX ............", +".............. XXXXXXXXXXXXXXXXXX ...........", +".............. XXXXXXXXXXXXX ...........", +"............. XXXXXXXXXX ..........", +"............. XXXXXXXXXX ..........", +"............ XXXXXXXX ..........", +"............ X XXXXXX ..........", +"........... X XXXX .........", +"........... XXX XXXX .........", +".......... XXX XXXXX .........", +".......... XXXXX XXX ........", +".......... XXXXXXXXXXXXXXX XX .......", +".......... XXXXXXXXXXXX .......", +".......... XXXXXXXXX .......", +".......... XXXXXXX .......", +".......... XXXXXXX .......", +".......... XXXXXXXXX .......", +".......... XXX XXX .......", +"........... XXX XXX .......", +"........... X X ......", +"........... XXXXXXXXX ......", +"........... XXXXXXXXXXXXXXXXXXX ......", +"........... XXXXX XXXXXXXXXXXXX ......", +".......... XXXXXXXXXXX ......", +".......... XXXXXXXXXXXXXXXXXXXXX ......", +".......... XXXXXXXXXXXX XXXXXXXX ......", +".......... XXXXXXXXX XXXXXXX .......", +".......... XXXXXX XXXXXXX .......", +".......... XXXX XXXXXXX ........", +"........... XXXX XXXXX ........", +"........... XXXX XXX ........", +"........... XX X .........", "........... .........", "............ .........", "............ ..........", diff --git a/winboard/COMPILING b/winboard/COMPILING index 1ab1906..eaeeeea 100644 --- a/winboard/COMPILING +++ b/winboard/COMPILING @@ -14,12 +14,12 @@ Compiling with an Integrated Development Envrionment DevCpp -- For DevCpp, you need to 'File|Open Project or File...' and select either - 'winboard.dev' or 'WB4Jaws.dev'. After parsing the project, you can 'Execute| - Compile' to build. This IDE has no facility for defines in the resource - compiler, so the version information resource will not indicate JAWS support - even if it actually has that support. These projects are not set up for - debugging, but you can do so by adjusting the 'Compiler' and 'Parameters' - options in the 'Project|Project Options' dialog. + 'winboard.dev' or 'WB4Jaws.dev'. After parsing the project, you can + 'Execute|Compile' to build. This IDE has no facility for defines in the + resource compiler, so the version information resource will not indicate + JAWS support even if it actually has that support. These projects are not + set up for debugging, but you can do so by adjusting the 'Compiler' and + 'Parameters' options in the 'Project|Project Options' dialog. @@ -38,9 +38,11 @@ Compiling from the Command Line nmake -f makefile.ms Note: NMAKE, not MAKE - For Visual Studio 2005 and later, set VCVER to 8, otherwise set it to 6. - You can select JAWS support or debugging just like the GCC makefile. For - MSVC 6.0 and earlier, you are going to need the latest SDK from Microsoft. - After you install it, set the SDK_INC variable appropriately. It defaults - to the standard location, but you still need to uncomment the line. - + For Visual Studio 2005 and later, set VCVER to 8, otherwise set it to + 6. You can select JAWS support or debugging just like the GCC + makefile. For MSVC 6.0 and earlier, you are going to need the latest + SDK from Microsoft. After you install it, set the SDK_INC variable + appropriately. It defaults to the standard location, but you still + need to uncomment the line. Prior to compiling from the command line, + it will be necessary to invoke VCVARS32.BAT if you didn't have MSVC + register the command line environment variables during installation. diff --git a/winboard/bitmaps/m33s.bmp b/winboard/bitmaps/m33s.bmp index e2571b6..52be842 100644 Binary files a/winboard/bitmaps/m33s.bmp and b/winboard/bitmaps/m33s.bmp differ diff --git a/winboard/config.h b/winboard/config.h index 5eeb793..aa3e08a 100644 --- a/winboard/config.h +++ b/winboard/config.h @@ -46,13 +46,13 @@ #define PACKAGE_NAME "WinBoard" /* Define to the full name and version of this package. */ -#define PACKAGE_STRING "WinBoard 4.4.1 pre" +#define PACKAGE_STRING "WinBoard 4.4.1.20091019" /* Define to the one symbol short name of this package. */ #define PACKAGE_TARNAME "winboard" /* Define to the version of this package. */ -#define PACKAGE_VERSION "4.4.1.pre" +#define PACKAGE_VERSION "4.4.1.20091019" /* Define the Windows-specific FILE version info. this *MUST* be four comma separated 16-bit integers */ #define PACKAGE_FILEVERSION 4,4,1,0 diff --git a/winboard/winboard.c b/winboard/winboard.c index d9134d7..31afd62 100644 --- a/winboard/winboard.c +++ b/winboard/winboard.c @@ -1393,7 +1393,9 @@ ArgDescriptor argDescriptors[] = { { "secondNPS", ArgInt, (LPVOID) &appData.secondNPS, FALSE }, { "noGUI", ArgTrue, (LPVOID) &appData.noGUI, FALSE }, { "keepLineBreaksICS", ArgBoolean, (LPVOID) &appData.noJoin, TRUE }, - + { "wrapContinuationSequence", ArgString, (LPVOID) &appData.wrapContSeq, FALSE }, + { "useInternalWrap", ArgTrue, (LPVOID) &appData.useInternalWrap, FALSE }, /* noJoin usurps this if set */ + // [HGM] placement: put all window layouts last in ini file, but man X,Y before all others { "minX", ArgZ, (LPVOID) &minX, FALSE }, // [HGM] placement: to make suer auxialary windows can be placed { "minY", ArgZ, (LPVOID) &minY, FALSE }, @@ -1494,6 +1496,10 @@ ParseFontName(char *name, MyFontParams *mfp) mfp->italic = (strchr(p, 'i') != NULL); mfp->underline = (strchr(p, 'u') != NULL); mfp->strikeout = (strchr(p, 's') != NULL); + mfp->charset = DEFAULT_CHARSET; + q = strchr(p, 'c'); + if (q) + mfp->charset = (BYTE) atoi(q+1); } /* Color name parser. @@ -1868,7 +1874,7 @@ LFfromMFP(LOGFONT* lf, MyFontParams *mfp) lf->lfItalic = mfp->italic; lf->lfUnderline = mfp->underline; lf->lfStrikeOut = mfp->strikeout; - lf->lfCharSet = DEFAULT_CHARSET; + lf->lfCharSet = mfp->charset; lf->lfOutPrecision = OUT_DEFAULT_PRECIS; lf->lfClipPrecision = CLIP_DEFAULT_PRECIS; lf->lfQuality = DEFAULT_QUALITY; @@ -2491,13 +2497,14 @@ SaveSettings(char* name) for (bs=0; bsargLoc]->mfp; fprintf(f, "/size=%s ", sizeInfo[bs].name); - fprintf(f, "/%s=\"%s:%g%s%s%s%s%s\"\n", + fprintf(f, "/%s=\"%s:%g%s%s%s%s%sc%d\"\n", ad->argName, mfp->faceName, mfp->pointSize, mfp->bold || mfp->italic || mfp->underline || mfp->strikeout ? " " : "", mfp->bold ? "b" : "", mfp->italic ? "i" : "", mfp->underline ? "u" : "", - mfp->strikeout ? "s" : ""); + mfp->strikeout ? "s" : "", + (int)mfp->charset); } } break; @@ -4839,8 +4846,8 @@ PaintProc(HWND hwnd) * The offset boardRect.left or boardRect.top must already have been * subtracted from x. */ -int -EventToSquare(int x) +int EventToSquare(x, limit) + int x; { if (x <= 0) return -2; @@ -4850,7 +4857,7 @@ EventToSquare(int x) if ((x % (squareSize + lineGap)) >= squareSize) return -1; x /= (squareSize + lineGap); - if (x >= BOARD_SIZE) + if (x >= limit) return -2; return x; } @@ -4892,6 +4899,24 @@ SetupDropMenu(HMENU hmenu) } } +void DragPieceBegin(int x, int y) +{ + dragInfo.lastpos.x = boardRect.left + x; + dragInfo.lastpos.y = boardRect.top + y; + dragInfo.from.x = fromX; + dragInfo.from.y = fromY; + dragInfo.start = dragInfo.from; + SetCapture(hwndMain); +} + +void DragPieceEnd(int x, int y) +{ + ReleaseCapture(); + dragInfo.start.x = dragInfo.start.y = -1; + dragInfo.from = dragInfo.start; + dragInfo.pos = dragInfo.lastpos = dragInfo.start; +} + /* Event handler for mouse messages */ VOID MouseEvent(HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam) @@ -4900,11 +4925,7 @@ MouseEvent(HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam) POINT pt; static int recursive = 0; HMENU hmenu; -// BOOLEAN needsRedraw = FALSE; - BOOLEAN saveAnimate; BOOLEAN forceFullRepaint = IsFullRepaintPreferrable(); /* [AS] */ - static BOOLEAN sameAgain = FALSE, promotionChoice = FALSE; - ChessMove moveType; if (recursive) { if (message == WM_MBUTTONUP) { @@ -4920,8 +4941,8 @@ MouseEvent(HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam) pt.x = LOWORD(lParam); pt.y = HIWORD(lParam); - x = EventToSquare(pt.x - boardRect.left); - y = EventToSquare(pt.y - boardRect.top); + x = EventToSquare(pt.x - boardRect.left, BOARD_WIDTH); + y = EventToSquare(pt.y - boardRect.top, BOARD_HEIGHT); if (!flipView && y >= 0) { y = BOARD_HEIGHT - 1 - y; } @@ -4931,29 +4952,6 @@ MouseEvent(HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam) switch (message) { case WM_LBUTTONDOWN: - if(promotionChoice) { // we are waiting for a click to indicate promotion piece - promotionChoice = FALSE; // only one chance: if click not OK it is interpreted as cancel - if(appData.debugMode) fprintf(debugFP, "promotion click, x=%d, y=%d\n", x, y); - if(gameInfo.holdingsWidth && - (WhiteOnMove(currentMove) - ? x == BOARD_WIDTH-1 && y < gameInfo.holdingsSize && y > 0 - : x == 0 && y >= BOARD_HEIGHT - gameInfo.holdingsSize && y < BOARD_HEIGHT-1) ) { - // click in right holdings, for determining promotion piece - ChessSquare p = boards[currentMove][y][x]; - if(appData.debugMode) fprintf(debugFP, "square contains %d\n", (int)p); - if(p != EmptySquare) { - FinishMove(WhitePromotionQueen, fromX, fromY, toX, toY, ToLower(PieceToChar(p))); - fromX = fromY = -1; - break; - } - } - DrawPosition(FALSE, boards[currentMove]); - break; - } - ErrorPopDown(); - sameAgain = FALSE; - if (y == -2) { - /* Downclick vertically off board; check if on clock */ if (PtInRect((LPRECT) &whiteRect, pt)) { if (gameMode == EditPosition) { SetWhiteToPlayEvent(); @@ -4973,198 +4971,20 @@ MouseEvent(HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam) AdjustClock(!flipClock, -1); } } - if (!appData.highlightLastMove) { - ClearHighlights(); - DrawPosition((int) (forceFullRepaint || FALSE), NULL); - } - fromX = fromY = -1; dragInfo.start.x = dragInfo.start.y = -1; dragInfo.from = dragInfo.start; - break; - } else if (x < 0 || y < 0 - /* [HGM] block clicks between board and holdings */ - || x == BOARD_LEFT-1 || x == BOARD_RGHT - || (x == BOARD_LEFT-2 && y < BOARD_HEIGHT-gameInfo.holdingsSize) - || (x == BOARD_RGHT+1 && y >= gameInfo.holdingsSize) - /* EditPosition, empty square, or different color piece; - click-click move is possible */ - ) { - break; - } else if (fromX == x && fromY == y) { - /* Downclick on same square again */ - ClearHighlights(); - DrawPosition(forceFullRepaint || FALSE, NULL); - sameAgain = TRUE; - } else if (fromX != -1 && - x != BOARD_LEFT-2 && x != BOARD_RGHT+1 - ) { - /* Downclick on different square. */ - /* [HGM] if on holdings file, should count as new first click ! */ - /* [HGM] now always do UserMoveTest(), and check colors there */ - toX = x; - toY = y; - /* [HGM] UserMoveEvent requires two calls now, - to make sure move is legal before showing promotion popup */ - moveType = UserMoveTest(fromX, fromY, toX, toY, NULLCHAR, FALSE); - if(moveType == AmbiguousMove) { /* [HGM] Edit-Position move executed */ + if(fromX == -1 && frozen) { // not sure where this is for fromX = fromY = -1; - ClearHighlights(); - DrawPosition(FALSE, boards[currentMove]); - break; - } else - if(moveType != ImpossibleMove && moveType != Comment) { - /* [HGM] We use PromotionToKnight in Shogi to indicate frorced promotion */ - if (moveType == WhitePromotionKnight || moveType == BlackPromotionKnight || - ((moveType == WhitePromotionQueen || moveType == BlackPromotionQueen) && - appData.alwaysPromoteToQueen)) { - FinishMove(moveType, fromX, fromY, toX, toY, 'q'); - if (!appData.highlightLastMove) { - ClearHighlights(); - DrawPosition(forceFullRepaint || FALSE, NULL); - } - } else - if (moveType == WhitePromotionQueen || moveType == BlackPromotionQueen ) { - SetHighlights(fromX, fromY, toX, toY); - DrawPosition(forceFullRepaint || FALSE, NULL); - /* [HGM] Popup calls FinishMove now. - If promotion to Q is legal, all are legal! */ - if(gameInfo.variant == VariantSuper || gameInfo.variant == VariantGreat) - { ChessSquare p = boards[currentMove][fromY][fromX], q = boards[currentMove][toY][toX]; - // kludge to temporarily execute move on display, without promoting yet - promotionChoice = TRUE; - boards[currentMove][fromY][fromX] = EmptySquare; // move Pawn to 8th rank - boards[currentMove][toY][toX] = p; - DrawPosition(FALSE, boards[currentMove]); - boards[currentMove][fromY][fromX] = p; // take back, but display stays - boards[currentMove][toY][toX] = q; - DisplayMessage("Select piece from holdings", ""); - } else - PromotionPopup(hwnd); - goto noClear; - } else { // not a promotion. Move can be illegal if testLegality off, and should be made then. - if (appData.animate || appData.highlightLastMove) { - SetHighlights(fromX, fromY, toX, toY); - } else { - ClearHighlights(); - } - FinishMove(moveType, fromX, fromY, toX, toY, NULLCHAR); - if (appData.animate && !appData.highlightLastMove) { - ClearHighlights(); - DrawPosition(forceFullRepaint || FALSE, NULL); - } - } - fromX = fromY = -1; - noClear: - break; - } - if (gotPremove && moveType != Comment) { - SetPremoveHighlights(fromX, fromY, toX, toY); -// DrawPosition(forceFullRepaint || FALSE, NULL); - } else ClearHighlights(); - fromX = fromY = -1; - DrawPosition(forceFullRepaint || FALSE, NULL); - if(moveType != Comment) break; - } - /* First downclick, or restart on a square with same color piece */ - if (!frozen && OKToStartUserMove(x, y)) { - fromX = x; - fromY = y; - dragInfo.lastpos = pt; - dragInfo.from.x = fromX; - dragInfo.from.y = fromY; - dragInfo.start = dragInfo.from; - SetCapture(hwndMain); - } else { - fromX = fromY = -1; - dragInfo.start.x = dragInfo.start.y = -1; - dragInfo.from = dragInfo.start; DrawPosition(forceFullRepaint || FALSE, NULL); /* [AS] */ + break; } + LeftClick(Press, pt.x - boardRect.left, pt.y - boardRect.top); + DrawPosition(TRUE, NULL); break; case WM_LBUTTONUP: - ReleaseCapture(); - if (fromX == -1) break; - if (x == fromX && y == fromY) { - dragInfo.from.x = dragInfo.from.y = -1; - /* Upclick on same square */ - if (sameAgain) { - /* Clicked same square twice: abort click-click move */ - fromX = fromY = -1; - gotPremove = 0; - ClearPremoveHighlights(); - } else { - /* First square clicked: start click-click move */ - SetHighlights(fromX, fromY, -1, -1); - } - DrawPosition(forceFullRepaint || FALSE, NULL); - } else if (dragInfo.from.x < 0 || dragInfo.from.y < 0) { - /* Errant click; ignore */ - break; - } else { - /* Finish drag move. */ - if (appData.debugMode) { - fprintf(debugFP, "release\n"); - } - dragInfo.from.x = dragInfo.from.y = -1; - toX = x; - toY = y; - saveAnimate = appData.animate; /* sorry, Hawk :) */ - appData.animate = appData.animate && !appData.animateDragging; - moveType = UserMoveTest(fromX, fromY, toX, toY, NULLCHAR, TRUE); - if(moveType == AmbiguousMove) { /* [HGM] Edit-Position move executed */ - fromX = fromY = -1; - ClearHighlights(); - DrawPosition(FALSE, boards[currentMove]); - appData.animate = saveAnimate; - break; - } else - if(moveType != ImpossibleMove) { - /* [HGM] use move type to determine if move is promotion. - Knight is Shogi kludge for mandatory promotion, Queen means choice */ - if (moveType == WhitePromotionKnight || moveType == BlackPromotionKnight || - ((moveType == WhitePromotionQueen || moveType == BlackPromotionQueen) && - appData.alwaysPromoteToQueen)) - FinishMove(moveType, fromX, fromY, toX, toY, 'q'); - else - if (moveType == WhitePromotionQueen || moveType == BlackPromotionQueen ) { - DrawPosition(forceFullRepaint || FALSE, NULL); - if(gameInfo.variant == VariantSuper || gameInfo.variant == VariantGreat) - { ChessSquare p = boards[currentMove][fromY][fromX], q = boards[currentMove][toY][toX]; - // kludge to temporarily execute move on display, wthout promotng yet - promotionChoice = TRUE; - boards[currentMove][fromY][fromX] = EmptySquare; // move Pawn to 8th rank - boards[currentMove][toY][toX] = p; - DrawPosition(FALSE, boards[currentMove]); - boards[currentMove][fromY][fromX] = p; // take back, but display stays - boards[currentMove][toY][toX] = q; - appData.animate = saveAnimate; - DisplayMessage("Select piece from holdings", ""); - break; - } else - PromotionPopup(hwnd); /* [HGM] Popup now calls FinishMove */ - } else { - if(saveAnimate /* ^$!%@#$!$ */ && gameInfo.variant == VariantAtomic - && (boards[currentMove][toY][toX] != EmptySquare || - moveType == WhiteCapturesEnPassant || - moveType == BlackCapturesEnPassant ) ) - AnimateAtomicCapture(fromX, fromY, toX, toY, 20); - FinishMove(moveType, fromX, fromY, toX, toY, NULLCHAR); - } - } - if (gotPremove) SetPremoveHighlights(fromX, fromY, toX, toY); - appData.animate = saveAnimate; - fromX = fromY = -1; - if (appData.highlightDragging && !appData.highlightLastMove) { - ClearHighlights(); - } - if (appData.animate || appData.animateDragging || - appData.highlightDragging || gotPremove) { - DrawPosition(forceFullRepaint || FALSE, NULL); - } - } - dragInfo.start.x = dragInfo.start.y = -1; - dragInfo.pos = dragInfo.lastpos = dragInfo.start; + LeftClick(Release, pt.x - boardRect.left, pt.y - boardRect.top); + DrawPosition(TRUE, NULL); break; case WM_MOUSEMOVE: @@ -5174,7 +4994,6 @@ MouseEvent(HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam) { BOOL full_repaint = FALSE; - sameAgain = FALSE; /* [HGM] if we drag something around, do keep square selected */ if (appData.animateDragging) { dragInfo.pos = pt; } @@ -5399,7 +5218,8 @@ Promotion(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam) only show the popup when we are already sure the move is valid or legal. We pass a faulty move type, but the kludge is that FinishMove will figure out it is a promotion from the promoChar. */ - FinishMove(NormalMove, fromX, fromY, toX, toY, promoChar); + UserMoveEvent(fromX, fromY, toX, toY, promoChar); + fromX = fromY = -1; if (!appData.highlightLastMove) { ClearHighlights(); DrawPosition(FALSE, NULL); @@ -5421,6 +5241,13 @@ PromotionPopup(HWND hwnd) FreeProcInstance(lpProc); } +void +PromotionPopUp() +{ + DrawPosition(TRUE, NULL); + PromotionPopup(hwndMain); +} + /* Toggle ShowThinking */ VOID ToggleShowThinking() @@ -5457,34 +5284,55 @@ LoadGameDialog(HWND hwnd, char* title) } } +int get_term_width() +{ + HDC hdc; + TEXTMETRIC tm; + RECT rc; + HFONT hfont, hold_font; + LOGFONT lf; + HWND hText; + + if (hwndConsole) + hText = GetDlgItem(hwndConsole, OPT_ConsoleText); + else + return 79; + + // get the text metrics + hdc = GetDC(hText); + lf = font[boardSize][CONSOLE_FONT]->lf; + if (consoleCF.dwEffects & CFE_BOLD) + lf.lfWeight = FW_BOLD; + if (consoleCF.dwEffects & CFE_ITALIC) + lf.lfItalic = TRUE; + if (consoleCF.dwEffects & CFE_STRIKEOUT) + lf.lfStrikeOut = TRUE; + if (consoleCF.dwEffects & CFE_UNDERLINE) + lf.lfUnderline = TRUE; + hfont = CreateFontIndirect(&lf); + hold_font = SelectObject(hdc, hfont); + GetTextMetrics(hdc, &tm); + SelectObject(hdc, hold_font); + DeleteObject(hfont); + ReleaseDC(hText, hdc); + + // get the rectangle + SendMessage(hText, EM_GETRECT, 0, (LPARAM)&rc); + + return (rc.right-rc.left) / tm.tmAveCharWidth; +} + void UpdateICSWidth(HWND hText) { - HDC hdc; - TEXTMETRIC tm; - RECT rc; - HFONT hfont, hold_font; - LONG old_width, new_width; - - // get the text metrics - hdc = GetDC(hText); - hfont = CreateFontIndirect(&font[boardSize][CONSOLE_FONT]->lf); - hold_font = SelectObject(hdc, hfont); - GetTextMetrics(hdc, &tm); - SelectObject(hdc, hold_font); - DeleteObject(hfont); - ReleaseDC(hText, hdc); - - // get the rectangle - SendMessage(hText, EM_GETRECT, 0, (LPARAM)&rc); - - // update the width - new_width = (rc.right-rc.left) / tm.tmAveCharWidth; - old_width = GetWindowLong(hText, GWL_USERDATA); - if (new_width != old_width) - { - ics_update_width(new_width); - SetWindowLong(hText, GWL_USERDATA, new_width); - } + LONG old_width, new_width; + + new_width = get_term_width(hText, FALSE); + old_width = GetWindowLong(hText, GWL_USERDATA); + if (new_width != old_width) + { + ics_update_width(new_width); + SetWindowLong(hText, GWL_USERDATA, new_width); + } } VOID @@ -5631,14 +5479,12 @@ WndProc(HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam) switch (wmId) { case IDM_NewGame: ResetGameEvent(); - EngineOutputPopDown(); SAY("new game enter a move to play against the computer with white"); break; case IDM_NewGameFRC: if( NewGameFRC() == 0 ) { ResetGameEvent(); - EngineOutputPopDown(); } break; @@ -8208,7 +8054,7 @@ ConsoleWndProc(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam) } // Allow hText to highlight URLs and send notifications on them - wMask = SendMessage(hText, EM_GETEVENTMASK, 0, 0L); + wMask = (WORD) SendMessage(hText, EM_GETEVENTMASK, 0, 0L); SendMessage(hText, EM_SETEVENTMASK, 0, wMask | ENM_LINK); SendMessage(hText, EM_AUTOURLDETECT, TRUE, 0L); SetWindowLong(hText, GWL_USERDATA, 79); // initialize the text window's width @@ -10522,6 +10368,11 @@ RemoveInputSource(InputSourceRef isr) } } +int no_wrap(char *message, int count) +{ + ConsoleOutput(message, count, FALSE); + return count; +} int OutputToProcess(ProcRef pr, char *message, int count, int *outError) @@ -10530,11 +10381,32 @@ OutputToProcess(ProcRef pr, char *message, int count, int *outError) int outCount = SOCKET_ERROR; ChildProc *cp = (ChildProc *) pr; static OVERLAPPED ovl; + static int line = 0; - if (pr == NoProc) { - ConsoleOutput(message, count, FALSE); - return count; - } + if (pr == NoProc) + { + if (appData.noJoin || !appData.useInternalWrap) + return no_wrap(message, count); + else + { + int width = get_term_width(); + int len = wrap(NULL, message, count, width, &line); + char *msg = malloc(len); + int dbgchk; + + if (!msg) + return no_wrap(message, count); + else + { + dbgchk = wrap(msg, message, count, width, &line); + if (dbgchk != len && appData.debugMode) + fprintf(debugFP, "wrap(): dbgchk(%d) != len(%d)\n", dbgchk, len); + ConsoleOutput(msg, len, FALSE); + free(msg); + return len; + } + } + } if (ovl.hEvent == NULL) { ovl.hEvent = CreateEvent(NULL, TRUE, FALSE, NULL); diff --git a/winboard/winboard.h b/winboard/winboard.h index fab659e..973aab6 100644 --- a/winboard/winboard.h +++ b/winboard/winboard.h @@ -59,6 +59,7 @@ typedef struct { char faceName[LF_FACESIZE]; float pointSize; BYTE bold, italic, underline, strikeout; + BYTE charset; } MyFontParams; typedef struct { diff --git a/winboard/woptions.c b/winboard/woptions.c old mode 100644 new mode 100755 index 46f0e4b..aaab83b --- a/winboard/woptions.c +++ b/winboard/woptions.c @@ -1010,6 +1010,7 @@ MyCreateFont(HWND hwnd, MyFont *font) font->mfp.italic = font->lf.lfItalic; font->mfp.underline = font->lf.lfUnderline; font->mfp.strikeout = font->lf.lfStrikeOut; + font->mfp.charset = font->lf.lfCharSet; strcpy(font->mfp.faceName, font->lf.lfFaceName); return TRUE; } @@ -1021,7 +1022,7 @@ UpdateSampleText(HWND hDlg, int id, MyColorizeAttribs *mca) CHARFORMAT cf; cf.cbSize = sizeof(CHARFORMAT); cf.dwMask = - CFM_COLOR|CFM_BOLD|CFM_ITALIC|CFM_UNDERLINE|CFM_STRIKEOUT|CFM_FACE|CFM_SIZE; + CFM_COLOR|CFM_CHARSET|CFM_BOLD|CFM_ITALIC|CFM_UNDERLINE|CFM_STRIKEOUT|CFM_FACE|CFM_SIZE; cf.crTextColor = mca->color; cf.dwEffects = mca->effects; strcpy(cf.szFaceName, font[boardSize][CONSOLE_FONT]->mfp.faceName); @@ -1265,7 +1266,9 @@ IcsOptionsDialog(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam) appData.colorize = (Boolean)!IsDlgButtonChecked(hDlg, OPT_DontColorize); - if (!appData.colorize) { + ChangedConsoleFont(); + + if (!appData.colorize) { CHARFORMAT cf; COLORREF background = ParseColorName(COLOR_BKGD); /* @@ -1275,7 +1278,7 @@ IcsOptionsDialog(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam) cf.cbSize = sizeof(CHARFORMAT); cf.dwMask = CFM_COLOR; cf.crTextColor = ParseColorName(COLOR_NORMAL); - + SendDlgItemMessage(hwndConsole, OPT_ConsoleInput, EM_SETCHARFORMAT, SCF_ALL, (LPARAM)&cf); SendDlgItemMessage(hwndConsole, OPT_ConsoleText, @@ -1495,6 +1498,7 @@ CopyFont(MyFont *dest, const MyFont *src) dest->mfp.italic = src->mfp.italic; dest->mfp.underline = src->mfp.underline; dest->mfp.strikeout = src->mfp.strikeout; + dest->mfp.charset = src->mfp.charset; lstrcpy(dest->mfp.faceName, src->mfp.faceName); CreateFontInMF(dest); } diff --git a/xboard.c b/xboard.c index 2a31805..d479ba3 100644 --- a/xboard.c +++ b/xboard.c @@ -274,7 +274,6 @@ void AskQuestionReplyAction P((Widget w, XEvent *event, void AskQuestionProc P((Widget w, XEvent *event, String *prms, Cardinal *nprms)); void AskQuestionPopDown P((void)); -void PromotionPopUp P((void)); void PromotionPopDown P((void)); void PromotionCallback P((Widget w, XtPointer client_data, XtPointer call_data)); @@ -322,9 +321,7 @@ void ErrorPopUp P((char *title, char *text, int modal)); void ErrorPopDown P((void)); static char *ExpandPathName P((char *path)); static void CreateAnimVars P((void)); -void DragPieceBegin P((int x, int y)); static void DragPieceMove P((int x, int y)); -void DragPieceEnd P((int x, int y)); static void DrawDragPiece P((void)); char *ModeToWidgetName P((GameMode mode)); void EngineOutputUpdate( FrontEndProgramStats * stats ); @@ -1369,6 +1366,12 @@ XtResource clientResources[] = { XtRImmediate, (XtPointer) False}, { "keepLineBreaksICS", "keepLineBreaksICS", XtRBoolean, sizeof(Boolean), XtOffset(AppDataPtr, noJoin), + XtRImmediate, (XtPointer) False}, + { "wrapContinuationSequence", "wrapContinuationSequence", XtRString, + sizeof(String), XtOffset(AppDataPtr, wrapContSeq), + XtRString, ""}, + { "useInternalWrap", "useInternalWrap", XtRBoolean, + sizeof(Boolean), XtOffset(AppDataPtr, useInternalWrap), XtRImmediate, (XtPointer) True}, }; @@ -1740,9 +1743,10 @@ XrmOptionDescRec shellOptions[] = { { "-keepAlive", "keepAlive", XrmoptionSepArg, NULL }, { "-forceIllegalMoves", "forceIllegalMoves", XrmoptionNoArg, "True" }, { "-keepLineBreaksICS", "keepLineBreaksICS", XrmoptionSepArg, NULL }, + { "-wrapContinuationSequence", "wrapContinuationSequence", XrmoptionSepArg, NULL }, + { "-useInternalWrap", "useInternalWrap", XrmoptionSepArg, NULL }, }; - XtActionsRec boardActions[] = { { "HandleUserMove", HandleUserMove }, { "AnimateUserMove", AnimateUserMove }, @@ -1844,7 +1848,6 @@ XtActionsRec boardActions[] = { { "TagsPopDown", (XtActionProc) TagsPopDown }, { "ErrorPopDown", (XtActionProc) ErrorPopDown }, { "ICSInputBoxPopDown", (XtActionProc) ICSInputBoxPopDown }, - { "EngineOutputPopDown", (XtActionProc) EngineOutputPopDown }, // { "FileNamePopDown", (XtActionProc) FileNamePopDown }, { "AskQuestionPopDown", (XtActionProc) AskQuestionPopDown }, { "GameListPopDown", (XtActionProc) GameListPopDown }, @@ -2667,6 +2670,9 @@ main(argc, argv) if (appData.icsInputBox) ICSInputBoxPopUp(); } + #ifdef SIGWINCH + signal(SIGWINCH, TermSizeSigHandler); + #endif signal(SIGINT, IntSigHandler); signal(SIGTERM, IntSigHandler); if (*appData.cmailGameName != NULLCHAR) { @@ -3973,44 +3979,8 @@ void HandleUserMove(w, event, prms, nprms) String *prms; Cardinal *nprms; { - int x, y; - Boolean saveAnimate; - static int second = 0, promotionChoice = 0; - ChessMove moveType; - if (w != boardWidget || errorExitStatus != -1) return; - x = EventToSquare(event->xbutton.x, BOARD_WIDTH); - y = EventToSquare(event->xbutton.y, BOARD_HEIGHT); - if (!flipView && y >= 0) { - y = BOARD_HEIGHT - 1 - y; - } - if (flipView && x >= 0) { - x = BOARD_WIDTH - 1 - x; - } - - if(promotionChoice) { // we are waiting for a click to indicate promotion piece - if(event->type == ButtonRelease) return; // ignore upclick of click-click destination - promotionChoice = FALSE; // only one chance: if click not OK it is interpreted as cancel - if(appData.debugMode) fprintf(debugFP, "promotion click, x=%d, y=%d\n", x, y); - if(gameInfo.holdingsWidth && - (WhiteOnMove(currentMove) - ? x == BOARD_WIDTH-1 && y < gameInfo.holdingsSize && y > 0 - : x == 0 && y >= BOARD_HEIGHT - gameInfo.holdingsSize && y < BOARD_HEIGHT-1) ) { - // click in right holdings, for determining promotion piece - ChessSquare p = boards[currentMove][y][x]; - if(appData.debugMode) fprintf(debugFP, "square contains %d\n", (int)p); - if(p != EmptySquare) { - FinishMove(NormalMove, fromX, fromY, toX, toY, ToLower(PieceToChar(p))); - fromX = fromY = -1; - return; - } - } - DrawPosition(FALSE, boards[currentMove]); - return; - } - if (event->type == ButtonPress) ErrorPopDown(); - if (promotionUp) { if (event->type == ButtonPress) { // XtPopdown(promotionShell); @@ -4023,138 +3993,9 @@ void HandleUserMove(w, event, prms, nprms) } } - /* [HGM] holdings: next 5 lines: ignore all clicks between board and holdings */ - if(event->type == ButtonPress - && ( x == BOARD_LEFT-1 || - x == BOARD_RGHT || - (x == BOARD_LEFT-2 && y < BOARD_HEIGHT-gameInfo.holdingsSize ) || - (x == BOARD_RGHT+1 && y >= gameInfo.holdingsSize)) ) - return; - - if (fromX == -1) { - if (event->type == ButtonPress) { - /* First square, prepare to drag */ - if (OKToStartUserMove(x, y)) { - fromX = x; - fromY = y; - second = 0; - DragPieceBegin(event->xbutton.x, event->xbutton.y); - if (appData.highlightDragging) { - SetHighlights(x, y, -1, -1); - } - } - } - return; - } - - /* fromX != -1 */ - if (event->type == ButtonRelease && x == fromX && y == fromY) { - /* Click on single square in stead of drag-drop */ - DragPieceEnd(event->xbutton.x, event->xbutton.y); - if (appData.animateDragging) { - /* Undo animation damage if any */ - DrawPosition(FALSE, NULL); - } - if (second) { - /* Second up/down in same square; just abort move */ - second = 0; - fromX = fromY = -1; - ClearHighlights(); - gotPremove = 0; - ClearPremoveHighlights(); - } else { - /* First upclick in same square; start click-click mode */ - SetHighlights(x, y, -1, -1); - } - return; - } - - moveType = UserMoveTest(fromX, fromY, x, y, NULLCHAR, event->type == ButtonRelease); - - if (moveType == Comment) { // kludge for indicating capture-own on Press - /* Clicked again on same color piece -- changed his mind */ - /* note that re-clicking same square always hits same color piece */ - second = (x == fromX && y == fromY); - if (appData.highlightDragging) { - SetHighlights(x, y, -1, -1); - } else { - ClearHighlights(); - } - if (OKToStartUserMove(x, y)) { - fromX = x; - fromY = y; - DragPieceBegin(event->xbutton.x, event->xbutton.y); - } - return; - } - - if(moveType == AmbiguousMove) { // kludge to indicate edit-position move - fromX = fromY = -1; - ClearHighlights(); - DragPieceEnd(event->xbutton.x, event->xbutton.y); - DrawPosition(FALSE, boards[currentMove]); - return; - } - - /* Complete move; (x,y) is now different from (fromX, fromY) on both Press and Release */ - toX = x; - toY = y; - saveAnimate = appData.animate; - if (event->type == ButtonPress) { - /* Finish clickclick move */ - if (appData.animate || appData.highlightLastMove) { - SetHighlights(fromX, fromY, toX, toY); - } else { - ClearHighlights(); - } - } else { - /* Finish drag move */ - if (appData.highlightLastMove) { - SetHighlights(fromX, fromY, toX, toY); - } else { - ClearHighlights(); - } - DragPieceEnd(event->xbutton.x, event->xbutton.y); - /* Don't animate move and drag both */ - appData.animate = FALSE; - } - if (moveType == WhitePromotionKnight || moveType == BlackPromotionKnight || - (moveType == WhitePromotionQueen || moveType == BlackPromotionQueen) && - appData.alwaysPromoteToQueen) { // promotion, but no choice - FinishMove(moveType, fromX, fromY, toX, toY, 'q'); - } else - if (moveType == WhitePromotionQueen || moveType == BlackPromotionQueen ) { - SetHighlights(fromX, fromY, toX, toY); - if(gameInfo.variant == VariantSuper || gameInfo.variant == VariantGreat) { - // [HGM] super: promotion to captured piece selected from holdings - ChessSquare p = boards[currentMove][fromY][fromX], q = boards[currentMove][toY][toX]; - promotionChoice = TRUE; - // kludge follows to temporarily execute move on display, without promoting yet - boards[currentMove][fromY][fromX] = EmptySquare; // move Pawn to 8th rank - boards[currentMove][toY][toX] = p; - DrawPosition(FALSE, boards[currentMove]); - boards[currentMove][fromY][fromX] = p; // take back, but display stays - boards[currentMove][toY][toX] = q; - DisplayMessage("Click in holdings to choose piece", ""); - return; - } - PromotionPopUp(); - goto skipClearingFrom; // the skipped stuff is done asynchronously by PromotionCallback - } else - if(moveType != ImpossibleMove) { // valid move, but no promotion - FinishMove(moveType, fromX, fromY, toX, toY, NULLCHAR); - } else { // invalid move; could have set premove - ClearHighlights(); - } - if (!appData.highlightLastMove || gotPremove) ClearHighlights(); - if (gotPremove) SetPremoveHighlights(fromX, fromY, toX, toY); - fromX = fromY = -1; -skipClearingFrom: - appData.animate = saveAnimate; - if (appData.animate || appData.animateDragging) { - /* Undo animation damage if needed */ - DrawPosition(FALSE, NULL); - } + // [HGM] mouse: the rest of the mouse handler is moved to the backend, and called here + if(event->type == ButtonPress) LeftClick(Press, event->xbutton.x, event->xbutton.y); + if(event->type == ButtonRelease) LeftClick(Release, event->xbutton.x, event->xbutton.y); } void AnimateUserMove (Widget w, XEvent * event, @@ -4753,7 +4594,7 @@ void PromotionCallback(w, client_data, call_data) promoChar = ToLower(name[0]); } - FinishMove(NormalMove, fromX, fromY, toX, toY, promoChar); + UserMoveEvent(fromX, fromY, toX, toY, promoChar); if (!appData.highlightLastMove || gotPremove) ClearHighlights(); if (gotPremove) SetPremoveHighlights(fromX, fromY, toX, toY); @@ -6162,10 +6003,6 @@ int StartChildProcess(cmdLine, dir, pr) SetUpChildIO(to_prog, from_prog); - #ifdef SIGWINCH - signal(SIGWINCH, TermSizeSigHandler); - #endif - if ((pid = fork()) == 0) { /* Child process */ // [HGM] PSWBTM: made order resistant against case where fd of created pipe was 0 or 1 @@ -6515,11 +6352,33 @@ int OutputToProcess(pr, message, count, outError) int count; int *outError; { + static int line = 0; ChildProc *cp = (ChildProc *) pr; int outCount; if (pr == NoProc) - outCount = fwrite(message, 1, count, stdout); + { + if (appData.noJoin || !appData.useInternalWrap) + outCount = fwrite(message, 1, count, stdout); + else + { + int width = get_term_width(); + int len = wrap(NULL, message, count, width, &line); + char *msg = malloc(len); + int dbgchk; + + if (!msg) + outCount = fwrite(message, 1, count, stdout); + else + { + dbgchk = wrap(msg, message, count, width, &line); + if (dbgchk != len && appData.debugMode) + fprintf(debugFP, "wrap(): dbgchk(%d) != len(%d)\n", dbgchk, len); + outCount = fwrite(msg, 1, dbgchk, stdout); + free(msg); + } + } + } else outCount = write(cp->fdTo, message, count); diff --git a/xengineoutput.c b/xengineoutput.c index ccffeab..4493c84 100644 --- a/xengineoutput.c +++ b/xengineoutput.c @@ -132,7 +132,7 @@ Pixmap icons[8]; // [HGM] this front-end array translates back-end icon indicato Widget outputField[2][7]; // [HGM] front-end array to translate output field to window handle void EngineOutputPopDown(); -void engineOutputPopUp(char *title, char *text); +void engineOutputPopUp(); int EngineOutputIsUp(); static void SetEngineColorIcon( int which ); @@ -381,7 +381,11 @@ Widget EngineOutputCreate(name, text) j = 0; XtSetArg(args[j], XtNresizable, True); j++; shell = +#if TOPLEVEL + XtCreatePopupShell(name, topLevelShellWidgetClass, +#else XtCreatePopupShell(name, transientShellWidgetClass, +#endif shellWidget, args, j); layout = XtCreateManagedWidget(layoutName, formWidgetClass, shell, @@ -483,12 +487,13 @@ void ResizeWindowControls(shell, mode) } } -void EngineOutputPopUp(title, text) - char *title, *text; +void +EngineOutputPopUp() { Arg args[16]; int j; Widget edit; + static char *title = _("Engine output"), *text = _("This feature is experimental"); if (engineOutputShell == NULL) { engineOutputShell = @@ -937,7 +942,7 @@ EngineOutputProc(w, event, prms, nprms) if (engineOutputDialogUp) { EngineOutputPopDown(); } else { - EngineOutputPopUp(_("engine output"),_("This feature is experimental")); + EngineOutputPopUp(); } // ToNrEvent(currentMove); } diff --git a/xoptions.c b/xoptions.c index 514c9d6..25d3fe7 100644 --- a/xoptions.c +++ b/xoptions.c @@ -142,7 +142,6 @@ void ShuffleCallback(w, client_data, call_data) ShufflePopDown(); shuffleOpenings = False; // [HGM] should be moved to New Variant menu, once we have it! ResetGameEvent(); - EngineOutputPopDown(); return; } if (strcmp(name, _("random")) == 0) { @@ -164,7 +163,6 @@ void ShuffleCallback(w, client_data, call_data) shuffleOpenings = True; ShufflePopDown(); ResetGameEvent(); - EngineOutputPopDown(); return; } }