MCPcopy Create free account
hub / github.com/DFHack/dfhack / empty

Method empty

plugins/tiletypes.cpp:269–275  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

267 }
268
269 bool empty()
270 {
271 return shape == -1 && material == -1 && special == -1 && variant == -1
272 && dig == -1 && hidden == -1 && light == -1 && subterranean == -1
273 && skyview == -1 && aquifer == -1 && autocorrect == 0
274 && stone_material == -1;
275 }
276
277 inline bool matches(const df::tiletype source,
278 const df::tile_designation des,

Callers 15

mainFunction · 0.45
df_liquidsFunction · 0.45
get_depot_coordsFunction · 0.45
get_pathability_groupsFunction · 0.45
wagon_floodFunction · 0.45
ToReadableLabelMethod · 0.45
setItemFromNameFunction · 0.45
autoclothingFunction · 0.45
do_autoclothingFunction · 0.45
generate_controlFunction · 0.45
set_farmsMethod · 0.45
place_orphanMethod · 0.45

Calls

no outgoing calls

Tested by 6

scan_backMethod · 0.36
scan_forwardMethod · 0.36
get_dwarf_bucketsFunction · 0.36
add_bucket_to_vectorsFunction · 0.36
add_bucketFunction · 0.36
follow_a_dwarfFunction · 0.36