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

Method init

crawl-ref/source/viewmap.cc:418–426  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

416
417public:
418 void init()
419 {
420 for (vector<cglyph_t> &groupdata : data)
421 groupdata.clear();
422 for (rectangle_iterator ri(0); ri; ++ri)
423 maybe_add(*ri);
424 for (vector<cglyph_t> &groupdata : data)
425 sort(begin(groupdata), end(groupdata), _comp_glyphs);
426 }
427
428 formatted_string format() const
429 {

Callers 2

goto_levelMethod · 0.45
process_map_commandFunction · 0.45

Calls 2

endFunction · 0.85
clearMethod · 0.45

Tested by

no test coverage detected