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

Function Is_special

src/dungeon.c:1447–1457  ·  view source on GitHub ↗

is this level referenced in the special level chain? */

Source from the content-addressed store, hash-verified

1445#ifndef SFCTOOL
1446/* is this level referenced in the special level chain? */
1447s_level *
1448Is_special(d_level *lev)
1449{
1450 s_level *levtmp;
1451
1452 for (levtmp = svs.sp_levchn; levtmp; levtmp = levtmp->next)
1453 if (on_level(lev, &levtmp->dlevel))
1454 return levtmp;
1455
1456 return (s_level *) 0;
1457}
1458
1459/*
1460 * Is this a multi-dungeon branch level? If so, return a pointer to the

Callers 14

onquestFunction · 0.85
no_bones_levelFunction · 0.85
wiz_map_levltypFunction · 0.85
induced_alignFunction · 0.85
print_mapseenFunction · 0.85
nameshkFunction · 0.85
stock_roomFunction · 0.85
set_bonesfile_nameFunction · 0.85
align_shiftFunction · 0.85
dissolve_barsFunction · 0.85
makelevelFunction · 0.85
mineralizeFunction · 0.85

Calls 1

on_levelFunction · 0.85

Tested by

no test coverage detected