MCPcopy Create free account
hub / github.com/crawl/crawl / delete_all_clouds

Function delete_all_clouds

crawl-ref/source/cloud.cc:695–705  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

693}
694
695void delete_all_clouds()
696{
697 // We can't iterate over env.cloud directly because delete_cloud
698 // will remove this cloud and invalidate our iterator.
699 vector<coord_def> cloud_locs;
700 for (auto& entry : env.cloud)
701 cloud_locs.push_back(entry.first);
702
703 for (auto pos : cloud_locs)
704 delete_cloud(pos);
705}
706
707// The current use of this function is for shifting in the abyss, so
708// that clouds get moved along with the rest of the map.

Callers 4

cloud.ccFile · 0.85
update_levelFunction · 0.85
generate_levelFunction · 0.85
load_levelFunction · 0.85

Calls 2

delete_cloudFunction · 0.85
push_backMethod · 0.45

Tested by

no test coverage detected