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

Function exportascii_sfo_coordxy

util/sfexpasc.c:492–501  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

490}
491
492void
493exportascii_sfo_coordxy(NHFILE *nhfp, coordxy *d_coordxy, const char *myname UNUSED)
494{
495 short tmp;
496
497 tmp = (short) *d_coordxy;
498 Sprintf(outbuf, "%hu", tmp);
499 put_savefield(nhfp, outbuf, sizeof outbuf);
500 d_coordxy++;
501}
502
503
504void

Callers

nothing calls this directly

Calls 1

put_savefieldFunction · 0.85

Tested by

no test coverage detected