Searched refs:chainsum (Results 1 – 1 of 1) sorted by relevance
121 inT32 chainsum; //sum of chain diffs in check_path_legal() local126 chainsum = 0; //sum of chain codes in check_path_legal()138 chainsum += chaindiff; //sum differences in check_path_legal()145 if ((chainsum != 4 && chainsum != -4) in check_path_legal()157 chainsum); in check_path_legal()162 return chainsum < 0 ? ScrollView::BLUE : ScrollView::RED; in check_path_legal()