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

Function _tile_exclude_gmap_update

crawl-ref/source/exclude.cc:439–447  ·  view source on GitHub ↗

update Gmap for squares surrounding exclude centre

Source from the content-addressed store, hash-verified

437#ifdef USE_TILE
438// update Gmap for squares surrounding exclude centre
439static void _tile_exclude_gmap_update(const coord_def &p)
440{
441 for (int x = -8; x <= 8; x++)
442 for (int y = -8; y <= 8; y++)
443 {
444 const coord_def pc(p.x + x, p.y + y);
445 tiles.update_minimap(pc);
446 }
447}
448#endif
449
450static void _exclude_update()

Callers 3

_exclude_updateFunction · 0.85
deferred_exclude_updateFunction · 0.85
clear_excludesFunction · 0.85

Calls 1

update_minimapMethod · 0.45

Tested by

no test coverage detected