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

Function You_hear

src/pline.c:435–452  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

433}
434
435void
436You_hear(const char *line, ...)
437{
438 va_list the_args;
439 char *tmp;
440
441 if ((Deaf && !Unaware) || !flags.acoustics)
442 return;
443 va_start(the_args, line);
444 if (Underwater)
445 YouPrefix(tmp, "You barely hear ", line);
446 else if (Unaware)
447 YouPrefix(tmp, "You dream that you hear ", line);
448 else
449 YouPrefix(tmp, "You hear ", line); /* Deaf-aware */
450 vpline(strcat(tmp, line), the_args);
451 va_end(the_args);
452}
453
454void
455You_see(const char *line, ...)

Callers 15

mhitm_ad_cursFunction · 0.85
mhitm_ad_stonFunction · 0.85
mcast_insectsFunction · 0.85
boulder_hits_poolFunction · 0.85
flooreffectsFunction · 0.85
dosinkringFunction · 0.85
goto_levelFunction · 0.85
revive_corpseFunction · 0.85
beehive_mon_soundFunction · 0.85
dosoundsFunction · 0.85
were_changeFunction · 0.85
moverock_coreFunction · 0.85

Calls 1

vplineFunction · 0.85

Tested by

no test coverage detected