| 2254 | } |
| 2255 | |
| 2256 | staticfn boolean |
| 2257 | hilite_reset_needed( |
| 2258 | struct istat_s *bl_p, |
| 2259 | long augmented_time) /* no longer augmented; it once encoded fractional |
| 2260 | * amounts for multiple moves within same turn */ |
| 2261 | { |
| 2262 | /* |
| 2263 | * This 'multi' handling may need some tuning... |
| 2264 | */ |
| 2265 | if (gm.multi) |
| 2266 | return FALSE; |
| 2267 | |
| 2268 | if (!Is_Temp_Hilite(bl_p->hilite_rule)) |
| 2269 | return FALSE; |
| 2270 | |
| 2271 | if (bl_p->time == 0 || bl_p->time >= augmented_time) |
| 2272 | return FALSE; |
| 2273 | |
| 2274 | return TRUE; |
| 2275 | } |
| 2276 | |
| 2277 | /* called from moveloop(); sets context.botl if temp hilites have timed out */ |
| 2278 | void |
no outgoing calls
no test coverage detected