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

Function You_see

src/pline.c:454–469  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

452}
453
454void
455You_see(const char *line, ...)
456{
457 va_list the_args;
458 char *tmp;
459
460 va_start(the_args, line);
461 if (Unaware)
462 YouPrefix(tmp, "You dream that you see ", line);
463 else if (Blind) /* caller should have caught this... */
464 YouPrefix(tmp, "You sense ", line);
465 else
466 YouPrefix(tmp, "You see ", line);
467 vpline(strcat(tmp, line), the_args);
468 va_end(the_args);
469}
470
471/* Print a message inside double-quotes.
472 * The caller is responsible for checking deafness.

Callers 15

use_crystal_ballFunction · 0.85
dosinkringFunction · 0.85
run_regionsFunction · 0.85
hatch_eggFunction · 0.85
see_lamp_flickerFunction · 0.85
lantern_messageFunction · 0.85
burn_objectFunction · 0.85
read_engr_atFunction · 0.85
vamprisesFunction · 0.85
hideunderFunction · 0.85
pudding_merge_messageFunction · 0.85
trapeffect_fire_trapFunction · 0.85

Calls 1

vplineFunction · 0.85

Tested by

no test coverage detected