MCPcopy Create free account
hub / github.com/NetHack/NetHack / On_W_tower_level

Function On_W_tower_level

src/dungeon.c:1913–1919  ·  view source on GitHub ↗

is `lev' a level containing the Wizard's tower? */

Source from the content-addressed store, hash-verified

1911
1912/* is `lev' a level containing the Wizard's tower? */
1913boolean
1914On_W_tower_level(d_level *lev)
1915{
1916 return (boolean) (Is_wiz1_level(lev)
1917 || Is_wiz2_level(lev)
1918 || Is_wiz3_level(lev));
1919}
1920
1921/* is <x,y> of `lev' inside the Wizard's tower? */
1922boolean

Callers 9

scrollteleFunction · 0.85
rloc_pos_okFunction · 0.85
rlocoFunction · 0.85
goto_levelFunction · 0.85
wiz_map_levltypFunction · 0.85
u_on_rndspotFunction · 0.85
In_W_towerFunction · 0.85
mm_2way_aggressionFunction · 0.85
m_teleFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected