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

Function tile_forget_map

crawl-ref/source/tileview.cc:955–964  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

953}
954
955void tile_forget_map(const coord_def &gc)
956{
957 tile_env.bk_fg(gc) = 0;
958 tile_env.bk_bg(gc) = 0;
959 tile_env.bk_cloud(gc) = 0;
960 // This may have changed the explore horizon, so update adjacent minimap
961 // squares as well.
962 for (adjacent_iterator ai(gc, false); ai; ++ai)
963 tiles.update_minimap(*ai);
964}
965
966static void _tile_place_item(const coord_def &gc, const item_def &item,
967 bool more_items)

Callers 3

_abyss_wipe_square_atFunction · 0.85
forget_mapFunction · 0.85
_forget_mapFunction · 0.85

Calls 1

update_minimapMethod · 0.45

Tested by

no test coverage detected