| 277 | void setGoalCount(int v) { config.ival(0) = v; } |
| 278 | |
| 279 | int goalGap() { |
| 280 | int cval = (config.ival(1) <= 0) ? std::min(5,goalCount()/2) : config.ival(1); |
| 281 | return std::max(1, std::min(goalCount()-1, cval)); |
| 282 | } |
| 283 | void setGoalGap(int v) { config.ival(1) = v; } |
| 284 | |
| 285 | bool goalByCount() { return config.ival(2) & 1; } |
no test coverage detected