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

Function dump_add_menu

src/windows.c:1327–1344  ·  view source on GitHub ↗

ARGSUSED*/

Source from the content-addressed store, hash-verified

1325
1326/*ARGSUSED*/
1327staticfn void
1328dump_add_menu(winid win UNUSED,
1329 const glyph_info *glyphinfo,
1330 const anything *identifier UNUSED,
1331 char ch,
1332 char gch UNUSED,
1333 int attr UNUSED,
1334 int clr UNUSED,
1335 const char *str,
1336 unsigned int itemflags UNUSED)
1337{
1338 if (dumplog_file) {
1339 if (glyphinfo->glyph == NO_GLYPH)
1340 fprintf(dumplog_file, " %s\n", str);
1341 else
1342 fprintf(dumplog_file, " %c - %s\n", ch, str);
1343 }
1344}
1345
1346/*ARGSUSED*/
1347staticfn void

Callers

nothing calls this directly

Calls 1

fprintfFunction · 0.85

Tested by

no test coverage detected