void pawn_init() { int rank, ThreadId; // UCI options pawn_parameter(); // bonus for (rank = 0; rank < RankNb; rank++) Bonus[rank] = 0; Bonus[Rank4] = 26; Bonus[Rank5] = 77; Bonus[Rank6] = 154; Bonus[Rank7] = 256; // pawn hash-table for (ThreadId = 0; ThreadId < NumberThreads; ThreadId++){ Pawn[ThreadId]->size = 0; Pawn[ThreadId]->mask = 0; Pawn[ThreadId]->table = NULL; } }
void pawn_init() { int rank; // UCI options pawn_parameter(); // bonus for (rank = 0; rank < RankNb; rank++) Bonus[rank] = 0; Bonus[Rank4] = 26; Bonus[Rank5] = 77; Bonus[Rank6] = 154; Bonus[Rank7] = 256; // pawn hash-table Pawn->size = 0; Pawn->mask = 0; Pawn->table = NULL; }