mirror of
https://github.com/HChaZZY/Stockfish.git
synced 2025-12-26 20:16:14 +08:00
Compare commits
5 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
ec23692433 | ||
|
|
787d358554 | ||
|
|
ff0d9dad2b | ||
|
|
046fd4926f | ||
|
|
c595185b3c |
@@ -23,6 +23,7 @@
|
|||||||
////
|
////
|
||||||
|
|
||||||
#include <cassert>
|
#include <cassert>
|
||||||
|
#include <cstring>
|
||||||
|
|
||||||
#include "history.h"
|
#include "history.h"
|
||||||
|
|
||||||
|
|||||||
@@ -23,6 +23,7 @@
|
|||||||
////
|
////
|
||||||
|
|
||||||
#include <cassert>
|
#include <cassert>
|
||||||
|
#include <cstring>
|
||||||
#include <map>
|
#include <map>
|
||||||
|
|
||||||
#include "material.h"
|
#include "material.h"
|
||||||
|
|||||||
@@ -37,7 +37,7 @@
|
|||||||
/// Version number. If this is left empty, the current date (in the format
|
/// Version number. If this is left empty, the current date (in the format
|
||||||
/// YYMMDD) is used as a version number.
|
/// YYMMDD) is used as a version number.
|
||||||
|
|
||||||
const std::string EngineVersion = "1.0";
|
const std::string EngineVersion = "1.01";
|
||||||
|
|
||||||
|
|
||||||
////
|
////
|
||||||
|
|||||||
@@ -23,6 +23,7 @@
|
|||||||
////
|
////
|
||||||
|
|
||||||
#include <cassert>
|
#include <cassert>
|
||||||
|
#include <cstring>
|
||||||
|
|
||||||
#include "pawns.h"
|
#include "pawns.h"
|
||||||
|
|
||||||
|
|||||||
@@ -25,6 +25,7 @@
|
|||||||
//// Includes
|
//// Includes
|
||||||
////
|
////
|
||||||
|
|
||||||
|
#include <cstdlib> // for abs()
|
||||||
#include <string>
|
#include <string>
|
||||||
|
|
||||||
#include "color.h"
|
#include "color.h"
|
||||||
|
|||||||
@@ -24,6 +24,7 @@
|
|||||||
|
|
||||||
#include <cassert>
|
#include <cassert>
|
||||||
#include <cmath>
|
#include <cmath>
|
||||||
|
#include <cstring>
|
||||||
|
|
||||||
#include "tt.h"
|
#include "tt.h"
|
||||||
|
|
||||||
@@ -144,9 +145,8 @@ const TTEntry* TranspositionTable::retrieve(const Position &pos) const {
|
|||||||
|
|
||||||
TTEntry *tte = first_entry(pos);
|
TTEntry *tte = first_entry(pos);
|
||||||
|
|
||||||
for (int i = 0; i < 4; i++)
|
for (int i = 0; i < 4; i++, tte++)
|
||||||
{
|
{
|
||||||
tte += i;
|
|
||||||
if (tte->key() == pos.get_key())
|
if (tte->key() == pos.get_key())
|
||||||
return tte;
|
return tte;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user