[Scidvspc-devel] Patch1: Eval bar for boards, inturn Enabled for Analysis Board
Chess Database and Toolkit program
Brought to you by:
stevenaaus
From: C H. M. <han...@gm...> - 2024-12-25 23:44:09
|
Hi, This patch adds generic support for showing eval bar wrt any specified board. Inturn the same is enabled for analysis boards and the main pv's score is shown as the evalbar. Have implemented two different versions of eval bar, one is a simple linear one and another is a combination of linear+logarithmic one. The simple linear version shows the eval bar linearly wrt -4 to 4 with clipping of values beyond it The linear+log version shows a linear movement wrt -1 to 1 which maps to being adjacent to the 4 and 5 rows, and a logarithmic movement for beyond. The log values are mapped such that crossing 3 and 6 rows map to be equivalent to gaining or losing a minor piece and 2 and 7 rows map to gaining or losing 10 points, and remaining beyond. Currently I havent tried to enable this for MainBoard. As one may want to add an option entry to menu or buttons bar or ... -- Keep ;-) HanishKVC |