This existed in exact duplicates in both front-ends.
}
}
+void
+HistorySet( char movelist[][2*MOVE_LEN], int first, int last, int current )
+{
+ MoveHistorySet( movelist, first, last, current, pvInfoList );
+
+ EvalGraphSet( first, last, current, pvInfoList );
+
+ MakeEngineOutputTitle();
+}
+
/*
* Establish will establish a contact to a remote host.port.
* Sets icsPR to a ProcRef for a process (or pseudo-process)
int WaitForEngine P((ChessProgramState *cps, DelayedEventCallback x));
void Load P((ChessProgramState *cps, int n));
int MultiPV P((ChessProgramState *cps));
+void MoveHistorySet P(( char movelist[][2*MOVE_LEN], int first, int last, int current, ChessProgramStats_Move * pvInfo ));
+void EvalGraphSet P(( int first, int last, int current, ChessProgramStats_Move * pvInfo ));
+void MakeEngineOutputTitle P((void));
#endif /* _BACKEND */
}\r
\r
void\r
-HistorySet( char movelist[][2*MOVE_LEN], int first, int last, int current )\r
-{\r
- MoveHistorySet( movelist, first, last, current, pvInfoList );\r
-\r
- EvalGraphSet( first, last, current, pvInfoList );\r
-\r
- MakeEngineOutputTitle();\r
-}\r
-\r
-void\r
SettingsPopUp(ChessProgramState *cps)\r
{ // [HGM] wrapper needed because handles must not be passed through back-end\r
EngineOptionsPopup(savedHwnd, cps);\r
\r
VOID MoveHistoryPopUp();\r
VOID MoveHistoryPopDown();\r
-VOID MoveHistorySet( char movelist[][2*MOVE_LEN], int first, int last, int current, ChessProgramStats_Move * pvInfo );\r
extern HWND moveHistoryDialog;\r
\r
-VOID EvalGraphSet( int first, int last, int current, ChessProgramStats_Move * pvInfo );\r
VOID EvalGraphPopUp();\r
VOID EvalGraphPopDown();\r
extern HWND evalGraphDialog;\r
void RefreshMemoContent P((void));
void MemoContentUpdated P((void));
void FindMoveByCharIndex P(( int char_index ));
-void MoveHistorySet P(( char movelist[][2*MOVE_LEN], int first, int last, int current, ChessProgramStats_Move * pvInfo ));
// variables in xoptions.c
extern Option historyOptions[];
} else PopDown(7);
ToNrEvent(currentMove);
}
-
-// duplicate of code in winboard.c, so an move to back-end!
-void EvalGraphSet P(( int first, int last, int current, ChessProgramStats_Move * pvInfo ));
-void MakeEngineOutputTitle P(());
-
-void
-HistorySet( char movelist[][2*MOVE_LEN], int first, int last, int current )
-{
- MoveHistorySet( movelist, first, last, current, pvInfoList );
-
- EvalGraphSet( first, last, current, pvInfoList );
-
- MakeEngineOutputTitle();
-}
-