ianfab / Makruk-Stockfish

strong UCI engine for Makruk (Thai chess, หมากรุก) based on Stockfish; superseded by https://github.com/fairy-stockfish/Fairy-Stockfish
GNU General Public License v3.0
10 stars 12 forks source link

Position counting rule #8

Closed JBamro closed 5 years ago

JBamro commented 5 years ago

misc.cpp Fix warning on MinGW gcc 8.1.0 #1619 https://github.com/official-stockfish/Stockfish/issues/1619 Changing (fun1_t) to (fun1_t)(void(*)()) and so on

syzygy/tbprobe.cpp Fix warnings on MinGW gcc 8.1.0 Changing memset(this, 0, sizeof(WDLEntry)); to memset(static_cast<void*>(this), 0, sizeof(WDLEntry)); and so on

position.h position.cpp endgame.cpp Fix honor's rules counting for real game

Leave rule50_count() count 50 moves as normal chess.

But using counting_limit() and honor_rule_count() to take care about honor's rule counting for the real game.