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

Function visible

crawl-ref/source/webserver/game_data/static/map_knowledge.js:40–48  ·  view source on GitHub ↗
(cell)

Source from the content-addressed store, hash-verified

38 }
39
40 function visible(cell)
41 {
42 if (cell.t)
43 {
44 cell.t.bg = enums.prepare_bg_flags(cell.t.bg || 0);
45 return !cell.t.bg.UNSEEN && !cell.t.bg.MM_UNSEEN;
46 }
47 return false;
48 }
49
50 function touch(x, y)
51 {

Callers 4

update_cloud_stateMethod · 0.85
initialise_fireMethod · 0.85
do_fireMethod · 0.85
affect_playerMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected