| 14 | using namespace DFHack; |
| 15 | |
| 16 | BuildingTypeKey DefaultItemFilters::getKey(PersistentDataItem &filter_config) { |
| 17 | return BuildingTypeKey( |
| 18 | (df::building_type)filter_config.get_int(FILTER_CONFIG_TYPE), |
| 19 | filter_config.get_int(FILTER_CONFIG_SUBTYPE), |
| 20 | filter_config.get_int(FILTER_CONFIG_CUSTOM)); |
| 21 | } |
| 22 | |
| 23 | static int get_max_quality(const df::job_item *jitem) { |
| 24 | if (jitem->flags2.bits.building_material || |
nothing calls this directly
no test coverage detected