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

Function print_level_annotation

src/dungeon.c:2488–2495  ·  view source on GitHub ↗

print the annotation for the current level, if it exists */

Source from the content-addressed store, hash-verified

2486
2487/* print the annotation for the current level, if it exists */
2488void
2489print_level_annotation(void)
2490{
2491 const char *annotation;
2492
2493 if ((annotation = get_annotation(&u.uz)) != 0)
2494 You("remember this level as %s.", annotation);
2495}
2496
2497/* ask user to annotate level lev.
2498 if lev is NULL, uses current level. */

Callers 2

welcomeFunction · 0.85
goto_levelFunction · 0.85

Calls 2

get_annotationFunction · 0.85
YouFunction · 0.85

Tested by

no test coverage detected