| 21 | } |
| 22 | |
| 23 | void ItemFilter::clear() { |
| 24 | min_quality = df::item_quality::Ordinary; |
| 25 | max_quality = default_max_quality; |
| 26 | decorated_only = false; |
| 27 | mat_mask.whole = 0; |
| 28 | materials.clear(); |
| 29 | } |
| 30 | |
| 31 | bool ItemFilter::isEmpty() const { |
| 32 | return min_quality == df::item_quality::Ordinary |
no outgoing calls
no test coverage detected