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

Function encglyph

src/windows.c:1427–1434  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1425}
1426
1427char *
1428encglyph(int glyph)
1429{
1430 static char encbuf[20]; /* 10+1 would suffice */
1431
1432 Sprintf(encbuf, "\\G%04X%04X", svc.context.rndencode, glyph);
1433 return encbuf;
1434}
1435
1436/* hexdd[] is defined in decl.c */
1437

Callers 6

do_statusline2Function · 0.85
botl.cFile · 0.85
do_screen_descriptionFunction · 0.85
look_allFunction · 0.85
look_trapsFunction · 0.85
look_engrsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected