X-Git-Url: http://winboard.nl/cgi-bin?a=blobdiff_plain;f=winboard%2Fwhistory.c;h=933359c9c5d8723bc93aed74e406eb63bf9492c6;hb=8c94141e6c30dc94777dee5824cfbf027a18f940;hp=73ae025951d0d6f833266998b9e1a3cb53cea2fc;hpb=bb1c4f8ed2489e4891fe044532a35107d33174d2;p=xboard.git diff --git a/winboard/whistory.c b/winboard/whistory.c index 73ae025..933359c 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;