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

Function tty_nhbell

outdated/sys/mac/mactty.c:328–339  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

326}
327
328void
329tty_nhbell(void)
330{
331 Handle h = GetNamedResource('snd ', "\pNetHack Bell");
332
333 if (h) {
334 HLock(h);
335 SndPlay((SndChannelPtr) 0, (SndListHandle) h, 0);
336 ReleaseResource(h);
337 } else
338 SysBeep(30);
339}
340
341/*
342 * Fill in some fields from some other fields that may have changed

Callers 1

do_controlFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected