X-Git-Url: http://winboard.nl/cgi-bin?a=blobdiff_plain;f=winboard%2Fwhistory.c;h=0a42f183ac8c32fa96adedd8d6529847a02d1c2c;hb=c948f38c96384998f183aab3298f94833e18f26c;hp=73ae025951d0d6f833266998b9e1a3cb53cea2fc;hpb=bb1c4f8ed2489e4891fe044532a35107d33174d2;p=xboard.git diff --git a/winboard/whistory.c b/winboard/whistory.c index 73ae025..0a42f18 100644 --- a/winboard/whistory.c +++ b/winboard/whistory.c @@ -34,33 +34,15 @@ #include #include "common.h" -#include "winboard.h" #include "frontend.h" #include "backend.h" +#include "winboard.h" #include "wsnap.h" -VOID MoveHistorySet( char movelist[][2*MOVE_LEN], int first, int last, int current, ChessProgramStats_Move * pvInfo ); -VOID MoveHistoryPopUp(); -VOID MoveHistoryPopDown(); -BOOL MoveHistoryIsUp(); - -/* Imports from backend.c */ -char * SavePart(char *str); - -/* Imports from winboard.c */ -extern HWND moveHistoryDialog; -extern BOOLEAN moveHistoryDialogUp; - -extern HINSTANCE hInst; -extern HWND hwndMain; - -extern WindowPlacement wpMoveHistory; - -extern BoardSize boardSize; - /* Module globals */ typedef char MoveHistoryString[ MOVE_LEN*2 ]; +static BOOLEAN moveHistoryDialogUp = FALSE; static int lastFirst = 0; static int lastLast = 0; @@ -470,7 +452,7 @@ VOID MoveHistorySet( char movelist[][2*MOVE_LEN], int first, int last, int curre } } -BOOL MoveHistoryIsUp() +Boolean MoveHistoryIsUp() { return moveHistoryDialogUp; }