X-Git-Url: http://winboard.nl/cgi-bin?a=blobdiff_plain;f=winboard%2Fwhistory.c;h=933359c9c5d8723bc93aed74e406eb63bf9492c6;hb=941395daf4333598be57255c9b722c7c09b3adf3;hp=497fa176b20f6e40827ce06a296df8899f5e233e;hpb=91d8e5853ca580769cc130aa6ea004869118d171;p=xboard.git diff --git a/winboard/whistory.c b/winboard/whistory.c index 497fa17..933359c 100644 --- a/winboard/whistory.c +++ b/winboard/whistory.c @@ -3,6 +3,8 @@ * * Author: Alessandro Scotti (Dec 2005) * + * Copyright 2005 Alessandro Scotti + * * ------------------------------------------------------------------------ * * GNU XBoard is free software: you can redistribute it and/or modify @@ -32,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;