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

Function deferred_exclude_update

crawl-ref/source/exclude.cc:471–478  ·  view source on GitHub ↗

Catch up exclude updates from set_exclude with defer_updates=true. Warning: For tiles, this assumes all changed exclude centres are still there, so this won't work as is for del_exclude.

Source from the content-addressed store, hash-verified

469// are still there, so this won't work as is for
470// del_exclude.
471void deferred_exclude_update()
472{
473 _exclude_update();
474#ifdef USE_TILE
475 for (const auto &entry : curr_excludes)
476 _tile_exclude_gmap_update(entry.second.pos);
477#endif
478}
479
480void clear_excludes()
481{

Callers 1

player_view_updateFunction · 0.85

Calls 2

_exclude_updateFunction · 0.85

Tested by

no test coverage detected