MCPcopy Index your code
hub / github.com/NetHack/NetHack / has_ceiling

Function has_ceiling

src/dungeon.c:1689–1698  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1687}
1688
1689boolean
1690has_ceiling(d_level *lev)
1691{
1692 /* FIXME: some (most? all?) of the quest home levels are conceptually
1693 above ground and don't have ceilings outside of their buildings
1694 but we don't presently check for that */
1695 if (In_endgame(lev) && !Is_earthlevel(lev))
1696 return FALSE;
1697 return TRUE;
1698}
1699
1700boolean
1701avoid_ceiling(d_level *lev)

Callers 11

peffect_levitationFunction · 0.85
Boots_offFunction · 0.85
toss_upFunction · 0.85
dohideFunction · 0.85
avoid_ceilingFunction · 0.85
sanity_check_single_monFunction · 0.85
m_in_airFunction · 0.85
restrapFunction · 0.85
immune_to_trapFunction · 0.85
attributes_enlightenmentFunction · 0.85
seffect_earthFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected