X-Git-Url: http://winboard.nl/cgi-bin?p=xboard.git;a=blobdiff_plain;f=board.h;h=15110521f3c7cd1e265c84cc48a13c14971247c9;hp=47d83292130e14cfbc1cfdfdb89702e8646f268e;hb=HEAD;hpb=b9c6b5e9fcd6321336ec28f25833530db79b928d diff --git a/board.h b/board.h index 47d8329..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,9 +79,9 @@ 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((int second)); +void DrawGrid P((void)); int SquareColor P((int row, int column)); void ScreenSquare P((int column, int row, Pnt *pt, int *color)); void BoardSquare P((int x, int y, int *column, int *row)); @@ -90,9 +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 DrawArrowHighlight P((int fromX, int fromY, int toX,int toY)); -Boolean IsDrawArrowEnabled P((void)); +void DrawBorder P((int x, int y, int type, int odd)); +void FlashDelay P((int flash_delay)); +void SwitchWindow P((int main)); -extern int hOffset; // [HGM] dual extern int damage[2][BOARD_RANKS][BOARD_FILES]; - +extern Option *currBoard;