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

Function write_thintile

win/share/thintile.c:84–99  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

82}
83
84static void
85write_thintile()
86{
87 int i, j;
88
89 Fprintf(outfile, "%s\n", comment);
90 Fprintf(outfile, "{\n");
91 for (j = 0; j < TILE_Y; j++) {
92 Fprintf(outfile, " ");
93 for (i = 0; i < TILE_X; i += 2) {
94 (void) fputc(pixels[j][i], outfile);
95 }
96 Fprintf(outfile, "\n");
97 }
98 Fprintf(outfile, "}\n");
99}
100int
101main(argc, argv)
102int argc;

Callers 1

mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected