MCPcopy Index your code
hub / github.com/NetHack/NetHack / verbalize

Function verbalize

src/pline.c:475–490  ·  view source on GitHub ↗

Print a message inside double-quotes. * The caller is responsible for checking deafness. * Gods can speak directly to you in spite of deafness. */

Source from the content-addressed store, hash-verified

473 * Gods can speak directly to you in spite of deafness.
474 */
475void
476verbalize(const char *line, ...)
477{
478 va_list the_args;
479 char *tmp;
480
481 va_start(the_args, line);
482 gp.pline_flags |= PLINE_VERBALIZE;
483 tmp = You_buf((int) strlen(line) + sizeof "\"\"");
484 Strcpy(tmp, "\"");
485 Strcat(tmp, line);
486 Strcat(tmp, "\"");
487 vpline(tmp, the_args);
488 gp.pline_flags &= ~PLINE_VERBALIZE;
489 va_end(the_args);
490}
491
492#ifdef CHRONICLE
493

Callers 15

finish_questFunction · 0.85
prisoner_speaksFunction · 0.85
mplayer_talkFunction · 0.85
throne_sit_effectFunction · 0.85
do_mgivennameFunction · 0.85
djinni_from_bottleFunction · 0.85
mhitm_ad_healFunction · 0.85
mhitm_ad_dgstFunction · 0.85
mcast_summon_monsFunction · 0.85
level_teleFunction · 0.85
begFunction · 0.85
domonnoiseFunction · 0.85

Calls 2

You_bufFunction · 0.85
vplineFunction · 0.85

Tested by

no test coverage detected