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

Method manage_groups

plugins/channel-safely/channel-manager.cpp:39–48  ·  view source on GitHub ↗

sets mark flags as necessary, for all designations

Source from the content-addressed store, hash-verified

37
38// sets mark flags as necessary, for all designations
39void ChannelManager::manage_groups() {
40 INFO(manager).print("manage_groups()\n");
41 // make sure we've got a fort map to analyze
42 if (World::isFortressMode() && Maps::IsValid()) {
43 // iterate the groups we built/updated
44 for (const auto &group: groups) {
45 manage_group(group, true, has_any_groups_above(groups, group));
46 }
47 }
48}
49
50void ChannelManager::manage_group(const df::coord &map_pos, bool set_marker_mode, bool marker_mode) {
51 INFO(manager).print("manage_group(" COORD ")\n ", COORDARGS(map_pos));

Callers 1

UnpauseEventFunction · 0.80

Calls 2

has_any_groups_aboveFunction · 0.85
printMethod · 0.45

Tested by

no test coverage detected