X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fmaterial.cpp;h=69588c8cd597f79c8413bed432b13f2ebeecb2b4;hp=9195880af4ccf5ffadd1abba7a226567007013b0;hb=5c81602d14539f8259a715477315e28b5de7cb54;hpb=3ed603cd64624d27de3f3f6e8f4e5dfccaaed420 diff --git a/src/material.cpp b/src/material.cpp index 9195880a..69588c8c 100644 --- a/src/material.cpp +++ b/src/material.cpp @@ -1,7 +1,7 @@ /* Stockfish, a UCI chess playing engine derived from Glaurung 2.1 Copyright (C) 2004-2008 Tord Romstad (Glaurung author) - Copyright (C) 2008 Marco Costalba + Copyright (C) 2008-2009 Marco Costalba Stockfish is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -90,7 +90,7 @@ MaterialInfoTable::MaterialInfoTable(unsigned int numOfEntries) { { std::cerr << "Failed to allocate " << (numOfEntries * sizeof(MaterialInfo)) << " bytes for material hash table." << std::endl; - exit(EXIT_FAILURE); + Application::exit_with_failure(); } clear(); } @@ -342,6 +342,8 @@ EndgameFunctions::EndgameFunctions() { add("KRKRP", BLACK, &ScaleKRKRP); add("KBPKB", WHITE, &ScaleKBPKB); add("KBKBP", BLACK, &ScaleKBKBP); + add("KBPPKB", WHITE, &ScaleKBPPKB); + add("KBKBPP", BLACK, &ScaleKBKBPP); add("KBPKN", WHITE, &ScaleKBPKN); add("KNKBP", BLACK, &ScaleKNKBP); add("KRPPKRP", WHITE, &ScaleKRPPKRP);