Subversion Repositories Games.Chess Giants

Rev

Rev 154 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 154 Rev 156
Line 544... Line 544...
544
  A5, B5, C5, D5, E5, F5, G5, H5,   /* white */
544
  A5, B5, C5, D5, E5, F5, G5, H5,   /* white */
545
  A6, B6, C6, D6, E6, F6, G6, H6,
545
  A6, B6, C6, D6, E6, F6, G6, H6,
546
  A7, B7, C7, D7, E7, F7, G7, H7,
546
  A7, B7, C7, D7, E7, F7, G7, H7,
547
  A8, B8, C8, D8, E8, F8, G8, H8}
547
  A8, B8, C8, D8, E8, F8, G8, H8}
548
};
548
};
549
const int rank1[2] = {RANK8, RANK1};
549
const int rank1[2] = {RANK8, RANK1};
550
const int rank2[2] = {RANK7, RANK2};
550
const int rank2[2] = {RANK7, RANK2};
551
const int rank3[2] = {RANK6, RANK3};
551
const int rank3[2] = {RANK6, RANK3};
552
const int rank4[2] = {RANK5, RANK4};
552
const int rank4[2] = {RANK5, RANK4};
553
const int rank5[2] = {RANK4, RANK5};
553
const int rank5[2] = {RANK4, RANK5};
554
const int rank6[2] = {RANK3, RANK6};
554
const int rank6[2] = {RANK3, RANK6};
555
const int rank7[2] = {RANK2, RANK7};
555
const int rank7[2] = {RANK2, RANK7};
556
const int rank8[2] = {RANK1, RANK8};
556
const int rank8[2] = {RANK1, RANK8};
Line 574... Line 574...
574
const int capright[2] = {+7, -9};
574
const int capright[2] = {+7, -9};
575
const char empty_sqs[9] = {0, '1', '2', '3', '4', '5', '6', '7', '8'};
575
const char empty_sqs[9] = {0, '1', '2', '3', '4', '5', '6', '7', '8'};
576
const int pcval[7] = {0, 100, 300, 300, 500, 900, 9900};
576
const int pcval[7] = {0, 100, 300, 300, 500, 900, 9900};
577
const int p_vals[7] = {0, 1, 3, 3, 5, 9, 99};
577
const int p_vals[7] = {0, 1, 3, 3, 5, 9, 99};
578
const int MVV_LVA[7][7] = {
578
const int MVV_LVA[7][7] = {
579
    {0,  5<<21,  4<<21,  4<<21,  3<<21,  2<<21,  1<<21},
579
    {0,  5<<21,  4<<21,  4<<21,  3<<21,  2<<21,  1<<21},
580
    {0, 10<<21,  9<<21,  9<<21,  8<<21,  7<<21,  6<<21},
580
    {0, 10<<21,  9<<21,  9<<21,  8<<21,  7<<21,  6<<21},
581
    {0, 15<<21, 14<<21, 14<<21, 13<<21, 12<<21, 11<<21},
581
    {0, 15<<21, 14<<21, 14<<21, 13<<21, 12<<21, 11<<21},
582
    {0, 15<<21, 14<<21, 14<<21, 13<<21, 12<<21, 11<<21},
582
    {0, 15<<21, 14<<21, 14<<21, 13<<21, 12<<21, 11<<21},
583
    {0, 20<<21, 19<<21, 19<<21, 18<<21, 17<<21, 16<<21},
583
    {0, 20<<21, 19<<21, 19<<21, 18<<21, 17<<21, 16<<21},
584
    {0, 25<<21, 24<<21, 24<<21, 23<<21, 22<<21, 21<<21},
584
    {0, 25<<21, 24<<21, 24<<21, 23<<21, 22<<21, 21<<21},