00001 /* pieceCost.cc 00002 */ 00003 #include "osl/checkmate/pieceCost.h" 00004 00005 namespace osl 00006 { 00007 const CArray<signed char, PTYPE_SIZE> checkmate:: 00008 PieceCost::attack_sacrifice_cost = 00009 {{ 00010 0, 0, // empty, edge 00011 1, 2, 2, 2, // ppawn - psilver 00012 4, 4, // pbishop, prook 00013 0, 4, // king, gold 00014 1, 2, 2, 2, 00015 3, 3, 00016 }}; 00017 } // namespace osl 00018 00019 /* ------------------------------------------------------------------------- */ 00020 // ;;; Local Variables: 00021 // ;;; mode:c++ 00022 // ;;; c-basic-offset:2 00023 // ;;; End: