X-Git-Url: http://winboard.nl/cgi-bin?a=blobdiff_plain;f=board.h;h=15110521f3c7cd1e265c84cc48a13c14971247c9;hb=fae5c4d7152788cbe63069bdb97f6c2df5ec08ee;hp=9fc8f5931ea3f9786ca429ca5991321ef3d95494;hpb=fbcf1f3b86b144dd4940b326c32d4b105c0f74b3;p=xboard.git diff --git a/board.h b/board.h index 9fc8f59..1511052 100644 --- a/board.h +++ b/board.h @@ -5,7 +5,8 @@ * Massachusetts. * * Enhancements Copyright 1992-2001, 2002, 2003, 2004, 2005, 2006, - * 2007, 2008, 2009, 2010, 2011, 2012 Free Software Foundation, Inc. + * 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016 Free + * Software Foundation, Inc. * * The following terms apply to Digital Equipment Corporation's copyright * interest in XBoard: @@ -78,7 +79,7 @@ typedef struct { extern AnimState anims[]; void DrawPolygon P((Pnt arrow[], int nr)); -void DrawOneSquare P((int x, int y, ChessSquare piece, int square_color, int marker, char *string, int align)); +void DrawOneSquare P((int x, int y, ChessSquare piece, int square_color, int marker, char *tString, char *bString, int align)); void DrawDot P((int marker, int x, int y, int r)); void DrawGrid P((void)); int SquareColor P((int row, int column)); @@ -90,6 +91,9 @@ void DrawBlank P((AnimNr anr, int x, int y, int startColor)); void CopyRectangle P((AnimNr anr, int srcBuf, int destBuf, int srcX, int srcY, int width, int height, int destX, int destY)); void SetDragPiece P((AnimNr anr, ChessSquare piece)); void DragPieceMove P((int x, int y)); +void DrawBorder P((int x, int y, int type, int odd)); +void FlashDelay P((int flash_delay)); +void SwitchWindow P((int main)); extern int damage[2][BOARD_RANKS][BOARD_FILES]; - +extern Option *currBoard;