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

Function new_light_source

src/light.c:61–65  ·  view source on GitHub ↗

Create a new light source. Caller (and extern.h) doesn't need to know anything about type 'light_source'. */

Source from the content-addressed store, hash-verified

59/* Create a new light source. Caller (and extern.h) doesn't need to know
60 anything about type 'light_source'. */
61void
62new_light_source(coordxy x, coordxy y, int range, int type, anything *id)
63{
64 (void) new_light_core(x, y, range, type, id);
65}
66
67/* Create a new light source and return it. Only used within this file. */
68staticfn light_source *

Callers 7

begin_burnFunction · 0.85
polyselfFunction · 0.85
replmonFunction · 0.85
newchamFunction · 0.85
clone_monFunction · 0.85
makemonFunction · 0.85
create_monsterFunction · 0.85

Calls 1

new_light_coreFunction · 0.85

Tested by

no test coverage detected