| 306 | |
| 307 | |
| 308 | auto compare_future_tricks(FutureTricks * fut, int handno, int solutions) -> bool |
| 309 | { |
| 310 | if (solutions == 2) |
| 311 | { |
| 312 | if (fut->cards != cards_solutions2_[handno]) |
| 313 | return false; |
| 314 | } |
| 315 | else if (fut->cards != cards_solutions3_[handno]) |
| 316 | return false; |
| 317 | |
| 318 | for (int i = 0; i < fut->cards; i++) |
| 319 | { |
| 320 | if (fut->suit [i] != card_suits_ [handno][i]) return false; |
| 321 | if (fut->rank [i] != card_ranks_ [handno][i]) return false; |
| 322 | if (fut->equals[i] != card_equals_[handno][i]) return false; |
| 323 | if (fut->score [i] != card_scores_[handno][i]) return false; |
| 324 | } |
| 325 | return true; |
| 326 | } |
| 327 | |
| 328 | |
| 329 | auto set_table(DdTableResults * table, int handno) -> void |